TransforMap / data.transformap.co

Here you find a Node.js daemon to serve the public TransforMap web service.
https://data.transformap.co
GNU Affero General Public License v3.0
7 stars 2 forks source link

Add filter API endpoint #35

Closed species closed 7 years ago

species commented 8 years ago

A big feature we need is filtering according to attributes. So we need an endpoint that allows filtering the whole DB based on attributes, (similar functionality to the Overpass API of OpenStreetMap). Endpoint can be called "filter/" or similar.

Takes: one or more attributes (key=value) - they should be treated as AND-combined criteria.

Returns: all items as geojson Feature Collection.

species commented 7 years ago

Basic support for querying (a single key=value or key) added in 5883bf60d7d40c75c9f632182eb063962e5ac8bb in branch tag-index.

Caveat: no unit tests yet.

Waiting merge of dokku branch for a PR to master.

almereyda commented 7 years ago

Closed via #40.