Community
All Communities
Products
ArcGIS Pro
ArcGIS Survey123
ArcGIS Online
ArcGIS Enterprise
Data Management
Geoprocessing
ArcGIS Experience Builder
ArcGIS Web AppBuilder
ArcGIS Dashboards
ArcGIS Field Maps
ArcGIS Spatial Analyst
All Products Communities
Industries
Education
Water Resources
State & Local Government
Transportation
Gas and Pipeline
Water Utilities
Roads and Highways
Telecommunications
Natural Resources
Electric
Public Safety
All Industries Communities
Developers
Python
JavaScript Maps SDK
Native Maps SDKs
ArcGIS API for Python
ArcGIS Pro SDK
ArcObjects SDK
Developers - General
ArcGIS REST APIs and Services
ArcGIS Online Developers
Game Engine Maps SDKs
File Geodatabase API
All Developers Communities
Global
Comunidad Esri Colombia - Ecuador - Panamá
ArcGIS 開発者コミュニティ
Czech GIS
ArcNesia
Esri India
Comunidad GEOTEC
GeoDev Germany
Europe
ArcGIS Content - Esri Nederland
Asia Pacific
Americas
All Global Communities
All Communities
Developers
User Groups
Industries
Services
Community Resources
Global
Events
Learning
Networks
ArcGIS Topics
Products
View All Communities
ArcGIS Ideas
GIS Life
Community Resources
Community Help Documents
Community Blog
Community Feedback
Member Introductions
Community Ideas
All Community Resources
Sign In
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
Cancel
Home
:
All Communities
:
Developers
:
ArcGIS REST APIs and Services
:
ArcGIS REST APIs & Services Ques.
:
Testing Web Interface for REST
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
Select to view content in your preferred language
Translate Now
Testing Web Interface for REST
Subscribe
862
3
09-24-2010 04:55 AM
by
FabioSantos
Deactivated User
09-24-2010
04:55 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Hi everybody.;)
I was testing a ESRI's REST sample in my web browser(firefox).
This is the url:
http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Population_World/GPServ...
I put in json format input in"inputPoly" as follow:
{
"rings" : [
[ [-97.06138,32.837], [-97.06133,32.836], [-97.06124,32.834], [-97.06127,32.832], [-97.06138,32.837] ],
[ [-97.06326,32.759], [-97.06298,32.755], [-97.06153,32.749], [-97.06326,32.759] ]
],
"spatialReference" : {"wkid" : 4326}
}
When I posted it, it printed "Invalid value for parameter 'inputPoly'" and it didn't work.:(
What happended?
Thanks,
Fabio Santos
Tags
(3)
Tags:
_rest
developers
rest_api
Reply
0
Kudos
All Posts
Previous Topic
Next Topic
3 Replies
by
RaviNarayanan
Esri Contributor
09-24-2010
07:09 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Please see
http://resources.esri.com/help/9.3/arcgisserver/apis/rest/gpsubmit.html
for more information about the syntax for
GPFeatureRecordSetLayer
Here is a JSAPI sample that uses the same service:
http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/demos/geoprocessor/gp_zonalst...
Thanks
Reply
0
Kudos
by
FabioSantos
Deactivated User
09-27-2010
09:26 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Hello Ravi,
thanks for your response.
I enter in your url (
http://resources.esri.com/help/9.3/arcgisserver/apis/rest/gpsubmit.html
) and copy the GPFeatureRecordSetLayer example there and I put it in
http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Population_World/GPServ...
It didn't work too. Why? Would you know about that?
Thanks.
Reply
0
Kudos
by
RaviNarayanan
Esri Contributor
09-27-2010
03:18 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
The GPFeatureRecordSetLayer example shown in REST reference page for gpSubmitJob has a point geometry type.
The geometry type required for the PopulationSummary gp task is a polygon.
Reply
0
Kudos
Post Reply