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

learn more… | top users | synonyms

0
votes
0answers
51 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
13 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
29 views

How to parameterize query sent with arcpy.ArcSDESQLExecute class

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
32 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
45 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
59 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
42 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
52 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
47 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
36 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 ...
1
vote
1answer
80 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
86 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
53 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
52 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
9 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
51 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
2answers
101 views

python geoproseccing 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
58 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 ...
1
vote
0answers
139 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
49 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
128 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
50 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
58 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
108 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
95 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
26 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
74 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
165 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
94 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
91 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
98 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
147 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
111 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
38 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 ...
-2
votes
1answer
72 views

Fail to publish GP as a service

I have no idea what the issue is here, I created this scripting tool which works fine when I run it through ArcGIS desktop. However, for some reason, I am unable to publish the tool as a service.The ...
0
votes
1answer
57 views

GP Service analyser gives error 00068: broken project data source

I'm trying to publish a GP result to both my live and dev servers. I ran the tool, clicked on the result and published to the live server without a problem. Then I clicked on the same result and ...
1
vote
1answer
88 views

How can I programatically set the “Description” for a ArcPy Geoprocessing Service?

When I create a Python Toolbox (pyt), I set the name and description of the toolbox. When I create the parameters, I can set their name, type, default value, in/out, etc. Basically, everything that ...
1
vote
1answer
43 views

Aggregating data in 100m*100m blocks on map

I get customer lat long from an app and my use case is I need to display number of users present in 50m*50m or 100m*100m(deployment time decision) blocks on map. Some what like below image. No zoom ...
0
votes
1answer
50 views

ArcGIS GP Tool as sd file with multiple scripts

Is it possible to add multiple script files containing other python classes, config etc, and even .sde connection files when publishing service definition from arcmap? I do not have access to the ...
3
votes
0answers
78 views

Publishing a geoprocessing service that imports modules besides arcpy?

I'm trying to publish a geoprocessing service (10.2.1) that will be used to generate a PDF from a webmap using an MXD layout as a template. The problem is that if I try to import any module besides ...
0
votes
0answers
57 views

Consume gp service from within ArcMap and add results to display

I have created a gp service and published it to ArcServer. I know the gp tool is working successfully as when I consume it in a web application it works fine, and results are added to the map. ...
0
votes
0answers
24 views

ArcGis Viewer for Flex: Data Layer is not supported

I have a problem with the ArcGIS Viewer for Flex. I have a model it calculates minimum and maximum of raster datasets. If i share with the Flex and add the geoprocessing service to a widget, after if ...
0
votes
1answer
76 views

How to pass a line feature as a GPFeatureRecordSetLayer parameter to a geoprocessing service using the JSAPI?

Can some one tell me whats wrong here. The geoprocessing job always fails and i don't see much info in firebug to debug. This is my code to generate the feature set. var inputFeature = { ...
0
votes
0answers
57 views

Accessing services.arcgisonline from a local print task behind a proxy

I'm calling a standard ExportWebMapTask published on a local server. This server is behind a firewall. The print service internally has to make a call to services.arcgisonline to retrieve basemap ...
0
votes
1answer
133 views

How to publish the Manage map server cache tile (Server) tool as an arcGis geoprocessing service?

I need to publish the Manage map server cache tile on the arcgis server as a geoprocessing service. As a result I will be able to update the tiles of a tiled service through a service call. I face ...
2
votes
1answer
43 views

Network Diffusion Map

I am working on an interactive map which I vision to have a similar structure to diffusion networks. I have data to pin point an event and I would like to show those involved with said event, and ...
0
votes
1answer
58 views

Changing ArcSDE connections number without SDE command toolkit?

In arcgis 10.2 is there any way to change the config properties and specifically the max connections of the sde without having to install and use the sde commands?
0
votes
0answers
102 views

ArcGIS Server geoprocessing service throws ERROR 000732: Input Features: Dataset <MyFeatureClass> does not exist or is not supported?

I have a script in Python, that works well when I ran it in ArcMap. When I tried to execute it in ArcGIS Server as a service I got this error: Failed to execute. Parameters are not valid.  ERROR ...
0
votes
0answers
46 views

How to publish a IDW GP service with python in ArcGIS 10.1?

I know someone has ask a question about how to publish a gp service with python.And the answer is using arcpy.CreateGPSDraft. But My geoprocessing tool is IDW, and I find the return value isn't a ...
0
votes
0answers
157 views

Arcgis Web AppBuilder GP service can't get input interactively drawing on the map

I use a ModelBuilder build a model which is "Buffer" in ArcMap.It can run successfully.And then publish the service.In web AppBuilder I choose the input point set mode as interactively drawing on the ...