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
1answer
66 views

Geoprocessing tools fail though CRS same, prj-file ok, edit mode off, topology valid, etc

For my layers none of the QGIS geoproccesing tools (difference, intersection, etc. all give empty attribute tables) work, though I've checked for all (?) error sources (as in the title). Then I tried ...
4
votes
1answer
2k views

Simplification Tolerance value field is missing from Simplify Polygon tool of ArcGIS for Desktop? [duplicate]

Trying to run Simplify Polygon (Cartography -> Generalization) tool in ArcGIS 10.2 (ArcInfo License). I ran the tool successfully once, then tried again on a new polygon, but the simplification ...
4
votes
2answers
137 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
2answers
441 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
310 views

Polygon to Raster taking longer in script than in ArcMap?

I have a large dataset that I am working with. Basically I have a table with 900,000 records that I join to a geodatabase feature layer, then convert that to a raster. This process takes a total of ...
4
votes
3answers
1k views

Incorporating SQL Statements in ModelBuilder?

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
3answers
280 views

Slow performing ArcGIS Near tool returns -1?

We are running an ArcGIS 10.0 geoprocessing script written in Python that (as part of many steps above & below) runs the Near tool. Both the input and output datasets (shapefiles & personal ...
4
votes
3answers
1k 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
889 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
537 views

Hosting geoprocessing tool on geoserver

Like ArcGIS Server, is there a way to host, geoprocessing tools onto Geoserver?
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
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
1answer
421 views

Strange things are afoot with the "Eliminate Polygon Parts' tool

I am working with a polygon that is the result of a buffer and has a bunch of internal doughnut holes: What I want is this: I am using arcpy.EliminatePolygonParts_management() to fill in the holes ...
4
votes
1answer
1k 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
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
860 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
213 views

Determining flow amount along stream using ArcGIS Desktop?

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
1k 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
31 views

How to handle two onclick events that not both are fired?

I make a web application with ArcGIS API for Javascript (version 3.15) to access a geoprocessing service. The service is executed on an onclick event by the user, because the clicked position is used ...
4
votes
2answers
133 views

Iterate an intersect between polylines and polygons in QGIS using Python script

I have a shapefile made up of 127 separate polygons that represent different districts. Overlaid on this layer is a polyline layer of 2800 streets, some which are completely bound by the polygons and ...
4
votes
2answers
51 views

How to merge geographically similar polygons?

I'm working with zoning data at the parcel level for a city, e.g., each parcel has a zoning attribute. My goal is to create a contiguous zoning map without intersections from roads and highways. I ...
4
votes
1answer
819 views

How to clip a single layer of overlapping polygons in QGIS

I have a single layer of polygons. Some of the polygons overlap. I wish to make a new layer of just the parts of the polygons that overlap. What is the best way to do this in QGIS seeing it's ...
4
votes
2answers
3k 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
67 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
1k 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
877 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
1answer
607 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
1answer
277 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
1k 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
113 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
1answer
174 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
947 views

Calculate number of people within 50 km of a point

I have two data sets: World population (raster) in EPSG:4326, from http://sedac.ciesin.columbia.edu/data/set/gpw-v3-population-density-future-estimates/data-download A shp file with points ...
4
votes
1answer
385 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
112 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
852 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
51 views

Making output table of Python script tool be intermediate file to another model?

I have created a Python script tool using ArcPy. It has a File Geodatabase Table as output. I want to add the script to a new Model in ModelBuilder in ArcMap. The Table output should be an ...
4
votes
2answers
79 views

Expand raster nodata area (shrink values area)

I need to fix a raster that's been inappropriately resampled along the nodata edge. The bad data area is narrow, pretty much a single cell. The value range is too variable to use a simple "erase less ...
4
votes
0answers
88 views

Where to find comprehensive descriptions of tools in QGIS, SAGA, Orfeo, etc. toolboxes? [closed]

There exists a large number of tools for QGIS (e.g. SAGA, GRASS, ORFEO etc.) - however none of these have sound description of the aim of the tool, the algorithm itself, differences to other similar ...
3
votes
3answers
3k 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
2answers
2k views

Calculating elevation profile of a trail?

What would be the best way to calculate an elevation profile of a trail remotely (without using altimeter/gps tracking your steps)? For example, to do it in the most rudimentary way you might take a ...
3
votes
5answers
1k views

“XY to Line” not converting all 58,000 records

I have a dbf (and xls) that contains ~58,000 records of latitude and longitude for both start and end points. I would like to connect each XY coordinate pair using the XY to Line tool found inside the ...
3
votes
3answers
369 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. Does the license you are using in ArcMap make a difference on the speed of ArcMap? I'm pretty sure that the drawing ...
3
votes
2answers
2k 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
2answers
3k views

Geoprocessor Select By Location Using Features Instead of Layers

I have a simple spatial feature selection function that includes: public static void SelectByLocation(IFeatureClass sourceFC, ILayer selectLayer) { Geoprocessor GP = new ...
3
votes
3answers
138 views

Forcing Python Toolbox tool to break loop and do cleanup when user clicks Cancel?

I am writing a Python tool that perform heavy tasks in a loop. When the user clicks "Close" I want to break the loop, perform some cleanup, and then finish. Consider this example tool that counts ...
3
votes
2answers
317 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
1answer
670 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
735 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
3answers
3k 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
1answer
1k views

Examples which use map reduce to process GIS data? [closed]

Have anyone have a few examples how to use mapreduce effective with GIS data?