simonw / shapefile-to-sqlite

Load shapefiles into a SQLite (optionally SpatiaLite) database
Apache License 2.0
28 stars 4 forks source link

Source a nice small shapefile to ship as part of the unit tests #3

Closed simonw closed 4 years ago

simonw commented 4 years ago

I could create my own using Fiona.

simonw commented 4 years ago

Here's how to convert GeoJSON to Shapefile using the fio command that you get after you pip install Fiona:

$ fio load features.shp -f Shapefile feature-collection.geojson 
$ ls features.*
features.cpg    features.dbf    features.shp    features.shx
simonw commented 4 years ago

Did this: https://github.com/simonw/shapefile-to-sqlite/tree/e609800cadc7b21b9fedc92879346085a2cdb0ac/tests