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

Where do I save output feature classes from web tools in ArcGIS Pro? [duplicate]

I have a model that creates several temporary layers and then one final output layer. When I run it in ModelBuilder, I specify the output path each time depending on the project I'm working in since I ...
Mutor13's user avatar
0 votes
1 answer
51 views

Create user-specified output path parameters when publishing ArcGIS model as a web tool

I have a model saved in ArcGIS Pro that I'm trying to publish as a web tool, but I'm struggling to create a parameter that allows users to specify the workspace location where the output feature ...
Mutor13's user avatar
0 votes
0 answers
19 views

ArcGIS Mosaic Layer and Geoprocessing Services

When I publish this script tool where I want to make a Mosaic Layer from a mosaic dataset inside a geodatabase on a shared and registered folder: arcpy.management.MakeMosaicLayer(r"\\machineName\\...
MoritzMoreira's user avatar
0 votes
0 answers
21 views

ArcGIS GP service source data gets copied despite registered folder

I have published a script tool that intersects two shape files as a web tool (geoprocessing service). I tried 4 methods to transmit the input files, which all lead to the files getting copied to the ...
MoritzMoreira's user avatar
2 votes
0 answers
62 views

Mosaic Dataset and Geoprocessing Service

Is it possible to create and edit mosaic datasets via web tools / geoprocessing services? I managed to publish and run a script tool performing an intersect with two shape files. import arcpy a = ...
MoritzMoreira's user avatar
0 votes
1 answer
55 views

Publish MDCS as Web Tool: broken project data source

I am trying to publish a Python script as a web tool, where a Mosaic Dataset is created via MDCS (Mosaic Dataset Configuration Script). It flags 00068 Script SCRIPT_NAME contains broken project data ...
MoritzMoreira's user avatar
0 votes
2 answers
91 views

Load a layer from enterprise geodatabase or folder in Python script for publishing as web tool

I have a script that loads a vector layer from an enterprise geodatabase (PostgreSQL database). arcpy.MakeFeatureLayer_management(r"M:\SDE\[email protected]/ven.x.y","vlyr") I ...
MoritzMoreira's user avatar
1 vote
1 answer
35 views

Running a MDCS on ArcGIS Server

I have a MDCS. The script runs without problems in Windows, starting it with a batch file. The aim is to have it running on ArcGIS Server. How can I run it from a toolbox script?
MoritzMoreira's user avatar
0 votes
0 answers
52 views

Adding messages to the geoprocessing service's output using arcpy

I would like to inform a user of some calculation done in the background using the arcpy.AddWarning, GetMessage and Info modules. However, this works on PyCharm just fine, when I publish the tool and ...
Lazlo's user avatar
  • 21
0 votes
1 answer
207 views

Geoprocessing widget. Code runs in ArcGIS Pro, but doesn't do anything in Web App Builder. output clears on completion

I have a layer of polygons representing land parcels, each of these has a number that identifies it as part of an application, I want the user to be able to select one of these polygons, submit it to ...
Keith Johnson's user avatar
0 votes
0 answers
368 views

How do I created a Buffer widget for Experience Builder the creates a Buffer from a selected Parcel or polygon?

How do I created a Buffer widget for Experience Builder so the user can create a Buffer from a selected Parcel or polygon? Can I publish a Geoprocessing tool from ArcGIS Pro such the buffer to AGOL? ...
Jorge Morteo GISP's user avatar
1 vote
1 answer
129 views

Displaying feature class in scratch geodatabase created by Web Tool in Web Map it was run from

At Sharing ArcGIS Pro Python Script as Web Tool gives Analyze error 00068 Script ... contains broken project data source I learned how to fix my paths, use a scratch geodatabase and employ a Result ...
PolyGeo's user avatar
  • 65k
0 votes
1 answer
347 views

Sharing ArcGIS Pro Python Script as Web Tool gives Analyze error 00068 Script ... contains broken project data source

I am using this test script as the source for a Python Script Tool that works in ArcGIS Pro 3.0.2 and that I wish to share as a Web Tool to ArcGIS Enterprise 11. import arcpy arcpy.env....
PolyGeo's user avatar
  • 65k
0 votes
1 answer
95 views

Accessing feature classes with a geoprocessing webtool

I'm writing a script which takes a user input from the geoprocessing widget (a polygon that the user draws), and queries the intersecting layers using arcpy.SelectByLocation_managment(). The tool then ...
littlerhizomeman's user avatar
0 votes
0 answers
41 views

How to receive the toolbox's messages

I developed a toolbox that reads an Excel file and fills up a feature layer. The toolbox works fine I just want to receive the messages at the client side to add a messaging log for the user to follow ...
Michael Sodovski's user avatar
0 votes
2 answers
259 views

Is there a way to show PDF file from ArcGIS Server through a geoprocessing tool in web app?

I was wondering if it is possible to read a file .pdf file from server by providing some input to geoprocessing service (tool that I will publish) and add the PDF file to the WebApp so that WebApp ...
Fatih Enes's user avatar
1 vote
1 answer
195 views

Publishing Web tool that works with data on Portal for ArcGIS and using it in Web Appbuilder

I am trying to publish a web tool from ModelBuilder in ArcGIS Pro. Inside my model there is (besides other things) a script. This script works with data on the same Portal that I want to publish the ...
Martin's user avatar
  • 1,263
0 votes
1 answer
151 views

Access user calling a web tool

I am currently developing a GP Tool / WebTool for ArcGIS Enterprise. Main goal of the tool is to write what3word tags to point features. Workflow is as follows: User selects a layer in the webmap Run ...
Bernd Loigge's user avatar
  • 2,296
3 votes
1 answer
217 views

Delaying running of geoprocessing script in ArcGIS Server

I have a python geoprocessing script published to ArcGIS Server. The script adds domains and updates domains in a geodatabase. This script gets called by Maximo relatively infrequently, but when it ...
Fezter's user avatar
  • 21.8k
1 vote
1 answer
595 views

Exporting custom geoprocessing tools from ModelBuilder to Experience Builder Web App

I want to build an Experience Builder web app that incorporates custom geoprocessing tools I've built in ModelBuilder using ArcGIS Pro. Is this possible?
pcampbell's user avatar
0 votes
0 answers
226 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 ...
mayro's user avatar
  • 1
1 vote
1 answer
150 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 ...
geosoldier72's user avatar
1 vote
1 answer
33 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 ...
kroppian's user avatar
1 vote
1 answer
100 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: ...
Thomas's user avatar
  • 1,695
1 vote
1 answer
565 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 ...
Thomas's user avatar
  • 1,695
0 votes
1 answer
253 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 ...
Tigerwoulds's user avatar
0 votes
1 answer
170 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 ...
Smasher's user avatar
  • 51
1 vote
1 answer
567 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 ...
salgado's user avatar
  • 25
0 votes
1 answer
639 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 ...
lst's user avatar
  • 1
1 vote
0 answers
58 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 ...
sdMarth's user avatar
  • 141
0 votes
0 answers
31 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 ...
Shraddha Sharma's user avatar
1 vote
1 answer
145 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 ...
Neo's user avatar
  • 11
0 votes
1 answer
209 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 = "...
Gary Lester's user avatar
0 votes
1 answer
174 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 ...
AdamGIS's user avatar
  • 149
0 votes
1 answer
153 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 ...
MoxGoat's user avatar
  • 13
3 votes
1 answer
679 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 ...
freshop's user avatar
  • 131
0 votes
1 answer
546 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 ...
Rocco's user avatar
  • 3
0 votes
1 answer
64 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....
Lora's user avatar
  • 45
0 votes
1 answer
241 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 ...
ZokChoy's user avatar
1 vote
1 answer
92 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 ...
XtianGIS's user avatar
  • 782
1 vote
1 answer
79 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 ...
Lefteris Koumis's user avatar
0 votes
0 answers
267 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 ...
Ibrahim Mohammed's user avatar
-1 votes
1 answer
120 views

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

What are the key differences between geoprocessing packages and services?
OSL's user avatar
  • 111
-1 votes
1 answer
278 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 ...
OSL's user avatar
  • 111
1 vote
1 answer
64 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 ...
Javrel's user avatar
  • 39
0 votes
0 answers
196 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 ...
PyVad's user avatar
  • 1
0 votes
1 answer
179 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, ...
Vlad Dumitrescu's user avatar
0 votes
1 answer
1k 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....
Jack's user avatar
  • 1
1 vote
0 answers
199 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. ...
anakaine's user avatar
  • 270
1 vote
0 answers
170 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 ...
Mellema's user avatar
  • 39

1
2 3 4 5 6