Tagged Questions
0
votes
1answer
23 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 ...
0
votes
1answer
34 views
Error code 500: Geoprocessing Task Failed
We are calling custom Geoprocessing Tool from sliverlight application. This GP Tool throws an below error. When I take a request from fiddler and copy in IE and execute also fails with below message. ...
3
votes
0answers
61 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
49 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 ...
2
votes
0answers
65 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 ...
0
votes
2answers
158 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
215 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
0answers
109 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
248 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
224 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
133 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
173 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
188 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
2answers
398 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 ...
4
votes
1answer
120 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
55 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 ...
0
votes
0answers
62 views
Flaw in JavaScript API
I have been building a Model builder which is hosted on the ArcServer to execute a geoprocessing task which then returns the result as a Map Layer which is overlaid over the basemap. I have been using ...
1
vote
0answers
17 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
298 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
145 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
130 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
118 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
147 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
111 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
1answer
270 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
99 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
140 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
438 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
0answers
180 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
454 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
157 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
393 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 ...
4
votes
1answer
250 views
Hosting geoprocessing tool on geoserver
Like ArcGIS Server, is there a way to host, geoprocessing tools onto Geoserver?
1
vote
1answer
181 views
Error 000204 using “Export Feature Attribute to ASCII” Tool on ArcGIS Server 10
I´m trying to export feature attributes to a CSV-File (on ArcGIS Server) to use them in other applications (using the "Export Feature Attribute to ASCII" Tool).
While the tool is working ok in a ...
0
votes
1answer
352 views
How do I tell my geoprocessing service which sde feature class to update
I want to have a geoprocessing service update sde. I am getting an I/O Error saying data doesn't exist. I imagine because the connection file (copied from my ArcCatalog folder) I placed next to the ...
0
votes
1answer
187 views
One large polygon or many little ones. What is better regarding performance?
I´m designing a geoprocessing service on ArcGIS Server using several nationwide datasets.
Currently I´m preparing some of the datasets and I´m wondering if I should dissolve my polygon layers ...
0
votes
1answer
361 views
Does CopyFeatures from in_memory via Python script tool cause General function failure for you?
The Python code below looks pretty straightforward.
import arcpy
if arcpy.Exists("D:/temp/test.gdb"):
arcpy.Delete_management("D:/temp/test.gdb")
if arcpy.Exists("in_memory"):
...
0
votes
1answer
224 views
How to update raster or feature layers being used by ArcGIS Server by a Model
I have a mxd file that contains a few raster and feature layers that was published by ArcGIS Server as a map service. Meanwhile, a model was created to update the contents of the raster and feature ...
3
votes
3answers
1k views
Geoprocessing with ArcGIS Server 10.0 - %scratchworkspace%
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Key_concepts_for_geoprocessing_services/002v00000002000000/
I'm trying to have a new GP Service arcpy.AddMessage() the scratchworkspace ...
3
votes
2answers
705 views
Geoprocessing ArcGIS 10: Sending lat/long/elevation data to a geoprocessing service
I have a silverlight application that allows the user to select points to make a polyline. The polyline is densified per the users input (say every two feet). The new points are sent to an esri ...
0
votes
1answer
948 views
How to resolve an Invalid Topology [Incomplete void poly] error from a geoprocessing service?
I am consuming a geoprocessing service from my Flex application.
My geoprocessing service takes the input geometry, and intersects another layer. It then runs a Summery stats on the intersection ...
1
vote
0answers
262 views
Access Geoprocessing results in Flex Viewer (Enhanced) Search Widget
I have Robert Scheitlin's Enhanced Search Widget up and running successfully with my MapService using ArcGIS Server and Flex Viewer 2.3. I also have a geoprocessing service that returns a point layer ...
0
votes
4answers
296 views
GIS data - Geoprocessing Service to receive data
I would like to move 8 shapefiles from one intranet to another intranet via arcgisserver (or an other method). Creating a FTP site is not an option. I think I saw somewhere on how to send data to a ...
4
votes
2answers
687 views
Is it possible to publish a geoprocessing services that uses a custom gptool on ArcGIS Server 10?
I have developed a custom GP tool in C# which does a bunch of processing on a given layer.
It works great in ArcMap on all machines that I have deployed it to. I created a model which uses this tool ...
4
votes
1answer
92 views
Is it possible to use RPy/RPy2 in a Geoprocessing Script that is exposed as a GP Task on ArcGIS Server?
Is it possible to publish a Script tool that uses the RPy/RPy2 module (or more generally any Python-to-R link) to ArcGIS Server 10 SP2? If so, what specifically do I need to do, i.e. Install R on the ...
5
votes
1answer
249 views
ArcObjects 10 Java SDK
I am being tasked with converting a AGS georpocessing toolkit currently written in AO 10 C# SDK to AO 10 Java SDK. Are there any resources out there which show an end to end example of creating an ...
4
votes
2answers
951 views
ArcGIS Geoprocessing Services - Don't work if 'Run python script in process' not checked
I have a standard geoprocessing toolbox that I am exposing as a geoprocessing service. The tools in this toolbox are plain 'ol python scripts. All of this is being done in ArcGIS 9.3.1.
As a ...
3
votes
1answer
559 views
Workaround for Raster data input in ArcGIS Server Geoprocessing Service
UPDATE
I have accomplished the Python script, but only tested in desktop environment, i.e. ArcMap.
#Import ArcPy site package module
import arcpy
from arcpy import env
from arcpy import Extent
from ...
2
votes
2answers
1k views
ArcGIS Server Publishing Geoprocessing Service
I'm modeling this ESRI tutorial for creating geoprocessing service with ArcServer and I'm getting this error when trying to publish the service:
Service was published but cannot be started due to: ...
1
vote
0answers
244 views
Example of RasterData class in ArcGIS for Flex
How would I use the RasterData class in com.esri.tasks.supportClasses for ArcGIS API for Flex? I haven't found any documentation for it outside the API and that doesn't give much info either. Could I ...


