Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [geoprocessing-service]

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

1
vote
0answers
30 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
24 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
40 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
21 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
58 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
59 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
0answers
52 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
1answer
22 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
47 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
33 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
53 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
31 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
76 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
35 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
84 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
92 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 ...
0
votes
1answer
240 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
163 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
45 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
460 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
95 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 ...
0
votes
1answer
335 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
85 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
77 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
74 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
116 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
205 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
163 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
264 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
1answer
124 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
315 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,...
0
votes
1answer
348 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
119 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
290 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
38 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
152 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\...
3
votes
1answer
1k views

Web Services that Converts Lat Lon to Zip Code

Does anyone know of a Web Services that can convert a Lat Lon to a Zip Code?
1
vote
1answer
547 views

Converting dwg to shapefile using arcpy and ArcGIS js

The following code in arcpy is used to convert a dwg file into shapefile and it works perfectly when you run it within ArcMap: import sys, zipfile, arcpy, os, traceback from arcpy import env # Set ...
0
votes
0answers
113 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 ...
2
votes
1answer
51 views

ArcMap 10.5: Point layer's custom symbols not all exporting with geoprocessing

I am using a Geoprocessing Service to export (package and send email to download) an mxd with it's sourced file geodatabase. One of the point layers in my mxd has custom symbols. Once I export my ...
0
votes
1answer
98 views

Geoprocessing return not showing on map?

I have a geoprocessing service that works fine in ArcMap and ArcGIS online. http://argis.ualr-iea.org/arcgis/rest/services/geoServices/SiteFinder/GPServer/FindSites. I am trying to integrate it into ...
2
votes
1answer
340 views

How to set up geoprocessing service to fill out PDF form from within Web AppBuilder

I am trying to get Web AppBuilder (version 2.4) to fill out and return a PDF file as a downloadable link. I have ArcGIS Desktop 10.4.1 and ArcGIS Server 10.4.1 installed on the same machine. I have ...
2
votes
1answer
41 views

Why is the Upload checkbox for GP Services missing when publishing to ArcGIS Server on Amazon EC2?

I am trying to publish my own GP services to a GIS server instance with ArcGIS Server 10.4.1 built on Amazon EC2. In the service editor window, I do not see the "Upload" checkbock that typically shows ...
1
vote
1answer
93 views

Can I interactively type multiple string records as input for GP Widget?

I am running a GP script tool where a required input is set up as a RecordSet for the user to type multiple string values that will be used by the tool for further analysis. However, when I publish my ...
2
votes
0answers
105 views

Can users change symbology of GP output operational layer with Web AppBuilder? [closed]

I built a very simple Python GP script tool in ArcMap 10.4.1 that takes a user input file (e.g. csv) and returns a Point Feature Layer using XY coordinates from the input file. After I published the ...
2
votes
2answers
214 views

Inputting JSON file as variable in ModelBuilder using ArcGIS?

I am using ArcGIS 10.3 and trying to create a Geoprocessing service using ModelBuilder, the input of my GP service is in JSON format. Is it possible to set up the ModelBuilder to accept the JSON ...
1
vote
0answers
36 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
1answer
165 views

Publish geoprocessing service on AWS ArcGIS Server [closed]

I'm planning to use the following stack on Amazon AWS: - Esri ArcGIS Enterprise 10.5 on Ubuntu with Postgresql (Dec 2016) Can be found on this link: https://aws.amazon.com/marketplace/pp/B01N5HOYPC?...
1
vote
1answer
54 views

Is there a way to automate PDF reports in Grass GIS through the web?

I am an experienced programmer, but new to GIS. My question: I would like to automate the creation of PDF reports from a website, using Grass GIS. I've come across Web Processing Service (WPS) (http:...
0
votes
1answer
139 views

arcpy.SetParameter() - Problem passing escaped string as geoprocessing service output

I have a geoservice that get some text stored from a table in order to return a json string to a javascript client. However, the arcpy.SetParameter() seems to have problem to returns the escaped new ...