[postgis-tickets] [PostGIS] #1898: ST_DelaunayTriangles option to output as TIN

PostGIS trac at osgeo.org
Sun May 5 20:45:43 PDT 2013


#1898: ST_DelaunayTriangles option to output as TIN
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  nw           
     Type:  patch    |      Status:  assigned     
 Priority:  high     |   Milestone:  PostGIS 2.1.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by robe):

 okay your patch doesn't conflict with Olivier's since he just does a
 geos/cgal swap in his and doesn't touch this function.

 However I can't apply it. Fails during cu_test regress.

 {{{
 c:\ming64\projects\postgis\postgis-2.1.0SVN\liblwgeom/lwgeom_geos.c:1329:
 undefi
 ned reference to `GEOSDelaunayTriangulation'
 c:\ming64\projects\postgis\postgis-2.1.0SVN\liblwgeom/lwgeom_geos.c:1332:
 undefi
 ned reference to `GEOSGeom_destroy'
 c:\ming64\projects\postgis\postgis-2.1.0SVN\liblwgeom/lwgeom_geos.c:1342:
 undefi
 ned reference to `GEOSSetSRID'
 c:\ming64\projects\postgis\postgis-2.1.0SVN\liblwgeom/lwgeom_geos.c:1350:
 undefi
 ned reference to `GEOSGeom_destroy'
 c:\ming64\projects\postgis\postgis-2.1.0SVN\liblwgeom/lwgeom_geos.c:1350:
 undefi
 ned reference to `GEOSGeom_destroy'
 ../../liblwgeom/.libs/liblwgeom.a(lwgeom_geos.o): In function
 `lwgeom_geos_versi
 on':
 c:\ming64\projects\postgis\postgis-2.1.0SVN\liblwgeom/lwgeom_geos.c:415:
 undefin
 ed reference to `GEOSversion'
 collect2: ld returned 1 exit status
 make[2]: *** [cu_tester] Error 1
 make[2]: Leaving directory
 `/c/ming64/projects/postgis/postgis-2.1.0SVN/loader/c
 unit'
 make[1]: *** [check] Error 2
 make[1]: Leaving directory
 `/c/ming64/projects/postgis/postgis-2.1.0SVN/loader'
 make: *** [check] Error 1
 }}}


 The issue might very well be I screwed up my environment or order with
 lwtin.c
 the include you added

 {{{
 #include "lwgeom_geos.h"
 }}}

 Might be something stupid like the ordering of the includes since I think
 I've run into this issue before.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1898#comment:11>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list