[openstreetmap-website] Filtering the output of the `map` API endpoint (#124)

Matt Amos notifications at github.com
Thu Oct 11 23:31:15 GMT 2012

Maybe I haven't understood what you're trying to say, but wouldn't using a (j)XAPI instance work just as well?

Firstly, jXAPI already has the functionality to do nodes-only / ways-only queries, including filtering by tag. jXAPI also supports minutely updates so it's unlikely that the data will be seriously out of sync. It seems that duplicating this functionality in the core API would be of little benefit.

Secondly, the OSM representation of a POI could be any one of a node, way or relation with a bunch of different tags, so a limited editor for POIs would need to understand and deal with the complexity of these concepts anyway. For a POI editor it might be the case that a proxy API to translate between "limited" representations and the full OSM data model would be a better solution.

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20121011/976ca46e/attachment.html>

More information about the rails-dev mailing list