[Tilesathome] ROMA problems with relations
spaetz
osm at sspaeth.de
Wed Sep 3 10:41:36 BST 2008
On Wed, Sep 03, 2008 at 11:25:45AM +0200, Jiri Klement wrote:
> 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.
Could be (probably) a bug, but note that not even the main API returns all ways that are part of a relation that you fetch. It will only return those ways within your bbox of the relation, I think. Otherwise you get easily in trouble, as Germans would always fetch the whole Autobahn through Germany if they render only a z12. Or think of someone putting everything in Germany in a relation Germany, and then create a relation "EU" that contains all european countries. That would be a fun to download.
spaetz
More information about the Tilesathome
mailing list