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
234 views

Which GIS best for this problem?

This problem is similar to retail presence optimization. I'd like to know which GIS's could help us do the following: Given a set of point locations, create a circle of radius n meters around each. ...
4
votes
2answers
970 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 ...
4
votes
3answers
3k views

Batch shapefile merge, with adding and calculating field

I have over 60 shapefiles, all in their own folders. I'm looking to add a field titled "Name" and then populate it with the name of the shapefile. I want to be able to do this so that I can then ...
4
votes
4answers
350 views

How to convert result of dissolved buffer into individual polygons?

I am wondering if there is a way to easily split results of a disolved buffer into individual polygons? E.g in the screenshot below all of these buffers are one item, can I split them into individual ...
4
votes
1answer
357 views

Switching between background 64 bit processing and 32 (so I can use 3rd party ie XTools)

I often run scripts now with 64 bit background processing enabled but when I want to use certain tools like Xtools table to text I have to turn it off as these tools are 32 bit. Is there a way to ...
4
votes
1answer
302 views

How to calculate X and Y projected coordinate in batch processing

I have more than 1000 shape files (all are point features). They were initially in WGS 84. I projected them in UTM. Then through batch processing I added X, Y fields in each table. But all the X, Y ...
4
votes
1answer
291 views

Where can I find ArcGIS logs when I execute a python script using arcpy?

I'm executing a python script locally on my computer where ArcGIS Desktop 10.0 is installed (Windows 7). The script uses functions from the arcpy library installed with the ArcGIS Desktop to manage ...
4
votes
1answer
97 views

How to return text from GP service?

So I've got a website that I want to extend by letting people look up postal/zip codes for an address they enter. I've already got all the addresses (with their postal codes) for the city in an ...
4
votes
2answers
581 views

Python Script to convert a mass of KMLs to a single fGDB

I have a mass of KML files, approx 350+ that I need in a single fGDB. I lifted a string of code from ESRI help to attempt to do this - I got it working to the point of creating all the individual ...
4
votes
1answer
251 views

Why is the Frequency Tool in ArcGIS so Fast and Efficient?

Why is the Frequency tool in ArcGIS is so fast and efficient? Is it possible to make my own Frequency Tool with similar performance (in python)? I tried to do some based on python dictionary and ...
4
votes
3answers
388 views

Buffering with physical barrier using ArcGIS for Desktop?

I don't think it is possible, but I'm looking for a way to stop my buffer at a certain physical barrier. For example, I have point near a river and I'm creating a buffer around my point that is ...
4
votes
1answer
906 views

How do I fill gaps in a raster to zero value cells?

I am trying to add some forest elevations to a DEM using ArcView. I have converted a polygon feature class of a forest into a raster with the same resolution as my DEM. Then I reclassed the forest ...
4
votes
2answers
568 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
2answers
5k views

Nested “if” statements in ArcGIS Field Calculator

The solution in VB for the base process is @ "If then" VB Script code (or Python) equivalent to SQL's IN ('x','y',z') expression in ArcGIS Field Calculator question? ...
4
votes
1answer
94 views

Is there a tool to compare ArcGIS Desktop configuration on two pieces of hardware?

I have two PCS with ostensibly the same configuration (i.e. both ArcGIS Desktop 10.0 SP5, both 4Gb RAM) yet when I load the same file geodatabase onto both and run the same large (400 element) model ...
4
votes
2answers
2k 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
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
2answers
917 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
669 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
177 views

PostGIS ST_Union Performance

I'm trying to execute a 'dissolve' operation in PostGIS using the ST_Union command. The input layer is admittedly quite large and complex. By 'large' I mean 57,771 features, with number of vertices ...
4
votes
2answers
95 views

“Levelling” elevation data coinciding with polygon?

I have a shapefile containing building geometries (polygons) and a elevation dataset. The elevation data doesn't perfectly match the buildings. I want to "flatten" the elevation data so that ...
4
votes
1answer
949 views

Is Clip (Data management) or Extract By Mask (Spatial Analyst) more efficient?

I'm trying to clip down an Orthophoto to a county boundary. I've been using the Extract By Mask Tool, but this process has been running for about 12 hours! It's gone through 2 cycles already, so I'm ...
4
votes
2answers
311 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
278 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
563 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
845 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
3k 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
893 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
778 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
464 views

Hosting geoprocessing tool on geoserver

Like ArcGIS Server, is there a way to host, geoprocessing tools onto Geoserver?
4
votes
1answer
1k 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
303 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
789 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
655 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
1answer
795 views

ArcGIS - Geoprocessing creating temporary files (e.g. “g_g193”). What produces these and how can they be cleaned up?

I have a couple of ArcGIS extensions that are running a lot of geoprocessing models with a mix of ArcObjects. I've noticed that the some, as of yet unidentified, geoprocessing steps are creating ...
4
votes
1answer
176 views

How to delete geoprocessing results in ArcGIS without closing mxd file?

I am trying to run a loop of a couple thousand maps in ArcGIS 10.1 but the program keeps crashing after printing about 100 maps at a time. I read here that I need to make sure my results in Results ...
4
votes
2answers
128 views

How to check whether an optional FeatureSet parameter was set by the user in a geoprocessing script tool?

I have created a custom geoprocessing script tool which contains an optional FeatureSet parameter. When unpacking the parameters in the script, the FeatureSet is defined as a RecordSet object, even ...
4
votes
2answers
2k 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
63 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
943 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
701 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
533 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
803 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
74 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
117 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
286 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 ...