Geoprocessing is a GIS operation used to manipulate GIS data. If you are performing geoprocessing using ArcGIS then the tag Geoprocessing-framework is specific to that software and should be used instead.

learn more… | top users | synonyms

4
votes
2answers
393 views

Does Calculate Value (Model Only Tool) work correctly in tools run in Batch?

Am I correct that if my model has a model-only tool (Calculate Value), and then I run the model as a batched process, it will not run the Calculate Value expression? I wrote a model to upload, ...
4
votes
1answer
2k views

Performing Geoprocessing SQL Queries in QGIS from a PostGIS Database

This may be a dumb question, but is there way to run a PostGIS geoprocessing SQL query in QGIS? Specifically, I am thinking of running SQLs such as ST_Union, ST_Split etc etc. I have tried the ...
4
votes
1answer
2k views

How to get point attribute from polygon layer?

I have two layer, one (A) has point features and the other (B) has polygons. I need to produce a new table with some (the ID) or all the fields from the A table and some (the area code) or all from ...
4
votes
1answer
2k views

ArcGIS License - ArcInfo level license set during python script execution vs via Desktop Administrator

We have an ArcInfo floating license available. Can I check out an ArcInfo level license via arcpy. Here, from the arcgis help, it says you can import a license level for stand-alone scripts. If a ...
4
votes
2answers
849 views

How to cut a shape file?

I want to use a shape file of the Corine Land Cover. This covers all of Europe, but I am only interested in the area of Scandinavia. How can I cut this file using free software (preferably a ...
4
votes
4answers
637 views

Unable to save selected layer by attribute for ArcGIS Geoprocessing

I am troubles using the SelectLayerByAttribute() function for arcgis geoprocessing. I have a layer and I want to select everything that matches on a particular attribute. I call MakeFeatureLayer() ...
4
votes
2answers
238 views

Moran's I z-score in ArcPy

I have a ArcPy script to calculate Moran's I several times (50 to be precise). However, I am not interested in the Moran's I value, what I need is the z-score returned by the tool. Even though the ...
4
votes
1answer
253 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 ...
4
votes
2answers
530 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 ...
4
votes
2answers
463 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 ...
4
votes
3answers
665 views

Incorporating SQL Statements in Model Builder

I have a point data set where each point has a unique operator associated with it. I'd like to select by attribute = operator name and generate a new shapefile for each operator containing only the ...
4
votes
2answers
2k views

arcpy overwrite files in a geodatabase file

I'm writing a python script, I've got an mxd and its workspace is a geodatabase file with all the files I need into. The problem I'm encountering in testing and writing code is that, despite of the ...
4
votes
3answers
803 views

How to split features?

I would like to split a shapefile in qgis according to how the polygons overlaps. Don't know how to though? See pic for explanation:
4
votes
3answers
712 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 ...
4
votes
1answer
418 views

Hosting geoprocessing tool on geoserver

Like ArcGIS Server, is there a way to host, geoprocessing tools onto Geoserver?
4
votes
1answer
984 views

Examples which use map reduce to process GIS data

Have anyone a view examples how to use mapreduce effective with GIS data?
4
votes
2answers
1k views

create temporary point geometry feature from coordinates in OGR with Python

I have two shapefiles containing two types of geometry features: one contains polygons and the other linestrings. Because I'd like to use the Within method to check whether the end(or start) of a ...
4
votes
2answers
259 views

Running python 2.6 and 2.7 in ArcGIS 10.0

I figure that there must be a way for me to run python 2.6 and 2.7 on the same computer. I've got a program that requires 2.7, but ArcGIS requires 2.6. I'd like to be able to run both programs at ...
4
votes
1answer
660 views

How to declare ArcSDE workspace for Geoprocessing tool in ArcGIS 10.1 using ArcObjects and c#?

What is the proper way to declare an ArcSDE workspace for Geoprocessing tools in c# .net? I am using ArcGIS 10.1 SDE (MS SQL) on SQL Server 2008. I want to write code so that every night the server ...
4
votes
2answers
1k 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
547 views

How to use ICalculator with a pre-expression in C#

Another wonderful predicament. I am trying to use an instance of ICalculator to update a field based on another field. Textbook stuff. Unfortunately, the example in the SDK for C# is a bit lacking. ...
4
votes
2answers
689 views

How to setup PyCharm to reference ArcPy?

How would I setup PyCharm to recognize import ArcPy? I'd like to use PyCharm to develop and debug geoprocessing tool.
4
votes
1answer
173 views

Hydrology toolbox versus ArcHydro toolbox

I would like to do some watershed delineation research/development (at the County level) with our LIDAR generated DEM, after it is corrected, but am wondering what, if any, differences might result ...
4
votes
2answers
1k views

How to implement Routing in openlayers [closed]

I need to add routing functionality in my application how to add the routing in openlayers.
4
votes
1answer
56 views

Why would running LocateFeautresAlongRoutes GP tool return null?

I'm currently using the LocateFeaturesAlongRoutes tool wrapper for C#/.NET for a custom tool I'm developing for ArcMap 9.3.1. I've been able to run this tool in ArcMap outside of code in a tool with ...
4
votes
2answers
772 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. ...
4
votes
1answer
561 views

Need help with Merge GeoProcess task in ArcEngine (C#)

Help! Having the hardest time getting the correct syntax when adding layers as gp parameters to call the Merge_management GeoProcessing Task. Below is just one of MANY, MANY ways I have tried with ...
4
votes
2answers
2k 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 ...
4
votes
1answer
497 views

Why is a Merge process via ArcObjects extremely slow?

In one of my arcobjects-based GIS tools I have a process which takes an array of shapefile paths and uses them as inputs with the ESRI.ArcGIS.DataManagement.Merge tool. I run it via a Geoprocessor ...
4
votes
2answers
705 views

Gaussian Plume Model

I'm looking for code to implement a gaussian plume model in 3D. Any suggestions on where to start? Are there any python scripts out there? Thanks
4
votes
1answer
45 views

How to enable adding both feature classes / tables and layers from TOC to a script tool parameter input?

I have developed a script tool which will allow a user to specify input feature class or table and then will process it. Surprised I haven't noticed this before: I cannot find which data type my ...
4
votes
1answer
86 views

Does the ArcGIS Online “Spatial Analysis Service” require data to be hosted on ArcGIS.com?

I'm exploring the new-ish ArcGIS.com Spatial Analysis Service. The Spatial Analysis service contains a number of tasks that allow you to perform common spatial analyses on your hosted data. ...
4
votes
1answer
239 views

Regression with Nominal and Categorical Data

I am doing a project looking at the prevalence of a weeds in an area. As an example, I have the following layers: Weeds Layer (polygons) {categorical data} Each polygon represents a point or polygon ...
4
votes
1answer
109 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 ...
4
votes
1answer
248 views

Splitting data into geographic zones for multiprocessing

I have been looking at multiprocessing and tools like Find Duplicates in Big Data and they seem to simply split the data into sections based on rows/number of records. I am trying to do an intersect ...
4
votes
2answers
192 views

How to determine flow amount along a stream using ArcGIS 9.2?

I have DEM with resolution 20m and also stream network map in shape format, isohyetal map in shape format. I have also historic numerical data for rainfall, runoff and temperature from 1970-2000 for ...
4
votes
1answer
661 views

Raster Calculator dynamic map algebra expression

Is it possible to dynamically construct a Map Algebra expression that is dependent on the output of another tool, either using model builder or arcpy? For example, say I have a model that performs a ...
4
votes
1answer
71 views

using SPOT Messengers in a corporate environment

We're looking into using SPOT Messenger GPS devices in a corporate setting for our wilderness field staff. GlobalStar, who operates Spot, has a commercial XML data push service which will dump ...
4
votes
1answer
53 views

Making 'persistent' ArcMap tool without creating Python add-in?

I want to make an addon that, while editing in ArcMap, will track where I pan and move the viewport. I have the pieces together, but I don't like debugging with the Python Add-In wizard, because I ...
4
votes
0answers
264 views

How to write a script to square polygon corners?

I'm looking for a script that will square the corners of polygons that are near 90 degrees but not exactly. Near could be dealt with via a variable, for example within 5 degrees of 90 (85 - 95 ...
3
votes
3answers
2k views

How to batch clip to single-part shapefile using ArcGIS 9.3 and Python 2.5?

How do I clip a shapefile to a single-part shapefile using ArcGIS 9.3.1 and Python 2.5? Example: I have a set of lines (lines.shp) I am trying to clip to each record in a shapefile called Grids.shp ...
3
votes
1answer
3k views

How to use ET GeoWizard tools or Xtools Pro in ModelBuilder or Python to automate processing?

Is it possible to use ET GeoWizard or XTools Pro tools in automation of mapping in either in ModelBuilder or Python?
3
votes
2answers
357 views

How to Select “Inverse” of intersection of two polygon layers?

I'm wondering if there's a way to intersect two polygon layers, take the intersection, and remove that from one of the polygon layers, making a new layer out of whatever is left over? Basically, the ...
3
votes
3answers
333 views

Do Different ArcGIS for Desktop License Levels Process Faster?

At my job, I have access to all three levels of ArcGIS licensing on my computer. My question is: Does the license you are using in ArcMap make a difference on the speed of ArcMap? I'm pretty sure ...
3
votes
2answers
110 views

Can I convert the sharp edges of a polygon easily to round edges?

I use the python module "shapely" to make Polygons (like below). Can I convert the sharp edges of a polygon easily to round edges? Such that when I have unified some polygons I could issue a command ...
3
votes
2answers
306 views

Looking for Python module to do lat lon calculations

I'm looking for a Python module that can provide some / all of the following services using latitude/longitude to define points: Distance between two points Point in polygon Distance along a ...
3
votes
1answer
300 views

'Pausing' a Python script tool to allow the user to provide input before continuing

I am using ArcGIS. I have written a Python script that creates various surfaces including NDVI. After the script creates those surfaces, I would like the script to stop running while the user ...
3
votes
2answers
448 views

Create point geometry in a feature class with all the attributes prepopulated

So here is the problem. I have a text file with space delimited values. A standard text file with the headings separated by spaces and then on each next line values for these headings (columns) also ...
3
votes
2answers
767 views

Why is ICalculator.Calculate significantly slower than the CalculateField geoprocessing tool with SDE datasets?

I just discovered today that there are essentially two ways to calculate field values in ArcObjects: 1. Using ESRI.ArcGIS.GeodatabaseUI.ICalculator: ITable table = …; ICursor updateCursor = ...
3
votes
3answers
2k 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 ...