Hi
Finally, I found some time to set up a base layer in greyscale. I did this by automatically converting the original mapnik style and all icons.
http://picpaste.com/pics/mapbw.1287869339.png
There are some caveats: the style is named osm.xml and refers to ./inc and ./style which contain different (i.e. b&w files) than the original mapnik. I don't know if this is incompatible to the way all the layers are bound into Tirex, please tell me so.
The style can be found here (on willow): /home/kayd/workspace/parking/mapnik/bw-mapnik
I'd very much like to see it included as a base layer here: http://toolserver.org/~osm/styles/
I'd like to hear about your opinion: would you rather like a b&w base layer that's identical to current mapnik, or should it omit most of the icons (shops, etc.)? Or is both needed? Main uses would be IMHO the bicycle overlay (which looks a bit lost with the colorful mapnik base layer) and similar layers.
Kind regards, Kay
Kay Drangmeister schrieb:
I'd like to hear about your opinion: would you rather like a b&w base layer that's identical to current mapnik, or should it omit most of the icons (shops, etc.)? Or is both needed?
Anyway, I just created both styles, they are now named /home/kayd/workspace/parking/mapnik/bw-mapnik/... .../osm-bw.xml and .../osm-bw-noicons.xml.
I rendered two examples: http://drangmeister.net/osm/map-bw.png http://drangmeister.net/osm/map-bw-noicons.png so you can compare.
@Peter: can you check if it's ok to have the symbol dir named "symbols", i.e. same name as the colored icons, or should I rename it to bw-symbols?
Kay
Am 23.10.2010 23:38, schrieb Kay Drangmeister:
Hi
Finally, I found some time to set up a base layer in greyscale. I did this by automatically converting the original mapnik style and all icons.
Nice one. Could be very helpful for overlays of all kind.
There are some caveats: the style is named osm.xml and refers to ./inc and ./style which contain different (i.e. b&w files) than the original mapnik. I don't know if this is incompatible to the way all the layers are bound into Tirex, please tell me so.
No problem. The style needs to be in a single directory with all includes and icons being a) inside this folder b) symlinks to a folder in the osm-project-homedir
The style can be found here (on willow): /home/kayd/workspace/parking/mapnik/bw-mapnik
I copied the style into the p_osm repo and added it to the tirex setup. I added osm-bw.xml. Do you need the other styles as well?
I'd very much like to see it included as a base layer here: http://toolserver.org/~osm/styles/
I added it there: http://toolserver.org/~osm/styles/?zoom=2&lat=54.36776&lon=9.84375&layers=0000F0FF0000F0FFFFB
z0-6 have been added to the background queue and they're rendered right now.
I'd like to hear about your opinion: would you rather like a b&w base layer that's identical to current mapnik, or should it omit most of the icons (shops, etc.)? Or is both needed?
If there is a need for a bw-style without icons, we could add them, too.
Peter
Am 25.10.2010 18:24, schrieb Peter Körner:
I copied the style into the p_osm repo and added it to the tirex setup.
I missed to mention the location (it's brand-new): http://svn.toolserver.org/svnroot/p_osm/styles/bw-mapnik/
Peter
Hi Peter,
Peter Körner schrieb:
Am 25.10.2010 18:24, schrieb Peter Körner:
I copied the style into the p_osm repo and added it to the tirex setup.
I missed to mention the location (it's brand-new): http://svn.toolserver.org/svnroot/p_osm/styles/bw-mapnik/
Thanks for picking it up. However, I just seemed to make some experiments with the stylesheets when you were copying them :-( So external entities were not resolved, which turns some features to be in original colour.
In the meantime I implemented a better deploy, so you may just copy every- thing from here: /home/kayd/deploy (Note that I separated the bw-mapnik and bw-noicons styles into two dirs, as you may like it.)
Please flush all rendered b/w tiles (sorry), if possible.
As a side note, I have difficulties finding a correct License. I cannot say it's GPL because it is derived work from original osm mapnik style, whose (or is it whichse) license is unknown to me (read: I didn't find it in the directory structure of the styles in http://svn.openstreetmap.org/applications/rendering/mapnik
Kind regards, Kay
Am 26.10.2010 06:42, schrieb Kay Drangmeister:
In the meantime I implemented a better deploy, so you may just copy every- thing from here: /home/kayd/deploy (Note that I separated the bw-mapnik and bw-noicons styles into two dirs, as you may like it.)
I copied the style over and re-enabled the unifont fonts. They are necessary to render the map world-wide. Please change this in your source, too.
Am I supposed to add the be-noicons to the rendering, too? Why does a style that names itsself "noicons" contain a symbols directory with pngs?
Please flush all rendered b/w tiles (sorry), if possible.
z0-6 have been added to the background-queue, all other zoom levels have been marked dirty.
Peter