We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Get Centerline length of (multi)polygon (collection)

Hi ,
I have been challenged to calculate length of a (multi)polygon shape or collection of shapes.

The length should be the centerline of the shape(s). Like this image e.g. (red is the centerline )
image.png (56.6 KB)

This can be a complex issue , could Aspose.Gis provide something like a centerline function to display and get the length of the centerline.


Hi, @mcanavar

The task is very interesting. We are extending our set of geotools. First will we build a centerline polygon. Then we will calculate length.

I have created a ticket GISNET-1412 and update you here as soon as additional information is available.


1 Like

Hi @Evgeniy.Timofeev,

It is interesting, reading into this topic of calculating length of the centerline ," Voronoi " method calculation comes up a lot.
Excited about your solution to this .


The " Voronoi " method calculation is a good idea

Thank a lot.

1 Like

Perhaps a good example of an shape to test on : Look like this : image.png (24.1 KB)

GeoJson:example.7z (4.7 KB)

Thank you for sharing a good example.