whosonfirst / go-whosonfirst-spatial-www

Opinionated web application for the go-whosonfirst-spatial packages.
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Add a /data handler to return WOF records from a whonsonfirst/go-reader interface #8

Closed thisisaaronland closed 3 years ago

thisisaaronland commented 3 years ago

Basically we need a way for the web application to fetch SPR records from the /point-in-polygon endpoint and then fetch the WOF GeoJSON records over the wire.

As of this writing the application defaults to requesting ?format=geojson records but these are often large and take to long to deliver. Better instead to do a quick PIP query and then inflate the records on the fly.

thisisaaronland commented 3 years ago

Use this:

https://github.com/whosonfirst/go-http-whosonfirst-data

thisisaaronland commented 3 years ago

This is no longer relevant following the use of whosonfirst/go-whosonfirst-spr-geojson.