[OSM-talk] Fetch whole relation when parts of it are in bbox

Robert (Jamie) Munro rjmunro at arjam.net
Mon Nov 5 11:25:07 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Frederik Ramm wrote:
> Hi,
> 
>> Wouldn't it be good if the server would give me the whole relation and
>> not only the parts that are inside the bbox?
> 
> As has been pointed out, this will hurt if someone creates a relation
> named after the country and puts everything in as a member ;-) or
> similar ideas.
> 
> We've just concluded in another thread that we want to add roles names
> "outer" and "inner" to multipoly relationships so the renderer would
> be able to tell that it has been given only "inner" rings without
> actually downloading the outer.

What is wrong with the clockwise / anticlockwise that we already use?
I.e. the colour represented by the area goes on the right? This
automatically tells you about inner/outer rings, and we don't need any
special tagging.

Something that may be nice is if the api could return ways whose
bounding boxes intersect with the bounding box have downloaded, even if
the way has no nodes inside the area. This would download any ring areas
around the area you are looking at, and it would also download straight
streets that crossed your area with no nodes in them.

Robert (Jamie) Munro
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHLv2Pz+aYVHdncI0RAi8FAJ0Z+WuRsnHZXQx9A25tlI6yyIz19QCfRuWY
nwhVsFT535ZcmcRJXyRwyQM=
=Nc/T
-----END PGP SIGNATURE-----




More information about the talk mailing list