Select to view content in your preferred language

Geometry service intersect through the Flex API

2571
2
01-09-2014 12:41 AM
Ganael_Jatteau
Emerging Contributor
Hello,

I'm using the API agslib-3.0-2012-06-06 and I'm using the function GeometryService.intersect()

I noticed that this version of the API generates a request with the parameter SR=0 (instead of passing the spatial reference of the geometry)

With Arcgis 10.0 it work fine. Example:
http://sampleserver3.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer/intersect?geometr...

But with Arcgis 10.1, it throughs an error:
Invalid or missing input parameters.
the input is not a geographic or projected coordinate system

Is there a way to force the projection within the SDK? Does this issue has been fixed in newer versions?

Thanks in advance.
Tags (2)
0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Ganael,

   It was fixed in the API. I am not sure which version past 3.0 it was fixed in though.
0 Kudos
Ganael_Jatteau
Emerging Contributor
Hi Robert

Thanks for your answer.
0 Kudos