id summary reporter owner description type status priority milestone component version resolution keywords cc 2169 ST_PointOnSurface gives EMPTY for non-empty line input strk pramsey "When passing a line with a single distinct point to ST_PointOnSurface you get an EMPTY back. Granted that we don't support invalid geometries, but it would be much more useful to just return _that_ point instead. Note the discrepancy: {{{ ST_PointOnSurface('LINESTRING(0 0, 10 0)'::geometry) -> POINT(0 0) ST_PointOnSurface('LINESTRING(0 0, 0 0)'::geometry) -> POINT EMPTY }}}" defect closed medium PostGIS GEOS postgis 2.0.x fixed