I have 2 polylines in my arcgis java code, I want to find intersection points of these 2 lines, but I can not:
Polyline intersection = (Polyline)GeometryEngine.intersect(polyline, polyline2, srMap);
System.out.println(intersection.getPointCount());
System.out.println(GeometryEngine.intersects(polyline, polyline2, srMap));
First print line returns 0 but the second print line returns true. How I can get thouse intersection points in arcgis?
Solved! Go to Solution.
Just try to follow this sample code and make sure the input geometries share the same coordinate system:
Intersect | ArcGIS for Developers
Hope this helps,
Adam
Just try to follow this sample code and make sure the input geometries share the same coordinate system:
Intersect | ArcGIS for Developers
Hope this helps,
Adam
Thank you Adam.