Questions tagged [geoprocessing-service]

Geoprocessing services expose the analytic capability of ArcGIS to the world-wide web.

46 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
913 views

Geoprocessing Service on ArcGIS Server to Export File

ArcGIS Server / Geoprocessing Question I have a geoprocessing service that will perform a selection on a layer based on a provided expression. I would like to output the result as a csv file (or ...
4
votes
0answers
1k views

Map printing using ArcGIS silverlight API

I am using a GP task to print my map and its legend. Well it works fine. But it is really slow. Also I am not able to print the route event layer that I create. It does not show on the map. Please ...
3
votes
0answers
39 views

Can't access resources through JSAPI

Simply I want to upload a tiny csv file to a buffer Geoprocessing service published through ArcGIS Server 10.4.1. The problem ,however, is that I can't access any file in my server or an external ...
3
votes
0answers
165 views

Publishing a geoprocessing service that imports modules besides arcpy?

I'm trying to publish a geoprocessing service (10.2.1) that will be used to generate a PDF from a webmap using an MXD layout as a template. The problem is that if I try to import any module besides ...
3
votes
0answers
120 views

error while running a geoprocessing service using IGPServer

I getting the " the remote procedure call failed "error message while running the following code.... enter code here //Here i am getting the polygon geometry from one featureclass...... ...
2
votes
0answers
220 views

How to display geoprocessing service results in an ArcGIS Online Map?

I am implementing a python script that filters features in a feature service. For this I used the following lines of code: import arcpy # URL with service, where clause and field parameter baseURL= "...
2
votes
0answers
299 views

arcpy geoprocessing service with sde database produces no output url

I'm trying to use a geoprocessing script to clip some data and return to the user (via url) the path to a zip file with the results of the clip. I also need to connect to an sde database. I can get ...
2
votes
0answers
379 views

Improve Performance of Geoprocessing Service - GPServerSync.Load

I have a geoprocessing service in ArcGIS Server 10.1 that is a simple Print Task. The task is running as an Asynchronous service. It renders one MapService from the same ArcGIS Server instance, and ...
2
votes
0answers
294 views

Problem with long running services in ArcGIS Server 10.2

I published a lot services for geoprocessing. Most of them are the long running services. Those services manipulate data but user do not wait for the results. When I use REST Submit Job in the web ...
2
votes
0answers
145 views

Dissolve Statistics Fields and Statistic Type as Parameters in GeoProcessor

I have a published service which uses a dissolve. In arcMap the I get prompted for all the fields, including statistics fields and stat type. I have the statistics fields marked as parameters. ...
2
votes
0answers
176 views

Obtain virtual output directory path in geoprocessing service

I am publishing a geoprocessing service and I want to be able to access the virtual output directory path configured for the service. Now I know that gp services will magically return virtual paths ...
2
votes
0answers
398 views

Sharing a Geoprocessing Service Hangs on Publishing service

When I tried publishing a geoprocessing service as part of a tutorial from ESRI, the Service Editor in ArcCatalog hung on the following screen: That being said, the service seems to act OK. I can ...
2
votes
0answers
330 views

How to check if a GP service (async) has any jobs that are not completed yet?

I am trying to find out a way to tell if a GP service has any jobs that were submitted and are not completed yet. I have noticed that one can see the status of a specific service by using the ArcGIS ...
1
vote
0answers
32 views

Esri-Leaflet, Geoprocessing, and Error 500 on return

I'm receiving an error 500 back from ArcGIS Server when I submit a polygon via ESRI-Leaflet. I'm not overly good with Javascript, so I may be missing something obvious - though it's not obvious to me. ...
1
vote
0answers
44 views

Custom Printing Service with Data Driven Pages

I've been tasked with creating a custom web app hosted in ArcGIS Online that has the ability to export out data driven pages through a printing service (we also have ArcGIS Server). Within the ...
1
vote
0answers
99 views

Geoprocessing Widget in ArcGIS online Error: Using symbology layer

I have created a model in modelbuilder that takes an interactive feature set as a parameter so that the user of the model can draw a polygon "on the fly". I take the interactive feature set and use ...
1
vote
0answers
126 views

Automatically opening PDF output report from ArcGIS web app?

We have a custom tool that we built using the R-ArcGIS bridge. It queries a bunch of tables stored in a SQLite database and uses LaTeX to create a PDF report as the output. Within ArcMap or ArcGIS ...
1
vote
0answers
279 views

Python uses arcpy.FeatureSet() with map service, but won't publish as a geoprocessing service?

I have a Python script that consumes a map service (with geometry) and puts it in a FeatureSet. (Ref. the code from this question or this question.) for layer in layer_list: # generate gkey_query ...
1
vote
0answers
123 views

How to calculate area of intersection between raster and polygon in a web map?

I need to calculate the area of intersection between a vegetation raster and a polygon drawn by the user in an ArcGIS Server JavaScript API web-map, as in this mockup: After the user has drawn the ...
1
vote
0answers
40 views

Reading output spatial reference from geoprocessing service in Python toolbox (.pyt) service?

I know I could just create a custom parameter but it seems there's already a built in method here to specify the output spatial reference - I just have no idea how to read it. I've tried checking ...
1
vote
0answers
107 views

Using Python Script and Model Builder to create JSON output

So I have a script that creates a selection based off of a user's entry and stores select attributes of that entry into a python dictionary. Ideally, the user would give a street segment ID and the ...
1
vote
0answers
52 views

Processing to a Table in a python script tool not accessible via main model on Server

I have a python script running in a main model that adds new fields to a table, runs some calculations etc. I have then tried to pass the final table as a parameter (ThemeIndicators_2) from the python ...
1
vote
0answers
76 views

Table not included as layer with result map service

I published a geoprocessing service that outputs (1) a feature layer and (2) a stand alone table. The goal is to join these two on the client side... given the size of the table, it takes too long to ...
1
vote
0answers
37 views

How to share business logic among multiple applications using different apis with arcgis?

I've been working with ArcGIS and Esri WPF API for a year, but now me and my job colleagues felt the need to build a new application using the Esri Javascript API. Our application using WPF API has a ...
1
vote
0answers
196 views

Create Replica From Server fails validation

I'm working on a simple geoprocessing service for ArcGIS Server 10.3 that's meant to allow users to create a replica of a geodata service. When I pull the 'Create Replica from Server' tool into ...
1
vote
0answers
105 views

Adding Print, Data Extract functions to published Geoprocessing widget - ArcGIS 10.1 Viewer for Flex

I have developed a pretty detailed geo-processing widget (based on a model I built and published) that takes user input, runs raster calculator and then clips the raster output to a boundary. The tool ...
1
vote
0answers
96 views

ModelBuilder Copy Features tool not updating shape when run as geoprocessing service

I have a model that uses the "copy features" tool and writes down a shapefile. When I run it as a tool, the shapefile is created. But when I export the tool as a service, if invoke the service the ...
1
vote
0answers
70 views

Why Geoprocessing service show only one result?

I've searched a lot before posting this question. I've created with model builder on ArcGIS 10.2.2 a model for clipping a point shapefile. It works correctly on desktop, but when I publish it as a ...
1
vote
0answers
85 views

Is it possible to call a complicated query as a stored procedure within a geoprocessing service?

I need to implement a searching geoprocessing service. A part of the query should be very complicated and use oracle text. My service should support spatial search too. 1) I am thinking of ...
1
vote
1answer
799 views

ESRI Javascript - Print Task GP Service - Symbology Issue

I am using the ESRI js API, and using a python GP service to run a print task to PDF with custom layouts. This works great, except when i have any map service enabled in the map. The layer in the ...
1
vote
0answers
40 views

Delete Rows tool calls local pathway instead of data store scratch pathway

Publishing ETL's as services for automation and using the Delete Rows tool runs successfully in desktop. Publish the results and when the service is run the Delete Rows tool is trying to make the ...
1
vote
0answers
249 views

How to extract xy coordinates to featuretable using ArcGIS web map/app to create points?

I have an ArcGIS online web app to collect points using the services served on our server. The featurelayer exists in our SDE server. How can I extract and update the xy (lat/long) coordinates ...
1
vote
0answers
37 views

How to open an output set that is a list of double values in a geoprocessing service

we are trying to reduce the amount of data we are returning from the server by eliminating returning a polyline and instead returning a collection of values of type GPDouble. When the transaction is ...
1
vote
0answers
453 views

ArcGIS Geoprocessing Service fails on data loading

I have a Desktop Script tool that works fine when run on desktop, but does not work when the results are turned into a geoprocessing serice. Running ArcGIS 10.2 on Desktop and 10.2 on server. I have ...
1
vote
0answers
225 views

GPServer does not exist or is inaccessible

I have successfully published a Geoprocessing Tool as GP services, I had called it with success, but when I try to call it, now it gives me this error GPServer does not exist or is inaccessible for no ...
1
vote
1answer
148 views

Near Geoprocessing service

I created a simple model that includes a near geoprocessing tool with a point feature layer as an input and a line feature layer as a near feature and it works perfectly in desktop. Now I would like ...
0
votes
0answers
25 views

No result visible

From my geoprocessing service, it generates a feature layer as the output. When I run the script first time it says job-succeeded. But in all other attempts, it says job-failed. It creates a result ...
0
votes
0answers
47 views

Submitting GP service fail

I want to download the feature layer which I input as a string parameter to my GP service. When I run the script I got the following errors. First time when I run it: job-submitted gp_service_run2....
0
votes
0answers
29 views

ArcGIS Javascript API - Service to delineate watershed and calculated zonal statistics won't draw results

I am trying to calculate the average raster value over a watershed boundary. I have published a geoprocessing service on geoserver that works when accessed in ArcMAP. The user clicks a point and then ...
0
votes
0answers
65 views

Why is Python toolbox receiving 'none' as a GPDataFile parameter?

I'm building a widget in a WAB template that sends a geotagged photo to a Python toolbox GP service to create a point with the coordinates and attach the photo. I send the request to upload: var ...
0
votes
0answers
83 views

Why does ArcGIS Server 10.1 change path variable to g_ESRI_variable_1?

I've had a problem with my geoprocessing service finding the data it needs for execution. I found out what's causing this is ArcGIS's assignment of a new variable "g_ESRI_variable_1" in the new copy ...
0
votes
0answers
118 views

Get access to attributes of selected features stored in AGOL hosted feature layer from within Web AppBuilder

When you are passing one or more selected features into a geoprocessing widget via the ellipsis (...) in Web AppBuilder, what input parameter type do you use so that you can get access to the ...
0
votes
0answers
68 views

Getting python geoservice ExportToJPEG to return image as job result?

I have an asynchronous geoprocessing service written in python that takes a layer from a mapservice and generates a jpeg image out of it. To achieve this I am using ExportToJPEG I need said ...
0
votes
0answers
102 views

Adding custom error in published geoprocessing service using ArcPy?

Is it possible to replace the default arcpy error message with a custom message using arcpy.AddError(msg) or else for a GP Service published into ArcGIS Server? if I use: arcpy.AddError("This is my ...
0
votes
0answers
130 views

Removing fields from output FeatureSet in ArcPy for geoprocessing service?

The geoprocessing service runs a script that is trying to output a FeatureLayer or a FeatureSet that will contains a selection with only some fields of the original FeatureClass. I dont want to copy ...
0
votes
0answers
671 views

Geprocessing Service: ERROR 000816: The tool is not valid. .Pyt file is fine but .tbx has red x's

I have a .pyt Python toolbox which runs fine in ArcMap and then gives the dreaded "ERROR 000816: The tool is not valid" when published as a GP Service. I've dealt with this issue many times before, ...