Questions tagged [geoprocessing-service]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
19 views

ArcGIS Server - writing error messages to jobs

I'm trying to aid some of my other teams by improving the error handling when geoprocessing services are being called. In my code I'm handling errors however after publishing that code to the server ...
2
votes
0answers
43 views

Publish geoprocessing service from Python Toolbox to ArcServer 10.7 from ArcMap

I have been trying to publish a python 'Hello, World!' sample geoprocessing service. I have ArcMap 10.7.1 and ArcGIS Enterprise Server 10.71. In Arc Map I started with a new Python Toolbox, and ...
0
votes
1answer
41 views

ArcGIS Python Toolbox expression on Portal (Web Tool in Web App) problem

I wrote a GP tool (Python toolbox) with Expression using GPSQLExpression with updateParameters that manipulates the expression, it works fine on ArcGIS Pro (2.4), but it becomes a String Input on Web ...
0
votes
1answer
34 views

The Calculate Field tool causes an error when used in a geoprocessing service

I wrote a tool that creates a table whith errors and fills an error field. Then I published it on the server as a geoprocessing service. But when I run it causes an error But when I comment arcpy....
0
votes
1answer
36 views

Addressing “Invalid Manifest” error when sharing geoprocessing tool script to ArcGIS Enterprise as a web tool

I wrote a Python script which takes an input Cropland Data Layer raster dataset and a user's defined Region of Interest, and returns a pop-up message telling the user the number of acres of each crop ...
1
vote
1answer
30 views

Deploying localization files for Geoprocessing service in ArcGIS Server

I have a Python geoprocessing tool, it is split in several Python files, When I use ArcGIS Pro to publish it as a service into the ArcGIS Server, all the dependencies are packed and deployed to the ...
1
vote
1answer
29 views

Determining invalid parameters for geoprocessing service

I have a loop that feeds the parameters to execute syncronymous geoprocessing services. When the loop runs it gives me the results when it receives valid params, and I get a generic error for the ...
0
votes
0answers
51 views

Geoprocessing service to import CAD file

I need to publish a geoprocessing service to import CAD file in a Web AppBuilder application and add it as a map service. I tried to use ModelBuilder using the CAD to Geodatabase tool Made the input ...
-1
votes
1answer
35 views

Key differences (pros and cons) between geoprocessing package and geoprocessing service [closed]

What are the key differences between geoprocessing packages and services?
-1
votes
1answer
64 views

Advantages and disadvantages of sharing the existing geospatial tools over the web as geoprocessing services [closed]

So I started learning ArcGIS for Server, in an exercise I needed to answer this question above, sadly I couldn't figure out as to what the advantages and disadvantages were. I have developed a ...
0
votes
1answer
31 views

Passing drawbox polygon to geoprocessor

I am building an app in the ArcGIS Web AppBuilder. I am trying to pass the geoetry resulting from the drawbox dijit to a geoprocessor. Its an extent. But when I attempt it and log the parameter to ...
0
votes
0answers
64 views

rasterio.open() giving parsedpath or unparsedpath error

I am using rasterio to get elevation values from a raster. I am using arcpy module and rasterio module and I have published this script as a geoprocessing service. I am able to run it properly as a ...
0
votes
1answer
54 views

Sharing Data interoperability tools

We have one licence for Data-Interoperability server extension and one for Arcmap 10.6. I want to share some of the tools that I created with some colleagues who do not have the extension. Basically, ...
0
votes
1answer
225 views

00068 Script Script contains broken project data source: CURRENT

Can't share my script as geoprocesing service. The warning message: 00068 Script Script contains broken project data source: CURRENT Here is the script: # Import arcpy module import arcpy arcpy.env....
1
vote
0answers
78 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
77 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 ...
0
votes
0answers
79 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
54 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
1answer
168 views

Get GeoJSON or simple WKT from a GPFeatureRecordSetLayer ArcGIS js API

Is it possible to get the GeoJson representation of a GPFeatureRecordSetLayer that is returned from GPServer task? I am able to draw the feature on the map (using the ArcGIS js API) with code like ...
1
vote
1answer
86 views

Submitting job for GP Service?

I want to pass a feature service as an input(Input parameter type -GPFeatureRecordSetLayer) to a geoprocessing service. can anyone tell me a sample code? I read all the relevant questions available, ...
0
votes
1answer
39 views

Consuming Network Analyst Service not Returning Features in ArcGIS Server?

I am attempting to consume a rest service that I created here. Its just a simple network of streets in the Utah County, Utah area. Basically, it just shows the user the closest EMS service to the ...
1
vote
1answer
80 views

Manually modifying ArcGIS Server Geoprocessing Parameters Data Type?

In ArcGIS 10.5, when I publish a Python Toolbox result as service, the parameters such as GPRasterDataLayer become GPString if these parameters are unfilled when running the toolbox on Desktop. This ...
0
votes
1answer
184 views

Get Messages from Geoprocessing Service

I have created a Geoprocessing service that is hosted on a server inside our firewall (ArcGIS Enterprise 10.6). The GP service adds messages via arcpy.AddMessage("msg"). Locally, I import the toolbox ...
-1
votes
1answer
87 views

Selected location extract data into single KMZ file or Single zip file in ArcGISServer - Python Tool GP Service

I am trying to write the GP tool (Python script), To extract the data for selected location into KMZ file, Please check below code it's executing successfully but written the incorrect zip file ...
0
votes
1answer
52 views

Geoprocessing server tool result has no internal record set object for Save

I'm working with the geoprocessing server tool (GenerateOriginDestinationCostMatrix) imported as a toolbox (OriginDestinationCostMatrix) in ArcMap 10.6. Being asynchronous I use the resultID with ...
1
vote
1answer
251 views

Proxy serverUrl with GP Service that has parameters?

I have a proxy that requests for services get routed through. This is working great for my map services, however I have geoprocessing services as well that must be accessed using the proxy. These ...
0
votes
1answer
97 views

Copy Polygon from one feature class to another, but auto create relationship records

FYI, I have a very limited GIS background, but I can author code. I have a Stands (polygon) layer and I want a user to be able to copy stand(s) from this layer and paste it to another polygon layer (...
1
vote
0answers
144 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
2answers
173 views

Layer to KML GP Service using commas for coordinates instead of points

I have a model that works fine in ArcMap for converting to KML, but when I publish it as a geoprocessing service, only the first attempt from a web application works. All following attempts return KML ...
1
vote
1answer
395 views

SDE Connections in Geoprocessing Service

I have encountered something kind of odd and I'm not sure what's causing it. I have published a geoprocessing service and it's duplicating the SDE connection file during publishing. The code is very ...
0
votes
1answer
296 views

Geoprocessing Service works in ArcMap but not via Server Manager or JavaScript API

I've published a simple geoprocessing service that takes an uploaded zip file and unzips it. The geoprocessing service was published with "uploads" enabled. I have also enabled "Info" level messaging, ...
1
vote
1answer
56 views

Geoprocessing Service with Update/Insert Cursors caused multiple users to conflict?

I have a python script tool that I would like to publish as a geoprocessing service, but I'm not sure it'll work because this script uses multiple update and insert cursors to update database tables. ...
1
vote
1answer
903 views

Geoprocessing Service Failed: Could not service request

I have a geoprocessing service that gives a very basic general error: esriJobMessageTypeInformative: Submitted. esriJobMessageTypeInformative: Executing... esriJobMessageTypeInformative: ...
0
votes
1answer
153 views

Allowing for Variable Inputs when Publishing Geoprocessing Tools to ArcGIS Server?

I have a Versioned Database reading and writing information from both the Desktop Environment and Collector for ArcGIS. I have a Server for ArcGIS, running an Advanced License. I would like users with ...
2
votes
1answer
540 views

Successfully Published Geoprocessing Service Has No Task

I am attempting to use an ArcGIS Desktop 10.5.1 client to publish a Geoprocessing Toolbox to an instance of ArcGIS Server 10.3.1. According to the FAQ, the version difference should not cause this ...
2
votes
1answer
147 views

Cannot access arcgisoutput via url

I have a geoprocessing service which creates a PDF in this directory on ArcGIS Server: C:\arcgisserver\directories\arcgisoutput I can access the file just fine through file explorer, but I need to ...
2
votes
1answer
111 views

Access MXD from geoprocessing service

I have a small geoprocessing service that reads data-driven pages from an MXD, then exports a PDF. mxd = arcpy.mapping.MapDocument(mxd_path) mxd.dataDrivenPages.exportToPDF(r"\\test_report.pdf", "...
0
votes
0answers
132 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 ...
1
vote
0answers
174 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 ...
0
votes
1answer
321 views

ArcGIS for Servers 10.5 Output Parameter not properly set

When publishing ArcGIS Python ToolBox, it still uses the Desktop Output folder. The code below is coming from the toolbox. class LandSimilarity(TargetingTool): def __init__(self): """...
0
votes
1answer
254 views

Passing user-defined feature selection (by location) into geoprocessing widget in web app

I am creating a web based map with a custom script tool that is published as a geoprocessing service. I am using app builder to set up a geoprocessing widget, but am unsure of how to include a user ...
1
vote
0answers
362 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 ...
2
votes
1answer
174 views

ArcGIS Server Geoprocessing Service failing on repeat call

Trying to create a geoprocessing service on ArcGIS for Server 10.3 to do some routing on a networkx graph. The service only works on the first call. It fails on subsequent calls. I note this because ...
5
votes
2answers
469 views

How to publish a model as a service?

I am trying to share a map as a service and overwrite an existing Feature Service in ArcGIS Online. I put together a small model to connect to the database, to publish and replace existing item online,...
1
vote
2answers
289 views

Geoprocessing Failed Error?

Currently, I am having some problems with ArcGIS Online custom Geoprocessing tools. I made a custom tool using ModelBuilder and published it on my portal. Even though they worked just fine with no ...
0
votes
1answer
508 views

Uploading files to local Geoprocessing service

I am trying to upload csv file to geoprocessing service, everything works fine if I replaced the URL and uploaded the file to any GP service published by ESRI but when I try to upload to my local GP ...
1
vote
0answers
161 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
1answer
460 views

esriJobMessageTypeError: ERROR 000816: The tool is not valid

I am trying to publish a model from ModelBuilder so that I can use it on my GIS-Web application, so to start with I have created a model with parameters for buffer, and tested it on ArcMap (Desktop) ...
3
votes
0answers
41 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 ...
1
vote
1answer
202 views

Python script doesn't work after being published

I have the following python script that is used to move zip files from one folder to another and it works fine when executed before being published: import shutil import os dir = r'C:\\arcgisserver\...

1
2 3 4 5