On Wed, 2011-02-16 at 12:50 -0800, David Wiesen wrote:
> I am trying to use an Ogr data source to hook up MySQL as a backend
> for mapnik.  However, I am running into early problems: 
> 
> >>> import mapnik >>> ds = mapnik.Ogr(file='plots.ovf', layer='plots')
> ERROR 1: GeometryType wkbMultiPolygon not recognised. Traceback (most
> recent call last):   File "<stdin>", line 1, in <module>   File
> "/usr/lib/pymodules/python2.6/mapnik/__init__.py", line 429, in Ogr
>     return CreateDatasource(keywords) RuntimeError: GeometryType
> wkbMultiPolygon not recognised. >>>  
> 

That error seems to be thrown from the gdal/ogr code, not mapnik itself.

By the look of things, there was a bug in the gdal code which meant that
wkbMultiPolygon used the wrong name string. It looks like this was fixed
in gdal-1.7.0+, what version are you using?

http://trac.osgeo.org/gdal/changeset/17923

 Jon


_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to