]> granicus.if.org Git - postgis/commitdiff
Applied Carl Anderson patch for LinearRing support.
authorSandro Santilli <strk@keybit.net>
Thu, 30 Dec 2004 10:27:48 +0000 (10:27 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 30 Dec 2004 10:27:48 +0000 (10:27 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1192 b70326c6-7e19-0410-871a-916f4a2858ee

lwgeom/lwgeom_geos_wrapper.cpp

index 575f2672867f0f12c395e6198ef395cc6d056f2a..2745bc5fd2d44e2180f606df1ea7f0a3647a9051 100644 (file)
@@ -1075,6 +1075,7 @@ int GEOSGeometryTypeId(Geometry *g1)
                        case GEOS_POINT:
                                return POINTTYPE;
                        case GEOS_LINESTRING:
+                       case GEOS_LINEARRING:
                                return LINETYPE;
                        case GEOS_POLYGON:
                                return POLYGONTYPE;