Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

Please guide I am stuck here...

share|improve this question

1 Answer 1

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.

share|improve this answer
    
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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