<div class="gmail_quote">On Sun, Dec 20, 2009 at 4:41 AM, Dave F. <span dir="ltr"><<a href="mailto:davefox@madasafish.com">davefox@madasafish.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This is looking useful.<br>
<br>
One thing it doesn't pick up on (& I'm not sure if it's possible) is to distinguish how a particular renderer deals with rendering areas.<br>
<br>
For instance pubs in Mapnik are rendered as POI's even if is mapped as an area:<br>
<br>
<a href="http://osm.org/go/eukOiNU7b--" target="_blank">http://osm.org/go/eukOiNU7b--</a><br>
<br></blockquote><div><br>I may be able to do something with this for some renderers...it depends.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
To check I understand:<br>
<br>
barrier=* means that any barrier tag should be rendered, yes?<br></blockquote><div><br>No. You can't perform trivial analysis of this kind and expect to reach conclusions about what will and won't be rendered. All it can really do is make guesses based on what tests the renderer is performing.<br>
<br>If "barrier=*" appears in the table for a renderer, all this means in practice is that the renderer performs a test as to whether the key is barrier, without immediately qualifying it with a value test in the same expression.<br>
<br>In this instance, Mapnik has the following style:<br> <Rule><br> &maxscale_zoom16;<br> <Filter>[barrier] <> '' and not [barrier] = 'hedge'</Filter><br> <LineSymbolizer><br>
<CssParameter name="stroke">black</CssParameter><br> <CssParameter name="stroke-width">0.4</CssParameter><br> </LineSymbolizer><br> </Rule><br>
<br>As I read that, Mapnik will draw any barrier that is not a hedge as a black line. But as pointed out, this presumably only applies to ways because it's a LineSymbolizer rather than a PointSymbolizer.<br><br>It looks possible to use the node/way/area distinction, but it will be difficult to avoid overloading the table with information.<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
How often does your list refresh?<br></blockquote><div><br>At my whim, atm. I don't have any infrastructure for doing it automatically, but I intend to publish the source in a way that someone else could easily re-run it, and then maybe it could be done on a regular basis.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Is it worth adding Cycle Map?<br></blockquote><div><br>Probably - I'll have a look. It's just a different stylesheet for Mapnik afaik, but that doesn't make it less useful.<br></div></div><br>Steve<br>