Hi,

This query should return the geometry splitted in two but it returns only one 
of the two sides.

SELECT ST_Split(ST_GeomFromEWKT('POLYGON((252049.803755834 5230978.87794769,
                                          252049.803755834 5230977.67794767,
                                          252050.003755837 5230977.67794767,
                                          252050.003755837 5230978.27794768,
                                          252050.20375584  5230978.27794768,
                                          252050.20375584  5230978.47794768,
                                          252050.003755837 5230978.47794768,
                                          252050.003755837 5230978.87794769,
                                          252049.803755834 
5230978.87794769))'), 
                           ST_MakeLine(ST_MakePoint(252050.003755837,  
5230978.87794769), 
                                                   
ST_MakePoint(252049.803755834,  5230977.67794767))
                          ) geom

SELECT postgis_full_version()

"POSTGIS="2.1.0SVN r11202" GEOS="3.4.0dev-CAPI-1.8.0 r0" PROJ="Rel. 4.8.0, 6 
March 2012" GDAL="GDAL 1.9.2, released 2012/10/08" LIBXML="2.7.8" 
LIBJSON="UNKNOWN" RASTER"

Bug? Or it works on earlier version?

Thanks,

Pierre
_______________________________________________
postgis-users mailing list
[email protected]
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users

Reply via email to