<div class="gmail_quote">On Tue, May 10, 2011 at 7:33 AM, Nathan Edgars II <span dir="ltr"><<a href="mailto:neroute2@gmail.com">neroute2@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 5/10/2011 8:17 AM, Ian Dees wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
On Tue, May 10, 2011 at 7:06 AM, Nathan Edgars II <<a href="mailto:neroute2@gmail.com" target="_blank">neroute2@gmail.com</a><br></div><div class="im">
<mailto:<a href="mailto:neroute2@gmail.com" target="_blank">neroute2@gmail.com</a>>> wrote:<br>
It sounded to me like you were working on rendering with Mapnik. As I've<br>
mentioned several times, osm2pgsql creates linestrings for route<br>
relations, so all you need to do is apply the Mapnik rules to those<br>
route relation geometries.<br>
</div></blockquote>
<br>
I was playing around a bit with the shapefile support using the demo file and putting parts of osm.xml in, enough to see how shields are rendered. I was unable to get .osm support installed, and certainly can't start to do anything with osm2pgsql. I'm a data monkey rather than a code monkey.<br>
</blockquote></div><br><div>You don't need to do anything with osm2pgsql beyond run it. Just follow the Mapnik tutorial on the wiki. Something like this:</div><div><br></div><div>1) Install postgresql and postgis.</div>
<div>2) Create a postgis database</div><div>3) Grab an OSM file for the area you care about</div><div>4) Run osm2pgsql your-osm-file.osm</div><div>5) Start building mapnik rules to match the relations</div><div><br></div>
<div>I'm a data monkey, too, but I know that my data's only good when I can get people see it.</div>