[Mapnik-users] MultiPolygon not supported in OGR?

David Wiesen iceweasel at gmail.com
Wed Feb 16 22:31:55 CET 2011


I am using version 1.7.2

> gdal-config --version
1.7.2

On Wed, Feb 16, 2011 at 1:29 PM, Jon Burgess <jburgess777 at gmail.com> wrote:

> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.berlios.de/pipermail/mapnik-users/attachments/20110216/e0187fea/attachment.html>


More information about the Mapnik-users mailing list