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

Free Support Forum - aspose.com

Locations conflict when checking polygon overlap

Hi there, my code seems to throw an exception when checking polygon overlap with another polygon. any reason why I would gets this exception?
“Locations conflict detected while propagating side labels” ???

Thanks in advance.

Hello, @steve.cooper! Thank you for sharing the issue.

You have caught an internal exception. This exception is thrown when an error occurs during the topological computations. We created a ticket GISNET-512 to investigate this case. We will notify you here as we will have progress with it.

If one of the geometries is invalid then the ‘Overlaps’ operation cannot be completed. You can use IsValid property for any geometry to get a value indicating whether a geometry is valid.

Please, consider the following code sample:

    if (myPolygon.IsValid && anotherPolygon.IsValid)
        // One of the geometries is invalid