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

learn more… | top users | synonyms

-1
votes
1answer
22 views

Building geoprocessing service using ArcGIS ModelBuilder?

Using ArcGIS 10.4 for Desktop, I am trying to build a model to be published as a service. this model should take shapefile and table as inputs and run "Join Field" tool on them then i am using "...
0
votes
0answers
35 views

Removing fields from output FeatureSet in ArcPy for geoprocessing service?

The geoprocessing service runs a script that is trying to output a FeatureLayer or a FeatureSet that will contains a selection with only some fields of the original FeatureClass. I dont want to copy ...
1
vote
0answers
18 views

Retrieving user information in ArcGIS Server token protected geoprocessing service using ArcPy?

I have a geoprocessing service on ArcGIS server 10.3 that is protected with tokens. This GP Service is a python script. Is it possible to retrieve the user information, such username and password, ...
0
votes
2answers
68 views

ArcGIS 10.3.x - Publishing GP tools as GP services using Python 32- or 64-bit dependencies

Desktop environment: Windows 10 64-bit, ArcMap 10.3.1, Python 2.7 32-bit (installed by ArcMap) Server environment: Windows Server 2012 64-bit, ArcMap 10.3.1, ArcGIS for Server 10.3.1, Python 2.7 32-...
0
votes
0answers
20 views

Using Geoprocessing Service Data Access?

I am trying to move a geoprocessing tool from ArcGIS 10.1 to 10.4.1. I moved everything over from the old server and was able to publish the service without any errors (and run the model from 10.4.1 ...
0
votes
0answers
14 views

Adding geoprocessing tool from ArcGIS Server to ArcGIS Viewer for Flex?

I am working on developing a web application for network analysis in ArcGIS Viewer for Flex. I have published both the data and the tools in ArcGIS Server but now I'm stuck adding the tools from ...
1
vote
1answer
41 views

Create user defined file output location for geoprocessing on ArcGIS for Server 10.3

I am working on a geoprocessing service that allows a user to interactively select shapes and then download a .dbf file of the selected shapes. The tool was created in modelbuilder and uses the copy ...
2
votes
0answers
29 views

3D Visualization in 3D [closed]

We have published a geoprocessing tool that gives Raster dataset as output. we are using arcgis javascript api 4.0 version to visualize it on map. But when we use gp.getResultImageLayer , the event ...
1
vote
1answer
34 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
67 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
41 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
28 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
40 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
66 views

Geoprocessing Service crash while executing [closed]

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
81 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
38 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
15 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
39 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
41 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
162 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
68 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": "foo,bar,hello,...
1
vote
1answer
78 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
76 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
78 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
40 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
63 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
67 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
77 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
111 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
60 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
111 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
91 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
73 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
169 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
188 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
86 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
74 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
25 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
70 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, newExtent....
1
vote
1answer
220 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
94 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
278 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
56 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? http://VM01-AG01-NJ:6080/arcgis/rest/services/...
2
votes
2answers
312 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
61 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
113 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 ...
2
votes
1answer
224 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
122 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
29 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 ...