[OSM-dev] mod_tile osm.xml Exception

John Burns jzburns at gmail.com
Sat Mar 21 23:20:06 GMT 2009


Hi,

I have checked out and built the latest svn sources for mod_tile and mapnik.
I also have the latest svn rendering/mapnik/osm.xml (properly configured).

However on starting renderd I always get the same exception being reported
from the osm.xml file parse:

config 0: name(Default)
file(/export/home/jburns/osm/applications/rendering/mapnik/osm.xml)

conversion of data into type 'float' failed from type std::locale in
LineSymbolizer in style 'highway-area-casing'

(The "type std::locale" is my own debugging output.)

The offending line in osm.xml is:
CssParameter name="stroke-width">1</CssParameter>

I've tried various formats for "1", including 1.0, 1.000, etc, but the
exception remains.

My knowledge of what happens deep inside mapnik is very sketchy, but I am
puzzled as to why the typeid comes back as "std::locale", and at this stage
I'm stumped.

Anyone got any ideas? My platform is opensolaris 2008.11, (boost 1.35)

Many thanks

John

-- 
Dr. John Burns
ITT Dublin, Dublin 24, Ireland
Ph. +353.1.404.2766
Fax. +353.1.404.2700
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090321/aa4226e8/attachment.html>


More information about the dev mailing list