[OSM-dev] Boundingboxing a relation/relation
Jon Burgess
jburgess777 at googlemail.com
Sat May 31 20:48:50 BST 2008
On Sat, 2008-05-31 at 21:04 +0200, Stefan de Konink wrote:
> Questions in the series: how to build your own api server.
>
> - What does 'visible' actually mean?
Deleted objects have visible=false. Normally deleted objects are not
returned by the API so users generally only get to see objects with
visible=false if they query the history for a deleted object.
>
> - How is a recursive relationship boundingboxed for a map request?
>
Yes, but only 1 level deep.
- All relations referencing the nodes and ways are returned
- Any relations referencing the ones above are also returned.
http://trac.openstreetmap.org/browser/sites/rails_port/app/controllers/api_controller.rb#L173
Jon
More information about the dev
mailing list