Rob<br>Great stuff!<br><br>Do you envisage making the appearance of the grid controllable from the rules file?<br><br>The user could then choose their own CSS style and interval.  Something like this:<br><br><rules grid="yes" grid-class="feint-lines" horizontal="1000" vertical="1000" ...
<br>  <br>Etienne<br><br><br><div><span class="gmail_quote">On 9/16/06, <b class="gmail_sendername">Robert Hart</b> <<a href="mailto:Robert.Hart@burohappold.com">Robert.Hart@burohappold.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Folks,<br><br>I've been having a look through the osmarender code. Attached patch does<br>following:<br><br>1. Calculate $projection automatically from latitude. Unfortunately I live<br>at a latitude where the current default is almost exactly correct. I'd
<br>appreciate feedback from people who are used to maps where 1.6 is obviously<br>wrong, and from people in the southern hemisphere (if there are any)<br><br>2. Correct the length of the 1km scale. This was out by a factor of
<br>$projection. (because although it's drawn horizontally, it's length is<br>calculated using latitudes)<br><br>3. Tweak the appearance of the scale to show subdivisions. Any objections?<br><br>4. Add a template to draw a 1km grid over the map. This is commented out by
<br>default, as I don't think everybody will want this, and it needs to be a bit<br>smarter. Consider it a work in progress.<br><br>Maybe I should have split this up into separate patches as they are all<br>independent. It's late now though.
<br><br>Rob<br><br><br><br>_______________________________________________<br>dev mailing list<br><a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br><a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev">
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev</a><br><br><br><br></blockquote></div><br>