Update of /cvsroot/monetdb/geom/src/monetdb5
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10574/src/monetdb5
Modified Files:
Tag: Geom_0-4
geom.mx
Log Message:
Port to geos 3.0.
U geom.mx
Index: geom.mx
===================================================================
RCS file: /cvsroot/monetdb/geom/src/monetdb5/geom.mx,v
retrieving revision 1.13.4.6
retrieving revision 1.13.4.7
diff -u -d -r1.13.4.6 -r1.13.4.7
--- geom.mx 20 Jun 2008 16:11:59 -0000 1.13.4.6
+++ geom.mx 20 Jun 2008 16:36:18 -0000 1.13.4.7
@@ -911,7 +911,11 @@
GEOSGeom geosGeometry = wkb2geos(*geom);
if (geosGeometry) {
+#if GEOS_CAPI_VERSION_MAJOR >= 1 && GEOS_CAPI_VERSION_MINOR >= 3
+ const GEOSCoordSequence *gcs =
GEOSGeom_getCoordSeq(geosGeometry);
+#else
const GEOSCoordSeq gcs = GEOSGeom_getCoordSeq(geosGeometry);
+#endif
/* we could also check if geom is a
LineString, LinearRing or Point */
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins