Skip to content

Instantly share code, notes, and snippets.

@perrygeo
Created June 23, 2023 12:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save perrygeo/e408afa2875ab9591fb3ae96a88220d7 to your computer and use it in GitHub Desktop.
Save perrygeo/e408afa2875ab9591fb3ae96a88220d7 to your computer and use it in GitHub Desktop.
Convert Open Street Map data into TileDB arrays
# Using osm.pbf extracts from https://download.geofabrik.de/index.html
# Requires GDAL 3.7+ with the TileDB driver
ogr2ogr -f TileDB ./dc-lines district-of-columbia-latest.osm.pbf lines
ogr2ogr -f TileDB ./dc-points district-of-columbia-latest.osm.pbf points
ogr2ogr -f TileDB ./dc-polygons district-of-columbia-latest.osm.pbf multipolygons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment