|
POST
|
The problem is that you use a gp with set A map so result is a image and not a recordset so you need change your gp in tab parameters and in "The tools exposed by Geoprocessing Service are stored in": select radio button A toolbox and select toolbox.
... View more
11-23-2012
09:52 AM
|
0
|
0
|
1479
|
|
POST
|
extra info: here I have posted some samples with c# http://nicogis.blogspot.it/2012/10/ags-101-restful-administrative-api.html
... View more
11-23-2012
04:14 AM
|
0
|
0
|
1026
|
|
POST
|
chuckf74, if you need low level arcobjects and you are interested I have made a same functionality with soe (I also have included js sample). http://studioat.maps.arcgis.com/home/item.html?id=7b79eea8286e462bba9b2891b42d223a http://nicogis.blogspot.it/2012/11/smack-bacini-idrografici.html The only difference compared with gp is that soe take advantage of caching so it's fast compared with gp that it need cost of instance therefore if you service has low use gp is Ok
... View more
11-23-2012
04:05 AM
|
0
|
0
|
921
|
|
POST
|
Pricing for ArcGIS for Server is based on a number of factors, including how its licensed and which edition you purchase. Your local Esri representative can help you decide what you need. http://www.esri.com/library/brochures/pdfs/arcgis-server-functionality-matrix.pdf
... View more
11-21-2012
07:26 AM
|
0
|
0
|
577
|
|
POST
|
Ok, getResultData but you have a imageParams (old paste/cut) from remove ... fix your code so
gp.getResultData(jobInfo.jobId,"final_shp", addResults, errResults);
function addResults(results) {
console.log(results);
var features = results.value.features;
// do render ...
}
... View more
11-20-2012
09:55 PM
|
0
|
0
|
1479
|
|
POST
|
Christina, if you write it have you same results? http://stratus.lwc.local/ArcGIS/rest/services/SPIN/WaterSystem/MapServer/30/query?objectIds=11&f=json
... View more
11-20-2012
09:18 PM
|
0
|
0
|
3433
|
|
POST
|
if I have understand your question: when you have featureset on client (from 1° model) you resend featureset to 2° gp. I think that you want do it because you change 1° featureset ? Right?
... View more
11-20-2012
05:16 AM
|
0
|
0
|
1372
|
|
POST
|
you shouldn't must change output. At client it returns a feature set
... View more
11-20-2012
04:08 AM
|
0
|
0
|
1372
|
|
POST
|
see input/ouput for gp using ags http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/0093/00930000002n000000.htm "... Any model that uses a feature class or feature layer as input can be modified to accept a feature set. Any model that uses a table as input can be modified to accept a record set. Feature set or record set variables can be created as new variables, or existing variables can be changed to feature or record sets..." http://help.arcgis.com/en/arcgisdesktop/10.0/help/002w/002w0000004s000000.htm so you can change in model input from feature layer to featureset (see my last link) while in output feature class is supported from client web (it is returned: feature set)
... View more
11-20-2012
01:41 AM
|
0
|
0
|
1372
|
|
POST
|
Peraphs for distance unit you want set UNIT_METER. You have set UNIT_SQUARE_METERS.
... View more
11-18-2012
09:58 PM
|
0
|
0
|
644
|
|
POST
|
If I understand your question: yes, using result map service you return a image. It's rendered using map service and data in job folder but I don't see request rest passing from map server for get info on data. (...If the GP service is associated with a result map service, the default output for GPRasterDataLayer and GPFeatureSetLayer parameters is a map image ...) you have two solution: you don't use result map service and you use only gp and render on client the output of gp or you use result map service but you must create a soe (server object extension) where you pass id of job and so you get on server your data (feature class, raster ect) and return on client the info that you need. I have done a similar solution for a result map service yet set and so I don't want modify resutl map service (render complex) so I create a soe that from jobID (sent from client) I get feature class from server and serialize in json for js api esri.
... View more
11-18-2012
09:33 PM
|
0
|
0
|
1479
|