GeoAPI
GeoAPI copied to clipboard
It looks like GeoAPI.Geometries.IGeometry.Intersection doesn't carry over data in the UserData property.
When I do an intersection. It seems that the UserData value doesn't get carried over in the output. I assign a unique id to every point to track it in the UserData property.
var poly = polygons[i];
var g = poly.Intersection(pointGeo);
g.UserData <= becomes null
Might be related to https://github.com/locationtech/jts/issues/292
Might be solved by https://github.com/NetTopologySuite/NetTopologySuite/commit/d6b4f1589edb513d099e33aca08f425fed22a881
Can this be closed?
I never got a chance to test this.