[Gdal-dev] python gdal 1.3.2 and geos

Didrik Pinte dpinte at itae.be
Fri Nov 24 09:29:27 EST 2006


Le lundi 04 septembre 2006 à 12:25 +0200, Didrik Pinte a écrit :
> Hi,
> 
> Since the update of my debian package to the latest python-gdal bindings
> (1.3.2-2). I have the following problem when reading features from a
> shapefile :
> 
> ERROR 1: GEOSException: ParseException: Expected number but encountered
> ','
> 
> when my code calling :
> 
> found = gbuffer.is_disjoint(geometry)
> 
> or
> 
> intersection = gbuffer.intersect(geometry)
> 
> I have googled a bit about the problem but found nothing. The libgdal1
> is linked with geos 2.2.1-1 (that did not change since January 2006
> according to the changelog). I suppose there was a change on the ogr
> part. 
> 
> Any hint to solve the problem ?

... 

Problem is solved using a locale with a point as decimal delimiter.

Didrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20061124/0e50806b/attachment.bin


More information about the Gdal-dev mailing list