Skip to content

Commit

Permalink
add sample load to parquet on s3
Browse files Browse the repository at this point in the history
  • Loading branch information
smnorris committed Nov 15, 2024
1 parent 6f4e34b commit eec6bcb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,11 @@ Save a layer to a geopackage in BC Albers:

Note that this will not work if the source data has mixed geometry types.

Load to parquet on s3:

$ bcdata cat bc-airports --dst-crs EPSG:3005 \
| ogr2ogr -f Parquet /vsis3/<bucket>/airports.parquet /vsistdin/

Load data to postgres and run a spatial query:

$ bcdata bc2pg bc-airports \
Expand Down
2 changes: 1 addition & 1 deletion bcdata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
raise Exception(f"Failed to download primary key database at {PRIMARY_KEY_DB_URL}")
primary_keys = {}

__version__ = "0.12.3"
__version__ = "0.12.4dev0"

0 comments on commit eec6bcb

Please sign in to comment.