On Thu, May 21, 2009 at 9:59 PM, Rob Reid <span dir="ltr"><<a href="mailto:rob@robreid.co.nz">rob@robreid.co.nz</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Adam Schreiber wrote the following on 22/05/2009 06:22:<br>
> Has there been any work in osmarender/tiles@home on handling<br>
> multipolygons larger than a Z12 tile? There's been an effort to<br>
> import US NHD data for water ways and bodies of water and often rivers<br>
> or lakes will cross tile boundaries causing problems like [1] [2].<br>
><br>
> Cheers,<br>
><br>
> Adam<br>
><br>
> [1] <a href="http://informationfreeway.org/?lat=34.782449752666295&lon=-82.76998792819016&zoom=13&layers=B0000F000F" target="_blank">http://informationfreeway.org/?lat=34.782449752666295&lon=-82.76998792819016&zoom=13&layers=B0000F000F</a><br>
> [2] <a href="http://informationfreeway.org/?lat=34.596345710140696&lon=-82.8900650353609&zoom=12&layers=B0000F000F" target="_blank">http://informationfreeway.org/?lat=34.596345710140696&lon=-82.8900650353609&zoom=12&layers=B0000F000F</a><br>
><br>
><br>
So far I've only looked at the first example above, but as far as I can<br>
tell the problem is that osmarender does not currently support<br>
multipolygons with multiple outer ways.<br>
In the first example above the river has 5 waterway=riverbank ways with<br>
a role of outer. Osmarender just sees these as 5 unclosed ways which is<br>
why the results are a bit haphazard.</blockquote><div><br>It might be helpful to only tag the relation with the waterway tags. That is my interpretation of the proposal for extended multipolygons and (I think) it is working so far for Mapnik. That's how I've been doing it up in Wisconsin for a few subbasins-worth of NHD data.<br>
<br>(<a href="http://openstreetmap.org/?lat=46.3943&lon=-89.1034&zoom=14&layers=B000FTF">http://openstreetmap.org/?lat=46.3943&lon=-89.1034&zoom=14&layers=B000FTF</a>)<br></div></div>