<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Perhaps a useful solution to this would be to return any area that
entirely surrounds the bounding box?<br>
<br>
I think I may have a SQL example of something similar somewhere<br>
<br>
Steve Coast wrote:
<blockquote cite="mid:065FA724-DE43-41D3-B1A8-FB687845B6A4@asklater.com"
type="cite">
<pre wrap="">On 3 Nov 2007, at 14:33, Robert (Jamie) Munro wrote:
</pre>
<blockquote type="cite">
<pre wrap="">-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jannis Achstetter wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello there,
I've got a problem with one specific tile:
<a class="moz-txt-link-freetext" href="http://www.informationfreeway.org/?lat=49.974240779456515&lon=9.44955088920595&zoom=12&layers=0B00F000">http://www.informationfreeway.org/?lat=49.974240779456515&lon=9.44955088920595&zoom=12&layers=0B00F000</a>
You see that "inverted" tile right in the middle? This is actually
not a
bug in osmarender but in the API as far as I can see. I looked at the
.osm-file it gets from the server and if I were the renderer I would
have drawn it pretty the same as you can see this now. The problem
is:
We do have a multipolygon-relation here with the outer area (more
than
1000 nodes) and some smaller areas which are no forests. Now I ask
the
API to give me the area and it does only return the smaller sub-
areas,
not the outer one (meaning: only a part of the relation). So, how
do I
know that these are no forests?
Wouldn't it be good if the server would give me the whole relation
and
not only the parts that are inside the bbox? Would this introduce any
problems for osmarender or other software?
Technically I think this will not be a too huge problem since the
server
returns a whole way when only a part of it is inside the requested
bbox,
so why can't we do the same with relations?
</pre>
</blockquote>
<pre wrap="">Because relations can be big. You don't want to download the whole M1
motorway from London to Leeds just because you are working near Brent
Cross shopping centre. Also, do you then download all the relations of
all of the ways that you have downloaded?
</pre>
</blockquote>
<pre wrap=""><!---->
That was the argument for not including all segments that were part of
a way which crosses a bounding box (that stopped in 0.4)
</pre>
<blockquote type="cite">
<pre wrap="">(personally, I think that returning all the nodes of a way even when
they are outside the bounding box is a bad idea unless you have
actually
asked for them).
</pre>
</blockquote>
<pre wrap=""><!---->
ah..
have fun,
SteveC | <a class="moz-txt-link-abbreviated" href="mailto:steve@asklater.com">steve@asklater.com</a> | <a class="moz-txt-link-freetext" href="http://www.asklater.com/steve/">http://www.asklater.com/steve/</a>
_______________________________________________
talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk</a>
</pre>
</blockquote>
<br>
</body>
</html>