[Mapnik-users] MultiPolygon not supported in OGR?
iceweasel at gmail.com
Wed Feb 16 22:31:55 CET 2011
I am using version 1.7.2
> gdal-config --version
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mapnik-users