[OSM-talk] Making alternative tiles with no administrative borders or administrative names

elf Pavlik perpetual-tripper at wwelves.org
Tue Apr 20 08:04:37 BST 2010


On Mon, 19 Apr 2010 20:08:28 +0100, OJ W <ojwlists at googlemail.com> wrote:
> (1) Find some instructions about how to get started rendering maps on
> mapnik, e.g.
> 
>
http://codebrainz.ca/index.php/2009/09/27/installing-mapnik-and-friends-on-ubuntu-904/
> 
> (2) Test it, check you get something that looks like the regular map
> 
> (3) Remove any references to boundary and admin_level in the osm.xml
> stylesheet

Thanks Oj W,

I'll give it a go. I hope any of the machines I have available at this
moment can handle it =)

> (3) Remove any references to boundary and admin_level in the osm.xml
> stylesheet

I checked first of the stylesheets from:
http://wiki.openstreetmap.org/wiki/Stylesheet
and it doesn't have any references to 'admin_level'. Also single reference
to boundary doesn't look like administrative borders.

I think I have enough information about setting up rendering and mostly
need some advise on customizing the stylesheet.
On the first stage I need:

- no country/state borders
- no borders for minor administrative units (provinces etc.)
- no labels with country names

also would really like:

- no emphasis on capital cities
for example by default on zoom level 5 only capital cities seams to get
displayed, I would like to remove them and eventually have them appear
according to their actual population and not political status.

than to balance back with some reference features

+ add emphasis on major rivers, especially on zoom levels ~5

Would really appreciate all clues on making such customizations to map
stylesheet!

BTW http://www.opencyclemap.org has no borders and no special emphasis on
capitals, anyone knows where I can find their stylesheet to compare?




More information about the talk mailing list