GeoAPI icon indicating copy to clipboard operation
GeoAPI copied to clipboard

It looks like GeoAPI.Geometries.IGeometry.Intersection doesn't carry over data in the UserData property.

Open donnyv opened this issue 7 years ago • 4 comments

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

donnyv avatar Aug 22 '18 14:08 donnyv

Might be related to https://github.com/locationtech/jts/issues/292

FObermaier avatar Aug 28 '18 10:08 FObermaier

Might be solved by https://github.com/NetTopologySuite/NetTopologySuite/commit/d6b4f1589edb513d099e33aca08f425fed22a881

FObermaier avatar Aug 28 '18 14:08 FObermaier

Can this be closed?

FObermaier avatar Sep 27 '18 14:09 FObermaier

I never got a chance to test this.

donnyv avatar Sep 27 '18 14:09 donnyv