eyeseast / geocode-sqlite

Geocode rows in a SQLite database table
Apache License 2.0
231 stars 6 forks source link

Save results as geojson? #22

Closed eyeseast closed 2 years ago

eyeseast commented 3 years ago

Right now, results are saved in two columns: latitude and longitude.

Now that datasette-geojson and datasette-geojson-map exist, it would be nice to have this plugin feed into those.

Maybe it's an option: sqlite-geocode data.db table ... --geojson

That would be backwards compatible at least.

eyeseast commented 2 years ago

Should this work differently if I'm using Spatialite? Probably worth following the pattern in geojson-to-sqlite, where using spatialite means geometry is saved as a binary blob and not means saving GeoJSON text.