Questions tagged [geoprocessing-service]
Geoprocessing services expose the analytic capability of ArcGIS to the world-wide web.
259
questions
0
votes
0
answers
30
views
‘Could not open SDE workspace’ Error when running Multithreaded Calls on a geoprocessing service
I have a python based geoprocessing service running on arcgis server 10.8 which is deployed on several environments. There is an application that makes multithreaded calls (roughly 9 calls ...
1
vote
1
answer
38
views
Implement Script Tool with ModelBuilder as GeoProcessing Service
I built a model in ArcGIS Desktop 10.8.1 and want to implement a script tool at the end (inside the model).
All elements are using relative paths and %SCRATCHWORKSPACE%\ in the file paths (as ...
1
vote
1
answer
30
views
Displaying/geoprocessing with specific column in raster
I have a raster layer (let's call it RL) that is pulling a subset of data from a very large geodatabase. Let's say it has the following attribute table:
OBJECTID
Value
OtherValue
0
200
600
1
300
...
0
votes
0
answers
27
views
GP Service does not update next dropdown list based on previous entry [duplicate]
I have created a tool that takes a numeric value as an input and it creates that many lists according to the first value. It works in ArcGIS Pro desktop however it does not work in WebAPP GP service. ...
1
vote
1
answer
37
views
How to not expose stack trace in geoprocessing service message to client
Lets assume the ArcGIS API for JavaScript code from here:
// ...
async function execute(): Promise<void> {
// ...
try {
await jobInfo.waitForJobCompletion({
statusCallback: ...
0
votes
1
answer
98
views
Reading local file from Geoprocessing Service on ArcGIS Server
I have a Python toolbox which I would like to publish to our ArcGIS Enterprise 10.8.1 environment. I use ArcGIS Pro 2.7.3 for publishing. The Python toolbox reads from a configuration file on the file ...
0
votes
1
answer
82
views
Does Web AppBuilder GP Widget handle validation from Python Toolbox published as GP Service?
I have created a python toolbox in ArcGIS Pro that I want to share as a GP Service. The user inputs their Portal URL, username, password and the GIS Server parameter dynamically provides a dropdown ...
0
votes
1
answer
92
views
Custom Portal GP Service fails for unexplained reason [closed]
I have written a script to create a smoke plume from user inputs (it draws a giant triangle) and then update a number of structure features that are touched by the smoke plume. It works in ArcMap, but ...
1
vote
1
answer
163
views
ArcGIS Custom Printing Service for a Layout With More Than One Map Frame
Recently we've been migrating our manual printing workflows to custom printing services at our ArcGIS Server instance. Everything was fun and games until we stumbled upon some Layouts with more than ...
0
votes
1
answer
215
views
Can a geoprocessing service be added to an ArcGIS Online web map/app?
My question is very similar to Publishing Geoprocessing Service to ArcGIS Online, and is almost but not completely answered by Brad Posthumus as the top answer. Following from that, basically I want ...
1
vote
0
answers
37
views
Standards for adding versioning to geoprocessing scripts?
Is there a standard way to add versioning for geoprocessing scripts and tools?
Currently, I have a folder for each geoprocessing tool which contains:
the python script: this is the script that is run ...
0
votes
0
answers
19
views
Raster Geoprocessing service [duplicate]
I have prepared a tool using ModelBuilder. The tool mask the raster data using the selected feature layer. It works perfectly fine in ArcGIS Desktop but when I publish it to the server and uses it for ...
1
vote
1
answer
69
views
Deploying ArcGIS Pro geoprocessing service in production
I have very little knowledge about the ArcGIS platform but we have built a geoprocessing service that calculates proximity using Python. In development, we deploy the service to server using ArcGIS ...
0
votes
1
answer
103
views
Why does arcpy.Delete_management not work when published in web tool or Geoprocessing Service
I have a tool that I am publishing to ArcGIS Server and the tool runs fine except for one line
result = arcpy.Delete_management(newfolder)
if result.getOutput(0)=="true":
message = "...
0
votes
1
answer
69
views
Checking for Selection in Geoprocessing Widget Web AppBuilder
I published a gp tool and used the out-of-box geoprocessing widget.
When a user selects a layer to be processed, the gp process will call the FeatureService(FS) x number of times to get all the ...
0
votes
1
answer
60
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
1
answer
439
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
1
answer
318
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
1
answer
54
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
1
answer
164
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
1
answer
44
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
1
answer
41
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
0
answers
161
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
1
answer
74
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
1
answer
174
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 ...
1
vote
1
answer
50
views
Passing drawbox polygon to geoprocessor
I am building an app in the ArcGIS Web AppBuilder.
I am trying to pass the geometry resulting from the drawbox dijit to a geoprocessor. Its an extent.
But when I attempt it and log the parameter to ...
0
votes
0
answers
127
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
1
answer
109
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
1
answer
665
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
0
answers
146
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
0
answers
133
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
0
answers
157
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
0
answers
77
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
1
answer
386
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
1
answer
160
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
1
answer
52
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
1
answer
128
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
1
answer
522
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
1
answer
185
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
1
answer
92
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
1
answer
404
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
1
answer
194
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 (...
2
votes
0
answers
244
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
2
answers
262
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
1
answer
660
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
1
answer
420
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
1
answer
117
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
1
answer
2k
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
1
answer
225
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 ...
3
votes
1
answer
727
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 ...