[postgis-users] postgis 2.1 with geos 3.4

Sandro Santilli strk at keybit.net
Sun Sep 29 07:53:32 PDT 2013


On Sun, Sep 29, 2013 at 04:21:30PM +0200, Jonas van Schrojenstein wrote:

> select ST_DelaunayTriangles(b.geom) from
> centroids as b;
> 
> I get the following message:
> 
> ERROR:  lwgeom_delaunay_triangulation: GEOS 3.4 or higher required

[...]

> select PostGIS_Full_Version(); returns:
> 
> "POSTGIS="2.1.0 r11822" GEOS="3.4.2-CAPI-1.8.2 r3921" PROJ="Rel. 4.8.0, 6
> March 2012" GDAL="GDAL 1.9.2, released 2012/10/08" LIBXML="2.7.8"
> LIBJSON="UNKNOWN" TOPOLOGY RASTER"
> 
> I do not understand the error message as I am running GEOS 3.4.2.

You probably built PostGIS before upgrading to GEOS-3.4.2,
so the code in PostGIS could _not_ include functions not
available in GEOS at that time.

Rebuild postgis and you should be fine.
Feel free to file a ticket to request a more complete error message
showing the version of GEOS PostGIS was _built_ against. Best with a patch.

--strk; 

 http://www.cartodb.com - Map, analyze and build applications with your data

                                       ~~ http://strk.keybit.net 



More information about the postgis-users mailing list