Error:'geometry' parameter is invalid", "Unable to perform query.

594
2
03-18-2012 08:05 PM
ZongkunYue
New Contributor
When I use the esri.layers.FeatureLayer, I got this:
[ATTACH=CONFIG]12794[/ATTACH]
and my request url is:
http://admin-pc/ArcGIS/rest/services/zaihaidian/FeatureServer/0/query?f=json&returnGeometry=true&spa...
I got the geometry's value as follow:
[ATTACH=CONFIG]12795[/ATTACH]
I was confused by this problem for few days, please help me. Thanks a lot!!!

P.S. My English is bad, because English is not my native language.
0 Kudos
2 Replies
by Anonymous User
Not applicable
Original User: bundarrabandito

Hi Zongkun, what are you trying to do?  Are you trying to retrieve geometry of a feature as JSON?  In your query string you've got some double quotes that shouldn't be there.  How are you building your request?
0 Kudos
ZongkunYue
New Contributor
Hi Zongkun, what are you trying to do?  Are you trying to retrieve geometry of a feature as JSON?  In your query string you've got some double quotes that shouldn't be there.  How are you building your request?


Thank you very much for replying, I have solved this problem.
0 Kudos