On 10/7/06, <b class="gmail_sendername">OJW</b> <<a href="mailto:streetmap@blibbleblobble.co.uk">streetmap@blibbleblobble.co.uk</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Saturday 07 October 2006 11:02, SteveC wrote:<br>> Awsome<br>><br>> now if only this did map tiles....<br><br>Could be modified to render lat/long squares (just use a grid instead of the<br>city database). I'll put my PHP code onto SVN later if someone wants to try
<br>that on their own server.<br><br>How accurate are the edges of osmarendered images? If I download data from<br>latitude 50.1 to 50.2 and render it (using inkscape with the -D option to do<br>the entire drawing), is the bottom of the image guaranteed to represent
50.1N<br>exactly or is there overlap?</blockquote><div><br>When you grab data from the OSM server via the API it returns all segments that cross the specified bounding box. Osmarender, by default, calculates a new bounding box that includes all the segments returned from the API, so this is usually bigger than the area requested.
<br><br>The latest version of Osmarender provides a way of clipping the rendered result back to the original bounding box. This entails adding a <bounds> element to the .osm file. Ideally someone could change the API to include this element automatically.
<br><br>There are one or two other edge effects that might become apparent if trying to generate tiles using Osmarender, but I think they are relatively minor.<br><br>Etienne<br><br><br><br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Regards,<br><br>OJW<br><br>p.s. thanks to gagravarr, who's been testing the client and managed to render<br>251 maps last night:<br><br><a href="http://almien.co.uk/OSM/Places/?action=stats">http://almien.co.uk/OSM/Places/?action=stats
</a><br><br><br><br>_______________________________________________<br>talk mailing list<br><a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br><a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk">
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk</a><br><br><br><br></blockquote></div><br>