[postgis-users] polygonize requirements
strk at refractions.net
strk at refractions.net
Fri Apr 29 04:26:40 PDT 2005
On Fri, Apr 29, 2005 at 12:33:21PM +0200, Markus Schaber wrote:
> Hello,
>
> According to the PostGIS manual, polygonize works with "GEOS >= 2.1.0".
> However, I get the following error message:
>
>
> logigis=# select polygonize('LINESTRING(1 1, 1 0, 0 0, 0 1, 1 1)');
> NOTICE: GEOS library does not support required interface 3
> polygonize
> ------------
>
> (1 row)
>
> logigis=# select postgis_full_version();
> postgis_full_version
>
> ------------------------------------------------------------------------------------------------------
> POSTGIS="1.0.0" GEOS="2.1.1" PROJ="Rel. 4.4.9, 29 Oct 2004" USE_STATS
> DBPROC="0.3.0" RELPROC="0.3.0"
> (1 row)
>
>
>
> It is a PostGIS debian package that was compiled by one of our admins
> for an AMD-64 Ubuntu machine.
>
Did your admin built postgis against a precedent version of GEOS ?
strk=# select polygonize('LINESTRING(1 1, 1 0, 0 0, 0 1, 1 1)');
polygonize
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
01070000000100000001030000000100000005000000000000000000F03F000000000000F03F000000000000F03F0000000000000000000000000000000000000000000000000000000000000000000000000000F03F000000000000F03F000000000000F03F
(1 row)
=# select postgis_full_version();
POSTGIS="1.0.0" GEOS="2.1.1" PROJ="Rel. 4.4.8, 3 May 2004" USE_STATS DBPROC="0.2.1" RELPROC="0.3.0" (needs proc upgrade)
The (needs proc upgrade) should not be a problem as the NOTICE you see
is generated by C code, not plpgsql.
Check out contents of lwgeom/postgis_geos_version.h in the postgis
soruce tree, and see if it maches 2.1.1
--strk;
More information about the postgis-users
mailing list