[openstreetmap/openstreetmap-website] Allow option to view child relations via parent (#2772)
notifications at github.com
Fri Aug 14 06:12:31 UTC 2020
Well waymarked trails is doing a map rendering, so it's working from a database that contains precomputed geometries created with osm2pgsql, not from an API database which has a rather different schema. It also doesn't do the hard work of resolving those relations in real time.
The biggest difference though is that it selects which relations to process, so it will complete ignore many of the biggest and most complex relations.
In a sense there is already a limited recursion option - that is the difference between the regular API call and the `/full` variant being used here. It's just that the depth limit is 0 or 1 and there's no option for anything more.
Certainly more recursion could be allowed but it would require an API change and changed both here and to the cgimap project that implements the production API.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev