Skip to content

Commit

Permalink
feat(parquet): add ogr support for parquet (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
missinglink authored Sep 25, 2024
1 parent 37bb0ef commit 003b97a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,10 @@ cat jsonstream | wof feature ogr example.shp --format='Esri Shapefile'
cat jsonstream | wof feature ogr example.gpkg --format='GPKG'
```

```bash
cat jsonstream | wof feature ogr example.parquet --format='Parquet'
```

see: https://gdal.org/programs/ogr2ogr.html

#### Feature Properties
Expand Down
2 changes: 1 addition & 1 deletion bin/cmd/feature/ogr.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function docker (argv) {
return stream.shell.duplex('docker', [
'run', '-i', '--rm',
'-v', `${path.dirname(path.resolve(process.cwd(), argv.dst))}:/work`,
'ghcr.io/osgeo/gdal:alpine-small-latest',
'ghcr.io/osgeo/gdal:alpine-normal-latest',
'ogr2ogr',
...flags(argv),
`/work/${path.basename(argv.dst)}`,
Expand Down

0 comments on commit 003b97a

Please sign in to comment.