]> granicus.if.org Git - postgis/commitdiff
Don't 'clean' the SRID...
authorSandro Santilli <strk@keybit.net>
Thu, 11 Mar 2010 17:21:42 +0000 (17:21 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 11 Mar 2010 17:21:42 +0000 (17:21 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5409 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/lwgeom_geos_clean.c

index 66efaa4f15fd536a926efc85ee31084a915be0bf..8402e345579852687eeb4654dc2abed0ae5cd348 100644 (file)
@@ -848,6 +848,7 @@ lwgeom_make_valid(LWGEOM* lwgeom_in)
 
        GEOSGeom_destroy(geosout);
 
+       lwgeom_out->SRID = lwgeom_in->SRID;
        return lwgeom_out;
 }