<meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Parveen,<div>The way I do it is to install the map data that I want to render in a postgresql database using osm2pgsql, then render it using mapnik.</div>
<div>The mapnik stylesheet is usually called osm.xml, and it contains the definitions of the colours for the various lines (motorway, primary etc.). It is a complex file though - you will need to change <style> definitions.</div>
<div>The instructions for getting it working to render tiles are in the wiki (<a href="http://wiki.openstreetmap.org/wiki/Mapnik" target="_blank" style="color: rgb(0, 0, 204); ">http://wiki.openstreetmap.org/wiki/Mapnik</a>).</div>
<div>I would first get the default mapnik rendering working, then just start doing minor changes to the osm.xml file to see how it looks.</div><div><br></div><div>An alternative would be to do the rendering using osmarander (<a href="http://wiki.openstreetmap.org/wiki/Osmarender" target="_blank" style="color: rgb(0, 0, 204); ">http://wiki.openstreetmap.org/wiki/Osmarender</a>). This can work directly on .osm files, avoiding the postgresql setup bits - it has its own style definitions.</div>
<div><br></div><div>Good luck!</div><div><br></div><div>Graham.</div></span><br><div class="gmail_quote">On 22 August 2010 12:14, Parveen Arora <span dir="ltr"><<a href="mailto:parveenaroraosm@gmail.com">parveenaroraosm@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello Everyone,<br>
I want to change the style-sheet of the map<br>
to change its colors according to me.<br>
But i don't know howto do it.<br>
Please give your suggestions to change its style<br>
<br>
I have a idea that i have to change the .xml files<br>
but don't know<br>
and how to see the changes after changing the style-sheet<br>
or i required to render the tiles again.<br>
<br>
Thank's in advance<br>
--<br>
With Kind Regards<br>
Parveen Arora<br>
<a href="http://osmpunjab.co.cc" target="_blank">osmpunjab.co.cc</a><br>
<br>
_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Dr. Graham Jones<br>Hartlepool, UK<br>email: <a href="mailto:grahamjones139@gmail.com">grahamjones139@gmail.com</a><br>