Maybe because it is not a linestring but a polygon. A linestring with the same endpoint / startpoint is not valid.
Hugues Le 1 juil. 2014 09:07, confugere <[email protected]> a écrit : > > I did that first with: > SELECT ST_MakePolygon(ST_GeomFromText( > 'LINESTRI did that first with: SELECT ST_MakePolygon(ST_GeomFromText( 'LINESTRING( CORNER_UL_LAT_PRODUCT CORNER_UL_LON_PRODUCT, CORNER_LL_LAT_PRODUCT CORNER_LL_LON_PRODUCT, CORNER_LR_LAT_PRODUCT CORNER_LR_LON_PRODUCT, CORNER_UR_LAT_PRODUCT CORNER_UR_LON_PRODUCT, CORNER_UL_LAT_PRODUCT CORNER_UL_LON_PRODUCT)' )); it says parse errror invalid geometry -- View this message in context: http://postgis.17.x6.nabble.com/Create-Polygon-from-table-columns-tp5006584p5006586.html Sent from the PostGIS - User mailing list archive at Nabble.com. _______________________________________________ postgis-users mailing list [email protected] http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users _______________________________________________ postgis-users mailing list [email protected] http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
