I am using the intersect service from the ArcGIS Geometry service. referring : http://help.arcgis.com/en/webapi/sil....htm#Intersect

I have modified it to make it work with polylines it works fine to intersect a polyline with a polygon but does not return anything when I try intersecting a polyline with a polyline?


Are both datasets in the same spatial reference?
Are you including the spatial reference for the polylines?
The intersection.method returns the envelope or null if they don't intersect.

  • HI , Thank you for replying, Yes both the dataset are in the same spatial reference, and yes I a including the spatial reference for polyline intersect, I a not using ArcObjects , I am using the geometry service of ArcGIS [link]tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/… .. Please guide – user9961 Sep 5 '12 at 5:24
  • I think I would need more information to be of help as not returning anything is the expected behavior for no intersection. If you run this from the arcgis interface do you get any return? – Brad Nesom Sep 5 '12 at 15:34

Not the answer you're looking for? Browse other questions tagged or ask your own question.