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

2
votes
1answer
112 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
2answers
634 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
1answer
573 views

How to control which Fields are exported in ArcObjects? (via Field Mapping)

In ArcMap 10.x, if you use the Export Data command on a layer that has hidden/disabled fields, those fields will not be present in the created feature class/table. My question is simple: how do you ...
1
vote
2answers
2k views

ERROR 999998: Unexpected Error

I’m new with Arc 10, and I'm struggling alot. When using Geoprocessing I’m getting the same error or message again and again. "ERROR 999998: Unexpected Error" I have checked all the settings I can ...
0
votes
1answer
653 views

ArcGIS/arcpy: Can a variable be set to reference an in_memory workspace object?

This is an offshoot question related to a question I posted earlier. I have the following arcpy code that inputs a Python list of polygon geometry objects to the Union_analysis tool, which then ...
16
votes
4answers
583 views

How to handle TIME in GIS?

Is there any way or any idea on how to handle Time attribute in GIS? For example, which are the ways to specify that an object is at a place at a given time interval and them it is in another place ...
12
votes
4answers
461 views

Mirror of Michigan State University's Python geoprocessing course materials

Been learning geoprocessing with Python using MSU's GEOG 825 ( python geoprocessing ) course. Unfortunately the link is dead now. I know this is a long shot but does anybody have a copy of the ...
19
votes
8answers
1k views

Is there an architecture for distributed geoprocessing?

Suppose I have 50 computers on my LAN. Each computer has a geodatabase for all parcel polygons in a particular state in the US. I'd like to write a geoprocessing task that finds all parcels valued ...
13
votes
2answers
277 views

File organization for sharing ArcGIS python code

What is the best organizational structure for sharing ArcGIS python code and geoprocessing tools? Or even, are sharing code and sharing tools separate questions? Esri has a Methods for distributing ...
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 ...
7
votes
3answers
873 views

How to determine on which side of a line a polygon feature falls?

I have parcel data intersecting line data. In the parcel data there are some parcels that don't intersect the line. How could I programmatically figure out if the non-intersecting parcel is on the ...
6
votes
1answer
946 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
354 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 ...
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 ...
0
votes
1answer
297 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 ...
11
votes
6answers
608 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) ...
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 ...
9
votes
3answers
730 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
223 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 ...
3
votes
2answers
278 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 ...
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
261 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
160 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
258 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
3answers
785 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
0answers
386 views

Batch Converting ASCII into Feature Classes using shapefile lists [closed]

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 ...
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
310 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
131 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
833 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
718 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
204 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
467 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
368 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
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
1answer
1k views

Exporting feature class into multiple feature classes based on 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 ...
6
votes
2answers
769 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
174 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
309 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 ...
4
votes
1answer
632 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
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
3answers
696 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
2answers
198 views

How can I GROUP BY linear spatial clusters with PostGIS?

I have a series of points in a horizontal line, arranged into discrete spatial clusters by the underlying data pattern. Here's an example of what they look like: How can I use PostGIS to group them ...
3
votes
1answer
230 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
246 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
493 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?