[postgis-users] reverseWindingOrder and isClockwise in PostGIS

Peter Freimuth pfreimuth at arcor.de
Wed Sep 30 10:33:15 PDT 2009


Hi PostGIS Community,
today i am searching for a postgis based solution which gives me an
answer on the question

isClockwise(POLYGON)

and if this is true

reverseWindingOrder(POLYGON)


I found  the functions in the OGR library  but i would like to use them
inside of the Database using sql commands.

Maybe i missed something in the documentation but i did'nt found
something that fits. I am thinking about writing these functions myself
in plpgsql but maybe somebody have done this already or has a better
solution.
 
Kind regards,
Peter




More information about the postgis-users mailing list