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

10
votes
2answers
3k views

How to import esri Personal Geodatabase (.mdb) to PostGIS on Linux

We have esri Personal Geodatabases that we need to import into PostGIS. Ultimately, we'd like to allow people to upload an MDB on a web server, and have it import the layers into PostGIS. On ...
6
votes
1answer
860 views

Grouping map points into fixed cluster sizes

I have a dataset of 655 lat/long pairs which I'd like to split into about 100 groups. A group should have 5-10 pairs which are geographically close to each other. Dense groups should have more ...
5
votes
2answers
247 views

Sort a feature table by geographic location

Here's in interesting challenge: I need to embed a table in a map layout so that the records in the table are sorted according to their geographic position on the ground. For example, in a ...
0
votes
1answer
225 views

How to use SEXTANTE in a script outside QGIS?

I´m trying to do some geoprocessing using the QGIS Sextante plugin outside of the QGIS application (and integrate it with different other libraries like arcpy, etc.). import sys, os from PyQt4.QtGui ...
10
votes
2answers
2k views

Is there a Free Aggregate Points tool out there for ArcGIS 10?

I need to do some Getis-Ord analysis but first I need to aggregate my points. I know of XToolsPro, but the aggregate points function is locked and you must purchase a license to use it. I am ...
10
votes
6answers
548 views

PostGIS: Assign ID of point in layer A to closest point in Layer B

This should have been an obvious precursor (that I didn't ask) to my other question: PostGIS function to create spider diagrams? If I do not know the relationship between a point in layer A (stores) ...
9
votes
3answers
637 views

How to sum up values of neighbouring polygons?

I hope that you can help me with the following problem: I have a vector (polygon) layer. I would like to add an attribute to the layer that - for every polygon - sums the values of a specific field of ...
6
votes
1answer
1k views

Get shape filename in attribute field using field calculator

I apologize for crossposting against the ESRI geoprocessing forum, but it seems like this one gets answers. I'd like to have a modified append tool (ArcToolbox) that takes multiple shapefiles with ...
6
votes
1answer
217 views

How can I get more verbose messages from a GP service?

When I run a tool I've published as a gp service, the only messages I get are these: esriJobMessageTypeInformative: Submitted. esriJobMessageTypeInformative: Executing... ...
5
votes
9answers
8k views

ArcGIS: Create a line layer from a point layer and csv data file

UPDATED DECEMBER 20 I have a Regular point layer and a csv file that has the same ids as the point layer. The csv file is organized as ID From To Weight -- ---- -- ------ 01 ...
4
votes
2answers
1k 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 ...
2
votes
3answers
2k views

Does ArcGIS 10 have a Geoprocessor Programming Model by using Arcpy?

Does ArcGIS 10 have a Geoprocessor Programming Model by using Arcpy? is it possible to use ArcGIS 9.3 Geoprocessor Programming Model within ArcGIS 10?
8
votes
1answer
233 views

Where is this raster offset being introduced in the QGIS processing toolbox?

I'm using the (awesome!) processing toolbox in QGIS 2.0 to reclassify some NoData values in a raster from -9999 to 0, but at some point in the process there's an offset of about 0.2 degrees being ...
7
votes
1answer
138 views

Reduce processing time in Erase function using Arcpy in IDLE

I am processing 18,000 feature classes (saved in a file GDB), each with ~500 records (polygon features) in ocean areas, and I am running a script to remove area overlapping with the coast, using the ...
6
votes
1answer
227 views

Simulate (Mock) GPS Tracks

I have the following scenario: 1) I need to create GPX files for use in testing of a mobile device. 2) The tracks to be described within will span large distances over long time periods (i.e. it's ...
4
votes
0answers
346 views

Batch Converting ASCII into Feature Classes using shapefile lists

Problem. I have 413 ASCII files totalling 4 billion points, and my system cannot handle converting them to MULTIPOINT so that I can generate Terrains. Therefore I would like to create 12+ subsets of ...
4
votes
3answers
722 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:
3
votes
2answers
4k 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? ...
2
votes
3answers
251 views

Polyline selection of features with angle turns up to a specified angle

I'm looking for an automated way to select line features that have specified angle between vertexes. That in order to check water mains layer -steel pipes can have only 45 or 90 degrees turns and I ...
2
votes
2answers
121 views

Erase features from feature classes based on record ID?

This is the challenge: I have two feature classes, which have the same number of polygon features, that when overlaid form concentric "rings." I need to erase the inner circle from the outer circle ...
2
votes
1answer
642 views

GRASS Geoprocessing in Python Script

I´m trying to get some GRASS geoprocessig tools running in a python script outside GRASS. I´m able to import grass.script, but I´m not able to get the tools running yet. Does anybody know what I´m ...
2
votes
2answers
2k views

Extracting elevation from a TIN file with a point shapefile overlay

I have a TIN file that was built off of contour polyline shapefile (I think). I have a point shapfile with a few points. How can I extract elevation of the TIN file where the points occur? I am ...
2
votes
1answer
652 views

Schema Lock issue when using ITable.AddField via ArcObjects

During a process I am running, I sometimes need to create a field that is missing in an attribute table. Unfortunately, the program is complaining that the table I am adding the field to has a schema ...
1
vote
1answer
132 views

How to create parameter windows for custom geoprocessing tools?

I would like to create a geoprocessing tool with a custom GUI for its input data. To put it in other words: imagine that your client works mainly with arcmap documents and he already has an arcpy ...
1
vote
0answers
438 views

Large point to Polygon by buffer-join-buffer-dissolve issues

I have a few large datasets (about 10 million points) which I am buffering, then joining, dowgrading and finally buffering and dissolving. This is all in a model which works fine with sample smaller ...
8
votes
0answers
364 views

Using a different Python IDE/debugger for ArcGIS [duplicate]

Possible Duplicate: How can I effectively debug arcpy Python scripts? I prefer to use PyScripter over IDLE as my IDE/debugger for writing GP scripts in Python. In ArcGIS, however, when I ...
7
votes
2answers
1k views

How to read an Excel sheet in ArcPy script

I'm writing a python code to convert X,Y points in excel to shapefile. In this process i have toread xy points from shhet1. What is the step i have to include in my process to read data from sheet1 of ...
6
votes
1answer
2k views

Explode MULTILINESTRING into individual segments in PostGIS 1.5

I have a MULTILINESTRING in PostGIS consisting of several LINESTRING's. Consider each LINESTRING to have a set of POINT's P1, P2, ... PN forming the line segments L1, L2, ... LN-1 where ...
6
votes
2answers
743 views

ArcGIS Python Tool Script Parameter - Binding Objects to a List Parameter

I am working on a python based script/tool. I would like to make use of drop down lists for several of the parameters. This is very easy to do if the lists are just plain old strings. Does anyone ...
5
votes
1answer
133 views

How to achieve equivalent to Dissolve from ArcGIS for Desktop using ST_Union?

I am trying to achieve an equivalent to the Dissolve tool from ArcGIS for Desktop using ST_Union from PostGIS but it seems I am not getting expected result. I have one table which has certain ...
5
votes
1answer
1k views

Need to export a feature class into multiple feature classes based on a field

I have a feature class with over 2000 features, and I need to make them all individual features based on a field. I know there has to be a way to do this, but I just can't figure it out! Any takers?
4
votes
1answer
1k 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
3answers
639 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 ...
3
votes
1answer
195 views

Getting “Failed to open tool” message when trying to run geoprocessing tool from C# code

I've been experimenting with the Military Aspects of Terrain Template, which has a toolbox associated with it. I've been using the following WPF Runtime code, which should open a tool in the ...
3
votes
1answer
230 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
2answers
391 views

Not able to create a geoprocessing package in ArcMap using my own Network Dataset and associated data

I went through the following two examples to get an idea of how to create a custom, local Routing Task . . . This is a walkthrough that takes you step by step through the creation of your first ...
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
1answer
602 views

Convert feature class to raster based on attribute field values

As part of a tool, I’m trying to convert a feature class to a raster based on attribute field values. I have accomplished this conversion using IRasterConvertHelper, but this is done without ...
2
votes
2answers
952 views

Using Value from Iterate Feature Selection to Calculate Field in ArcMap 10.1 ModelBuilder

I have two polygon feature classes, an alignment layer and a parcels layer. I am trying to use ModelBuilder to create a tool that will do the follow: iterate through groups in a single field of a ...
2
votes
1answer
145 views

Clipping buffers to census tracts

I have donut buffers generated to protect anonymity of household locations. They need to be clipped so that they are only inside the census tract that the original point was in. The code takes about 8 ...
2
votes
1answer
79 views

Collapsing the multi-row output of a one-to-many spatial join to single-row (arcmap 10.1)

I'm working with TIGER data, looking at the relationships among incorporated places and counties. Not all places are completely contained by counties; some do span multiple counties. In the final ...
2
votes
1answer
153 views

How to convert a String variable to a Raster datatype using Calculate Value

I have a GP service I would like to consume in a Flex application, but one of the input data types can be a raster. ArcGIS Server does not support a raster data type as an input parameter, but ...
2
votes
2answers
527 views

Problems Integrating Sub-Model into Master Model

I am attempting to integrate a iterative model into a master model to merge all of the outputs of the iterative model into one feature class. However, when I attempt to set the output of the sub-model ...
2
votes
2answers
468 views

Creating a GP script to update a table in SDE

I need to create a geoprocessing script to update a table on an SDE server, with some text input from the user. I thougth what I needed to do was create a toolbox with a python script associated with ...
2
votes
0answers
145 views

ArcGIS Can't get ResultImageLayer

I am unable to get a ResultImageLayer. I can get a GPFeatureRecordSetLayer using ResultData and add the feature geometries individually. I am using ArcServer 10.1 so it is not a pre-release problem. ...
2
votes
1answer
358 views

Redistribute linestring vertices to specified distance

I use a groundwater model program called GMS, and it has a very useful function "Redistribute vertices" (more info). I use this function all the time to both simplify and provide regular spacings ...
2
votes
1answer
1k views

Run Model ArcMap 9.3.1

I would like to Run/execute a model within ArcMap 9.3.1 vba. I can run it in vba by exporting out the VBS script and importing it into vba, however I'm wondering if there is an easier way to just call ...
1
vote
2answers
154 views

Create a single connected polygon from multiple polygons

I am trying to create a single continuous (neighborhood) polygon from many tax block parcels. The Multipart to Singlepart GP tool does not accomplish the task since I need the polygon to be complete; ...
1
vote
1answer
246 views

Creating an Origin/Destination (OD) cost matrix using ArcPy

I have created a python script that runs an OD cost matrix over five years from 1999 to 2004. I have set up an OD cost matrix for each year, which I think is very cumbersome. Is there someone who can ...
1
vote
2answers
732 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 ...