Thank you very much! I'll try with this approach.
Regards,
Paolo
Il 17/06/2015 18:24, Rémi Cura ha scritto:
Hm,
quite easy normally (method proposed above won't work).
First break your polygon into segment, for instance with
Hi,
I have a set of 2d polygons representing buildings. For each one, I have
to find the lenght of the edges that look towards north.
Here http://imgur.com/HgpO2yH there is a small picture with a test case,
I have to compute the lenght of the red edges.
Has anybody any suggestion on how to
Hm,
quite easy normally (method proposed above won't work).
First break your polygon into segment, for instance with
https://github.com/Remi-C/_utilities/blob/master/postgis/rc_DumpSegments.sql
Then, for each segment, compute the angle between first and last point,
using ST_Azimuth, and