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
0answers
12 views

Raster Analysis in Geoprocessing Service published from ArcMap

I have prepared a tool for Masking the specific portion of the raster dataset using the feature dataset. It works fine in ArcMap but shows the following error while running it on the server. I have ...
0
votes
0answers
15 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
1answer
20 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
1answer
34 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
1answer
21 views

How to check for Selection in Geoprocessing Widget WebApp builder?

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
1answer
27 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
1answer
123 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
103 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
44 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
77 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
35 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
32 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
74 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
47 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
84 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
34 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
81 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
67 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
370 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
104 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
99 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
102 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
64 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
214 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
95 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
44 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
99 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
268 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
99 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
63 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
305 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
122 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
174 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
201 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
464 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
321 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
68 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
1k 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
171 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
1answer
617 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
168 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
123 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
157 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
191 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
355 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
288 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
400 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
190 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
521 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
324 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 ...

1
2 3 4 5