[OSM-dev] mapnik render file in svn outdated?

Jon Burgess jburgess777 at googlemail.com
Tue Jul 17 23:29:07 BST 2007


On Tue, 2007-07-17 at 22:55 +0200, Ulf Lamping wrote:
> Hi!
> 
> While looking at the mapnik rendering stuff in svn 
> (applications/rendering/mapnik), I've found out the ruleset file osm.xml 
> seems to be different than the one used at 
> http://www.informationfreeway.org for it's mapnik layer.
> 
> For example, the colors are different. A motorway at information freeway 
> is lighter than the color used in the svn file.
> 
> Is the one in the svn outdated, or is "IF" simply using a different 
> file? If so, is this "IF" file somewhere available and should it replace 
> the one in the svn?
> 
> Regards, ULFL
> 

The file in SVN is the one used to render the mapnik tiles on
tile.openstreetmap.org which should be the source of the tiles for
mapnik layer on www.informationfreeway.org.

This isn't the whole story though. I've just opened a random tile into
gimp and found that the motorway blue colour for a typical pixel shows
as 809bc0, which doesn't match the mapnik style colour of #506077.

According to Gimp the H/S values of the 2 colours are the same only V
(brightness) is different. Maybe some gamma correction is happening
somewhere in mapnik.

If you use the SVN osm.xml file with mapnik you should get tiles which
match the current ones shown.

	Jon








More information about the dev mailing list