whosonfirst / go-whosonfirst-pip-v2

An in-memory point-in-polygon (reverse geocoding) package for GeoJSON data, principally Who's On First data.
BSD 3-Clause "New" or "Revised" License
11 stars 5 forks source link

Add a local/custom db.Table definition for properties #19

Closed thisisaaronland closed 6 years ago

thisisaaronland commented 6 years ago

So that we are only storing/retrieving properties rather than entire features (and their geometries)

The other alternative is to update the geojson table schema in go-whosonfirst-sqlite to store geometries and properties as separate columns/blobs but then it is always left as an exercise to the user to reconstruct the feature...