[openstreetmap/openstreetmap-website] Multi Fetch GET with /full option? (#2348)

Bryan Housel notifications at github.com
Mon Aug 12 16:51:56 UTC 2019


Per https://github.com/openstreetmap/iD/issues/6668#issuecomment-520489274
iD is using the [Multi Fetch GET](https://wiki.openstreetmap.org/wiki/API_v0.6#Multi_fetch:_GET_.2Fapi.2F0.6.2F.5Bnodes.7Cways.7Crelations.5D.3F.23parameters) API call in a few situations to fetch ways and relations:
- downloading additional member ways for correct handling of multipolygons, routes, etc.
- checking and dealing with error 409 conflicts at save time

Unfortunately we need to still perform more calls after this to get all the related nodes (and this can be a lot of nodes).

It would be really great if we could have a version of this call that works like the [`/full` Single Fetch GET call](https://wiki.openstreetmap.org/wiki/API_v0.6#Full:_GET_.2Fapi.2F0.6.2F.5Bway.7Crelation.5D.2F.23id.2Ffull) that returns all the related nodes in the response.

cc @mmd-osm 



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2348
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190812/55e16836/attachment.html>


More information about the rails-dev mailing list