1
vote
1answer
58 views

ArcGIS Geoprocessing Service returning feature class?

I am pretty new to GIS world so sorry for my silly question. My problem is i am trying to send some feature classes from gp services. I have written python toolboxes which does some business logics ...
1
vote
1answer
47 views

Updating MXD layer definitionQuery in arcpy is very slow

The code segment below has been extracted from a larger project. In short, I have an MXD which I want to generate multiple PDFs based on different criteria. The code below works. It loops through ...
0
votes
0answers
30 views

Default error 400 GP clip and ship

I am running this script . I get a 400 error message. The message is the following: {"error":{"code":400,"message":"Unable to complete operation.","details":["Server environment property not found: ...
1
vote
2answers
506 views

Error:The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception

I am developing custom geoprocessing tool (class-library project) on ArcGIS 10.2. This project uses Oracle.DatAccess from ODP.NET 1.0 . This is a simple tool which queries - oracle 10g database and ...
0
votes
2answers
87 views

Any plans to change GP toolbox format (.tbx file) to text-based format?

Have you heard if esri has any plans to change GP toolbox format (.tbx file) to text-based format in future? The issue is that we can't track changes in binary tbx file using source control system. ...
0
votes
0answers
62 views

Is it possible to add python util scripts as shared libraries to esri geoprocessing toolbox?

We have GP tools in GP toolbox OurServices.tbx and some of them are written in Python. We access them via geoprocessing services. However some Python functions are just copy-pasted from one GP ...
1
vote
0answers
108 views

Publishing esri geoprocessing service - upload custom python modules?

I have an esri geoprocessing service which causes problems when publishing to arcgis server. The python scripts behind the service are structured as a custom python module, in a folder with an ...
1
vote
0answers
84 views

Configuring output table popup for geoprocessing widget

I have built a simple geoprocessing widget that produces a table (record set) as its final product. I am trying to simply change how and which fields are displayed. I am using Flex Viewer 3.5 and Arc ...
1
vote
0answers
24 views

Implementing day night functionality [duplicate]

I want to implement day/night functionality on world map i.e there will be dark layer showing countires having night now. This world map could be creaeted through ESRI or SVG map.I want to ...
0
votes
1answer
248 views

What is correct entry to Input Location (GPFeatureRecordSetLayer)*?

I use: http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Network/ESRI_DriveTime_US/GPServer/CreateDriveTimePolygons/execute What is correct entry to Input Location (GPFeatureRecordSetLayer) ...
2
votes
1answer
77 views

Why is pooled geoprocessing service not available via the ArcGIS Rest API?

I'm using ArcGIS Server 10.0. I've published a pooled asynchronous python geoprocessing service. It works correctly using the Rest API. When I configure the service not to be pooled, I can't access ...
0
votes
1answer
124 views

Python geoprocessing performance [closed]

I'm using ArcGIS Server 10.0. I have a python geoprocessing that takes a lot of time. The geoprocessing calculates geometries using points, polygons, buffers, and cursors. I'm also using sql queries ...
1
vote
0answers
65 views

How to check if a GP service (async) has any jobs that are not completed yet?

I am trying to find out a way to tell if a GP service has any jobs that were submitted and are not completed yet. I have noticed that one can see the status of a specific service by using the ArcGIS ...
1
vote
1answer
66 views

Calling Web Geoprocessing Services From Other Programs

Where can I go to find information about calling ArcGIS Server geoprocessing services from other programs like a .NET Framework program or possibly even a SQL Server job? So far, I've found Using ...
2
votes
1answer
299 views

ESRI geoprocessing service with Javascript API 3.5

I am having issues getting a geoprocessing service to run. The service is a simple Python script that converts a table to CSV file. It runs fine in ArcMap. I can publish the service with the input ...
1
vote
1answer
103 views

Messages in JSON output for a Geoprocessing Service from a Model

I have a Model created from Model Builder. It was published as a Geoprocessing Service on ArcGIS Server 10.1 When it was triggered from the REST service, the JSON output printed out the "results" and ...
2
votes
1answer
206 views

Geoprocessing service saved data to scratch gdb

I created and published a geoprocessing service from a toolbox. It works with a file geodatabase on my local drive. When run as a tool in ModelBuilder, it worked well and wrote data into the file ...
1
vote
1answer
236 views

How to create a drop-down list of geoprocessing tasks?

I need to construct a drop down menu with each choice enabling a different geoprocessing task to run over my script. <select id="myList" onchange="environment()"> ...
1
vote
0answers
103 views

GPServer does not exist or is inaccessible

I have successfully published a Geoprocessing Tool as GP services, I had called it with success, but when I try to call it, now it gives me this error GPServer does not exist or is inaccessible for no ...
1
vote
0answers
107 views

How to identify parameters sent from ArcMap to geoprocessing service on ArcGIS Server?

I have a question regarding the use of ESRI geoprocessing services and maybe some of you can give me a hint for the following "problem"... I have set up a geoprocessing service which should solve a ...
1
vote
1answer
78 views

ArcGIS 9.3 geoprocessing service output consideration

I'm developing geoprocessing service which do few processes with geographic data. I would like to get somehow geometry of those data and use it in my web aplication (JS ArcGIS API). Now I'm wondering ...
3
votes
1answer
226 views

AGS 10.1 geoprocessing service returning the wrong URL

I have an image export geoprocessing service that runs on ArcGIS server 10.1. It works by writing an image out to the scratch folder, and returning the location of that image. Basically just this: ...
1
vote
0answers
246 views

Why does a geoprocessing service fail every other time it is run?

I have a ArcGIS Server 10 geoprocessing service right now that takes in a string and runs a parameterized query to SQL Server 2008R2 through pyodbc. The service works, but only every other time. I can ...
4
votes
1answer
242 views

Custom c# GP Tool ArcGIS Server 10.1 - build for 'Any CPU', x86, or 64bit? Does it matter?

I think I understand most explanations of these targets, but I get confused in the context of ArcGIS customizations like this because what we are compiling has to work in conjunction with ArcGIS, not ...
1
vote
2answers
929 views

Access geoprocessing service via REST, get JSON back

I have an ArcGIS Server 10.0 geoprocessing task with a REST endpoint something like this: http://server/arcgis/rest/services/MyService/GPServer/MyTask The task takes a parameter. I was hoping I could ...
2
votes
2answers
692 views

“The tool not licensed” ERROR on a geoprocessing service on ArcGIS Server 10.1

I have a python script which runs well as geoprocesing tool. When published on ArcGIS Server 10.1 as geoprocessing service, however, it throws the following error: Unable to complete operation. Error ...
2
votes
1answer
188 views

ArcGIS Server 10.1 Geoprocessing service weirdly changed file path

I encountered a weird phenomenon on my ArcGIS Server 10.1. I have a geoprocessing tool that exports a mxd file to an image file on my local directory, say "c://map/dir/export/image.png" It worked ...
4
votes
2answers
1k views

ArcGIS Server 10.1 publish geoprocessing tools

I have been trying to publish a geoprocessing tool to our new ArcGIS for Server 10.1 with SP1. I configured the serves to not to copy data to server when publishing services. The tool ran well and ...
4
votes
2answers
505 views

Truncate Table tool with geoprocessing service (ArcGIS 10.1)

A model I built with ModelBuilder works as expected in Desktop yet generates numerous error messages when published as a geoprocessing (GP) service in ArcGIS Server 10.1 SP1. I've decided to start ...
1
vote
1answer
328 views

XY event layer doesn't work with ArcGIS Server 10.1

I have a geoprocessing tool written in Python that contains operations on an XY event layer. It worked perfectly when running from ArcCatalog. When published as geoprocessing service on ArcGIS Server ...
4
votes
2answers
432 views

How to auto-add new values to unique values classification values range?

I am using ArcGIS Desktop 10.1, ArcGIS Server 10.1 & SQL Server 2008 software. I am adding the query layer and directly publishing to ArcGIS Server and accessing the map in a JavaScript ...
3
votes
3answers
363 views

ArcGIS Server 10.1 Python GP script shape as input parameter

I am writing a geoprocessing script that will need to accept a shape as an input parameter. This shape will be obtained by a user drawing the shape in a web application. The web application will ...
1
vote
3answers
1k views

ArcGIS Server geoprocessing service examples for shapefile data export

I have a web application client built using ArcGIS Server Manager which is currently showing a single map composed by three data layers. The map data are provided as a map service by my ArcGIS Server ...
5
votes
1answer
307 views

Good practices for storing connection info while deploying geoprocessing tool on Server

I have a geoprocessing tool written in python. It will be deployed on ArcGIS for Server 10.1 as a GeoProcessing Service and it's processing workflow includes some manipulations with data in SDE ...
1
vote
2answers
88 views

Why is result from gp tool not being created on JavaScript API?

Ok I am really confused. I can see the output of the result from geoprocessing tool. But why am I not able to add it to the map. As you can see the result returns all the attribute values. This is my ...
1
vote
0answers
25 views

Info from the getResultImageLayer missing

I was finally able to get the result layer overlaid on my application but now I am facing another problem. The output of the layer url does not show any field or attribute details. I am not sure why ...
3
votes
1answer
535 views

ArcGIS Server 10.1 and Postgres Geoprocessing Service issue

I'm hitting an error when publishing a model from ArcGIS Desktop 10.1 to ArcGIS Server 10.1. The model I want to publish uses a layer from a Postgres DB defined via a Query Layer in my MXD. The ...
3
votes
1answer
241 views

getResultImageLayer is not working

I am trying to obtain the shapefile output that I am receiving from the gpTool, which is hosted on the ArcServer, and placing it on the Map using, gp.getResultImageLayer(jobInfo.jobId,"final_shp", ...
3
votes
1answer
376 views

How can I debug a geoprocessing service on the server?

I've a geoprocessing script that I'm trying to get working. I've turned on Show Messages, so I can see how far in the script I've gotten before the submitted job fails, but it's not helping, as I'm ...
1
vote
1answer
217 views

Any advice to help troubleshoot failing ArcGIS Server (10.0 sp5) Geoprocesses?

There are a few geoprocesses on a recently restored ArcGIS Server that are behaving strangely. If we turn on 'show messages' and try to run the process from the rest interface, the process will report ...
2
votes
1answer
276 views

Can you script publishing a GP service?

I have a geoprocessing service in ArcGIS for Server 10.1. I would like to share this service with a number of external organisations that also have ArcGIS Server 10.1. i.e I dont want them hitting ...
2
votes
1answer
201 views

How to publish model in toolbox as Geoprocessing Service?

I am using ARCGIS 10.0. I have created a model . This models takes three shape files and return the result in the form of shape file. I run this model and found it works fine and a shape file is ...
4
votes
2answers
721 views

How do I publish a custom .NET GP Tool as a GP Service on ArcGIS Server 10.1?

I have a GP Tool that I am able to publish as a GP service at 10.0. I recompiled the DLL for 10.1 and have followed the steps in the Deploying custom .NET and C++ tools page of the 10.1 help doc. ...
1
vote
1answer
128 views

ArcServer Geoprocessing Service

I originally posted this in the ArcGIS forums, but I haven't been getting any bites. I've developed a set of ArcToolbox Python scripts, which I've been using on certain projects for clients. The ...
2
votes
0answers
306 views

Invalid return value: published arcgis server 10.0 toolbox

I have a published toolbox that is using conditional execution in one of its models: This works fine in ArcGIS Desktop 10.0, and each sub model\script works fine when run separately from this model ...
2
votes
2answers
634 views

ESRI Geoprocessing Script : Runs Fine in Desktop - Crashes as Geoprocessing Service

I have a small and simple geoprocessing script that I am trying to expose as a geoprocessing service in ArcGIS Server 10 SP4. The script is below. Pardon the hard-coding... With the hard-coded ...
2
votes
2answers
334 views

How to create Online IDW(Inverse Distance Weighted) Interpolation?

I have some point data which store as JSON.As follow: [["Lat":"12.12","Long":"23.23","ZValue":"123"],...]. I tried to interpolate them as contour line and displayed them on my ...
4
votes
3answers
692 views

ArcServer 10.1 - Publishing C# Executable as a Geoprocessing Service

I am trying to publish an arcobjects C# executable as a gpservice. We did this in 10.0 by adding it to a toolbox and hitting publish. Using ArcCatalog in 10.1 you must first run the script before you ...
1
vote
0answers
196 views

Geographic limit to overlay analysis in geoprocessing service

Function: I've created a geoprocessing service that serves a toolbox containing a custom python tool. This python tool selects a polygon and buffers it by 1 mile. This buffer is then used to ...
3
votes
1answer
562 views

Is Data Interoperability Extension for ArcGIS Server 10 required to extract data in .dgn format?

I am trying to create a Geoprocessing Task in my .mxd to in order to extract data to .SHP and .DGN formats which will be utilized in a data extraction tool for a web application. Right now, there is ...