[OSM-dev] Change Stylesheet of Map

Igor Brejc igor.brejc at gmail.com
Sun Aug 22 13:10:31 BST 2010


Another alternative is Maperitive. It works on OSM files, has rendering
rules stored in a single text file and can generate web tiles, too (among
many other things).

http://maperitive.net/

Regards,
Igor

On Sun, Aug 22, 2010 at 1:35 PM, Graham Jones <grahamjones139 at googlemail.com
> wrote:

> Parveen,
> 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.
> 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.
> The instructions for getting it working to render tiles are in the wiki (
> http://wiki.openstreetmap.org/wiki/Mapnik).
> 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.
>
> An alternative would be to do the rendering using osmarander (
> http://wiki.openstreetmap.org/wiki/Osmarender).  This can work directly on
> .osm files, avoiding the postgresql setup bits - it has its own style
> definitions.
>
> Good luck!
>
> Graham.
>
> On 22 August 2010 12:14, Parveen Arora <parveenaroraosm at gmail.com> wrote:
>
>> Hello Everyone,
>>  I want to change the style-sheet of the map
>>  to change its colors according to me.
>>  But i don't know howto do it.
>>  Please give your suggestions to change its style
>>
>>  I have a idea that i have to change the .xml files
>>  but don't know
>>  and how to see the changes after changing the style-sheet
>>  or i required to render the tiles again.
>>
>> Thank's in advance
>> --
>> With Kind Regards
>> Parveen Arora
>> osmpunjab.co.cc
>>
>> _______________________________________________
>> dev mailing list
>> dev at openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/dev
>>
>
>
>
> --
> Dr. Graham Jones
> Hartlepool, UK
> email: grahamjones139 at gmail.com
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20100822/f4bec0b1/attachment.html>


More information about the dev mailing list