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

learn more… | top users | synonyms

1
vote
1answer
31 views

Is it possible to make an installer for a published tool, to install the tool to someone else's ArcGIS server?

I have a geoprocessing tool that works on my instance of ArcGIS for server. Is there a way to easily install this on someone else's Server, without having them run the tool and publish it through ...
2
votes
2answers
44 views

ArcGIS Server - Can python GP services returns json data to client through REST?

Can python GP services returns json data to client through REST? Imagine I have a python GP service that creates buffers around points and then merge the polygons together. I would like to send the ...
4
votes
1answer
30 views

Getting points digitized in Web AppBuilder geoprocessing widget back over to original coordinate system for calculations?

This is a follow-up question to Having two input feature layers and derived output feature layer in ArcGIS Python Toolbox tool?. The following Python Toolbox tool accepts one or more points from the ...
2
votes
1answer
22 views

Geoprocessing service fails only on some AGOL hosted layers and not on others

What I'm using: ArcGIS For Server 10.4, ArcMap 10.4, ArcGIS Online I created a geoprocessing service using ModelBuilder that selects points from a layer based on a certain field, "XYZ". It buffers ...
0
votes
0answers
21 views

ArcSoc used up its stack

My published Geoprocessing service crashs always when I start it. Now I found the following error in the dump file: Error Message: The thread used up its stack I didnt use any loop in my arcpy ...
4
votes
0answers
43 views

Geoprocessing Service crash while executing

I have created a geoprocessing service, which can print a webmap(JSON) to a PDF or PNG. The ArcGis for Server and ArcGis for Desktop are running on my workstation. The Website, which host my webmap ...
0
votes
0answers
8 views

Map export templates locale

I have created a map export template, where labels and scalebar labels are shown fine when the map export service is published on gis servers where the windows language is english. However, when ...
1
vote
1answer
46 views

In_memory workspace in geoprocessing services

I have a arcpy python script that runs a process that I publish as a geoprocessing service on ArcGIS Server 10.3.1. The python script uses various input feature classes. These feature classes are ...
1
vote
2answers
27 views

WPS processing WFS 2.0 INSPIRE data

I am writing in the hopes that there is somebody here that might know/use a GIS server solution, that has WPS functionality which would allow me to use data from a WFS 2.0.0 GIS service, which serves ...
1
vote
0answers
9 views

How to share business logic among multiple applications using different apis with arcgis?

I've been working with ArcGIS and Esri WPF API for a year, but now me and my job colleagues felt the need to build a new application using the Esri Javascript API. Our application using WPF API has a ...
2
votes
1answer
31 views

Relative Path issue within Model Builder

I keep getting a 000229 Error that my model cannot open the output from the first task and use it as an input for my second task. I am using relative paths because the model is intended to be ...
0
votes
0answers
33 views

how to export selected data to json format

I have a layer called parsel. I want to export all history of this layer. I created parselall_view with history tables (A,D) , I want make a geoproccessing service that service all data of ...
2
votes
1answer
105 views

ArcGIS Geoprocessing Service Output Location

I am publishing an ArcGIS geoprocessing service using a Python script tool and can't seem to figure out the correct output path to use. I would like to share the results as a map service, which means ...
3
votes
1answer
62 views

Arcpy geoprocessing script running with default inputs

I have a pretty simple geoprocessing script. My javascript is supposed to be passing it a list of layers to query. Something like this for the Javascript: var params = { "Layers": ...
1
vote
1answer
57 views

What would cause a geoprocessing service to say “Cannot Open 'FeatureClass' Failed to Execute”?

I have a really basic geoprocessing script that's published to ArcGIS Server 10.2.2. It basically just reads in a json object that's passed in as a parameter. The json just has attribute names and ...
2
votes
0answers
72 views

Output from geoprocessing service [closed]

I am using ArcMap 10.3.1. I have created a custom tool using a python script, the code for which is listed below, that uses a lookup table to reclassify vector data. When run on the local machine the ...
0
votes
0answers
76 views

arcpy UpdateCursor throws exception on geoprocessing service?

I wrote Python code that changes the state of a feature by ID. I am not using a Python Toolbox (.pyt). I wrote a python script and added it into a standard toolbox (.tbx). Using ArcGIS Desktop ...
0
votes
0answers
33 views

GP Service to display XY Data from CSV/Excel in a Flex/Silverlight Viewer

I've created a GP Model in ArcGIS to display XY data from either a CSV/Excel file and write that to a SDE feature class in SQL Server. The model consists of a copy rows tool into a Make XY Event ...
1
vote
0answers
48 views

How to parameterize query sent with arcpy.ArcSDESQLExecute class [closed]

I have been developing a geoprocessor which takes user inputs as strings to develop a dynamic sql statment sent to MSSS from an ArcSDESQLExecute class. The app will only allow for controlled input, ...
1
vote
0answers
58 views

How to display geoprocessing service results in an ArcGIS Online Map?

I am implementing a python script that filters features in a feature service. For this I used the following lines of code: import arcpy # URL with service, where clause and field parameter baseURL= ...
0
votes
1answer
68 views

Can't execute a simple psycopg2 script twice when running from ArcGIS Desktop as a script tool

I'm building a geoprocessing service that queries an SDE database (running on postgres) and returns results. I do a lot of development by calling the script from a toolbox in ArcGIS desktop 10.3. ...
1
vote
1answer
96 views

arcpy.PackageWorkspace doesn't keep reference to SDE enterprise geodatabase

I am publishing a geoprocessing service on ArcGIS Server v10.3.0 that updates data on an ArcSDE Enterprise Geodatabase. I have the following at the beginning of my script: arcpy.env.workspace = ...
3
votes
1answer
52 views

Referencing Dataframe with ArcPy in Geoprocessing Service?

I have a geoprocessing service that was successfully published to our Server instance. I'm using 10.3 which means we could not publish unless it was successfully run as a tool in ArcMap. But now when ...
0
votes
1answer
90 views

Can I call 32-bit python from an ArcGIS Server 10.3.1 GP Service?

I've developed a geoprocessing service that accepts a personal geodatabase as an attachment. After this MDB is copied to the server, I'd like to use ArcPy to open it, edit some feature classes, then ...
0
votes
1answer
74 views

Return FeatureLayer in geoprocessing REST service

I have created a Python Script Tool that returns a FeatureLayer using the following two lines of code: arcpy.MakeFeatureLayer_management(scratch_fc, "GeocodedZIPsLayer") arcpy.SetParameterAsText(1, ...
0
votes
1answer
56 views

Retrieving User Input using ArcGIS API for JavaScript?

I am using the ArcGIS API for JavaScript to build a web application. Within the web app a geoprocessing service is executed which requires an input that is user dependent. I thought of a text box ...
2
votes
1answer
141 views

How to set up geoprocessing tool and geoprocessing service to produce downloadable output in Web AppBuilder

I want to create a simple application in ArcGIS Web AppBuilder which uses geoprocessing service to generate output file. I have a simple Python script which generate a TIFF image from a complex map ...
0
votes
0answers
138 views

Geprocessing Service: ERROR 000816: The tool is not valid. .Pyt file is fine but .tbx has red x's

I have a .pyt Python toolbox which runs fine in ArcMap and then gives the dreaded "ERROR 000816: The tool is not valid" when published as a GP Service. I've dealt with this issue many times before, ...
1
vote
1answer
80 views

Using Python script to create map from external source via ArcGIS for Server?

Is it possible in ArcGIS Server to write a python script to pull features from a third party database in real-time? Essentially I want to create a service where I can pass in filter parameters (BBOX, ...
1
vote
1answer
72 views

ArcGIS Server Geoprocessing Service fail to run a WeightedOverlay process

I have a simple python script that runs a Weighted Overlay process. This script runs fine locally but when I publish it to ArcGIS Server and submit the job through the REST service page, it gave me ...
0
votes
0answers
19 views

esri.geometry.normalizeCentralMeridian error on calling gp.submitJob

I'm getting an error Error: esri.geometry.normalizeCentralMeridian: 'geometryService' argument is missing. when I call submitJob on my GP service. I'm not making a call to normalizeCentralMeridian ...
0
votes
1answer
63 views

Setting extent on web map to pass to geoprocessing service?

I find example to set map extent that works ok in ArcMap via .. mxd = arcpy.mapping.MapDocument("CURRENT") .. df = arcpy.mapping.ListDataFrames(mxd)[0] newExtent = df.extent newExtent.XMin, ...
1
vote
1answer
167 views

Python geoprocessing output parameter as feature layer on arcgis javascript api?

How i can get result of this query in Arcgis Javascript Api?? or how i should publish the its services to work and send for me result?? i run this query and it works in ArcMap but when i publish it , ...
2
votes
1answer
83 views

Should ArcGIS change the path of a gdb to the server data store when publishing a GP service?

I've published a GP service to ArcGIS server and it fails when I try to run it. The workspace is a file GDB on the local network, and the script contains a UNC path to it. There is a copy of the data ...
2
votes
0answers
230 views

Running a geoprocessing service on selected data in ArcGIS web appbuilder

I am looking to run a geoprocessing service on a selected subset of feature data in a web app. I can use the entire feature layer as a parameter, but cannot seem to use only features selected either ...
0
votes
1answer
54 views

Executing published geoprocessing service for customized GP tool from Python scripting?

I have published the geoprocessing services for a GP tool. How can I use this link in python scripting to execute the GP tool? ...
2
votes
2answers
249 views

How to write log messages from arcpy to ArcGis server?

Published geoprocessing services write logs that are available at ArcGis Server Manager (arcgis-server/arcgis/manager/log.html) Arcpy has AddMessage, AddError, etc methods for logging, but they are ...
0
votes
0answers
56 views

ArcGIS Server returns an empty result

A Model Builder tool has been set up as a geoprocessing service on the server. The tool consists of Python scripts and native Model Builder functions. Unfortunately, I did not write this tool but it ...
0
votes
1answer
93 views

Arcpy unzipping script: ERROR 000714 Error in executing: cmd.exe /C

I wrote script for unzip archive with GDB. It works locally, i.e from ArcGis Desktop. But when I publish scrypt as geoprocessing service, it doesn't work - ERROR 000714: Error in script Zip22. Error ...
1
vote
1answer
172 views

How to publish python toolbox with lots of tools in ArcGIS Server 10.3?

I have python toolbox with like 40 tools and I need a quick way to publish the whole toolbox. I found some instructions in the documentation, they state that every tool should be executed and their ...
0
votes
0answers
116 views

Why does gp service change path of scratch data resource?

I'm extremely confused. I have a python script that works fine locally. When I publish it as a geoprocessing service, it publishes fine, but execution of the service fails. The tool creates an ascii ...
1
vote
1answer
28 views

Is it possible to publish a geoprocessing services that uses another dll?

I have a functional model (Note: not something from ArcGIS Model Builder) that is distributed as a compiled dll that I want to access via ArcGIS. Right now I am writing python wrappers to ...
1
vote
0answers
83 views

How to set output parameter to a zip file in a custom geoprocessing function tool?

I'm trying to write a custom geoprocessing function tool in ArcObjects that I can then expose as a service on ArcServer. The output parameter will be a zip file that contains a filegeodatabase. I ...
2
votes
1answer
229 views

How do I get JSON data into Python script from a ArcGIS geoprocessing service?

I am using Network Analyst to calculate the travel time from point A to point B. I need to do this for thousands of points, so the obvious solution is automating in Python. While I can write a script ...
0
votes
1answer
111 views

Failed to run Local Geoprocessing tool in ESRI runtime sdk

I have created a gpk using the below python script in ArcGIS 10.3.When trying to consume as Local geoprocessing service in 10.2.5,I get below errors. The application is running using developer ...
0
votes
0answers
132 views

geoprocessing service errors 010429, 010302, 010067- works as script tool but not as gp service

I have a Python script that creates constant rasters based on user input. The script works when run as a script tool in ArcMap, so I can publish it as a geoprocessing service. But when I run it as a ...
0
votes
0answers
113 views

result map service in geoprocessing

I have created python script tool to select feature based on attribute and it works fine in arcgis desktop. I have published a geoprocessing service using above python script tool without any error. ...
0
votes
0answers
236 views

“ERROR 000800: The value is not a member of” when calling GPservice with javascript API

I've published a GP tool with a string choice list input but when I try and call it, I get error 000800. Request URL: ...
1
vote
1answer
161 views

How can I reproduce the ArcMap “Select Layer By Attribute” tool as a Web Service Geoprocessing Tool?

I would like to reproduce the Select By Attributes tool below in ArcMap as a geoprocessing tool to be consumed as a service in a Portal for ArcGIS Web App. I am not a developer, so I would appreciate ...
0
votes
0answers
56 views

Creating a 'tooltip' for variables in a Choice list - ArcGIS Model Builder/GeoProcessing

I've created a GeoProcessing task that allows users to select a series of variables (raster files) from a choice list. The results of which are sent into a raster calculation process. Unfortunately ...