[OSM-talk-nl] Geheime Alternatieve API server, features of PostGIS
Cartinus
cartinus at xs4all.nl
Thu Sep 4 02:16:19 UTC 2008
On Wednesday 03 September 2008 07:45:46 Stefan de Konink wrote:
> On Wed, 3 Sep 2008, Cartinus wrote:
> > On Tuesday 02 September 2008 21:28:53 Martijn van Oosterhout wrote:
> > > >> GET /api/0.5/<objtype>/<id>/full
> >
> > Deze gebruik ik altijd om te controleren of ik geen vreemde gaten in m'n
> > fietsrouterelaties heb zitten.
>
> Wat geeft /full meer dan zonder /full? (Hoeveel niveaus diep worden
> relaties opgestuurd?)
Zonder /full krijg je alleen de relatie zelf. Als je dat bestand opent in JOSM
zie je dus niets.
Met /full krijg je:
* the relation itself
* all nodes, ways, and relations that are members of the relation
* plus all nodes used by ways from the previous step.
The same recursive logic is not applied to relations. This means: If relation
r1 contains way w1 and relation r2, and w1 contains nodes n1 and n2, and r2
contains node n3, then a "full" request for r1 will give you r1, r2, w1, n1,
and n2. Not n3.
--
m.v.g.,
Cartinus
More information about the Talk-nl
mailing list