Tag Info

New answers tagged

0

This is a comment on @Micha's code. The coordinate pairs for the POLYGON should follow a clockwise (or a counter clockwise) order : upper left, upper right, lower right, lower left, upper left again. So, clockwise, the function call should be : ST_GeomFromText('POLYGON((ulx uly, urx ury, lrx lry, llx llr, ulx uly))', <srid>) Or counter clockwise : ...



Top 50 recent answers are included