How is it possible to create the diagonals in/of polygons and to calculate the length of this diagonals afterwards.
It's for a lot of polygons so maybe a fast/automatic method would be nice.
I prefer the software QGIS or ArcGIS.
The polygons are created by following streets that cross each other. So the shape is very weird, not a typically square. Some polygons has 4 vertices, some only 3 vertices.
The green lines on the second figure shows the objective, it's to create this lines and calculate the length of this lines...
I am asking this question because of the following situation: I digitalise this polygon on raster data of year 1950. Then i search the same ways in the raster data of year 2014. I try to digitalize the same polygon as in the year 1950.
But unfortunate the area (inside the ways) aren't perfect the same. So i search something to compare the polygons of the same location of the two different years. I was thinking to compare the area or perimeter, but isn't perfect. so my next idea was to create the diagonals of the polygons and calculate the length. If the difference in the length between two diagonals (of same polygon but different years) is to large, the two polygons aren't the same and so not possible to use in the further analysis... maybe there is an easier way to compare the polygons?