[Tilesathome] ROMA problems with relations

Florian Lohoff flo at rfc822.org
Wed Sep 3 12:03:42 BST 2008


On Wed, Sep 03, 2008 at 12:20:03PM +0200, Dirk-Lüder Kreie wrote:
> Jiri Klement schrieb:
> >Hi,
> >
> >ROMA seems to have some trouble with relations. For example this url:
> >wget -O osm.out
> >http://tiles-one.lab.rfc822.org/map?bbox=15.617221621033822,49.50652463978098,15.620048167282368,49.5089752414545
> >should return way and multipolygon relation. Only way is returned.



> >Another example is:
> >get -O osm.out 
> >"http://tiles-one.lab.rfc822.org/map?bbox=15.417221621033822,49.50652463978098,15.620048167282368,49.5089752414545"
> >It returns relation 25700, which contains ways 26077040 and 26077047.
> >But way 26077040 is not included in downloaded file.

This might be correct as not all members of relations will be returned
by the API too - only onces which have nodes in the bbox.
 
> I'm not sure how the ROMA handles relations. It's not trivial because 
> they usually are 2 levels of indirection away from nodes (which you get 
> from bbox), and some even more.

Okay - i look for relations by nodes and ways found in the bbox - all
relations where those are members should be returned. Additionally i
look for relations where the former relations participate as a member.
That should be the rails port behaviour. It might be that it has bugs
though.

Okay - had a look - ROMA bug ... I check the code - the mirror database
has the relation and the members.

Flo
-- 
Florian Lohoff                  flo at rfc822.org             +49-171-2280134
	Those who would give up a little freedom to get a little 
          security shall soon have neither - Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20080903/27b89514/attachment.pgp>


More information about the Tilesathome mailing list