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

23
votes
10answers
3k views

What are the existing solutions to automate generalisation/simplification of geographical data?

I am looking for existing solutions (softwares, libraries, methods, etc.) to automate the generalisation/simplification of geographical data as presented there, and also there. How do you proceed ...
7
votes
5answers
5k views

Splitting feature class by attribute in ArcGIS for Desktop?

I would like to split a single shapefile into multiple shapefiles by attribute. I found ET Geowizard to do this but it's not free. In arcscripts.esri.com I found a tool named ...
8
votes
11answers
2k views

Logging GPS and Accelerometer Data - Device Suggestion?

I am looking for a device that can track my location (lat,long) and speed all day long. Perhaps, I need GPS and accelerometer data bundled together. What I want to do is to log my daily activities. I ...
12
votes
5answers
6k views

Obtaining extent of each polygon in shapefile?

In arcgis 10 and python I want to get the extent (xmax, ymax, xmin, ymin) info of each of the polygons in a shape file. I can get the extent of the whole shape file using ...
10
votes
1answer
862 views

Is there a way to access QGIS plugins in Python?

Is there a way to access QGIS plugins in Python? I'd like to write a script to do some geoprocessing, and I'd like to use the clip, regular points and convex hull tools in fTools, as well as the Road ...
4
votes
2answers
386 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, ...
7
votes
2answers
583 views

Reordering polygon shapefile permanently?

I've written a script which produces a polygon shapefile of the extents of all the thousands of rasters in our library. I want to organise the FID so that the files with the largest extents are on the ...
43
votes
10answers
3k views

Alternatives to using Arcpy

I seem to use ESRI's Arcpy site package for virtually all of my python geoprocessing. To ESRI's credit, these are an incredible suite of tools that can help accomplish a great deal. However, I would ...
20
votes
4answers
3k views

Is there any model builder in QGIS or other open source GIS?

Like the ModelBuilder of ArcGIS for Desktop to run simultaneous geoprocessing tools, is there any model builder available in QGIS or any other open source GIS software?
11
votes
4answers
2k views

Simplifying polygons to linestring

I would like to simplify some polygons that represent rivers into linestrings. I assume that holes in polygons can be omitted. Anybody has some good idea how to simply do it? It would be nice, if it ...
9
votes
5answers
3k views

Compiling Python Scripts that use ArcGIS Geoprocessing Tools?

I've been coding with Python for several months now and have developed some reasonably complex scripts for primarily geoprocessing tasks. That being said, I'm still learning a lot as I'm coming from a ...
10
votes
1answer
1k views

How to find differences between shapefiles?

Every month I have to QA/QC some streets data for an entire county (over 47,000 records). The first step is to compare the two files. Currently, I'm using a tool that was created in house via VBA ...
8
votes
2answers
3k views

Finding mid-point of line using ArcPy?

How can the mid-point of a polyline be calculated using the geoprocessing framework, e.g. in a Python script? The polyline.centroid property returns The true centroid if it is within or on the ...
8
votes
2answers
4k views

Why Intersect gives ERROR 999999: Error executing function Invalid Topology [Too many lineseg endpoints]?

I am trying to run an Intersect process in arcgis 10 sp 3 with 2 file sets (aspect and slope) from up to a 1m DEM across an area of 65,000sq km. The aspect has 9,930,384 records and the slope has ...
10
votes
2answers
2k views

Issues with geoprocessing with .NET

There are some nice features in ArcToolbox we can use, but for some reason, this is NOT working properly. It doesn't even throw me an error. My software is running inside ArcMap, so no need to ...
22
votes
5answers
4k views

How to identify clusters in vector point data?

I have a vector dataset of rural broadband data-points (how fast, etc.) and I'd like to explore if there are clusters of points with similar characteristics, and to plot polygons encompassing them. ...
21
votes
9answers
2k views

How to easily shift all features in a vector dataset?

Let's say that I put together a Shapefile and all the features have their vertices shifted by a constant amount. What's the easiest way of shifting all the features (hence the (x,y) position of their ...
9
votes
4answers
3k views

How to develop GUI in Python for geoprocessing?

I want to develop GUI in Python for geoprocessing, but I don't know what is the best GUI tool or library (Tkinter, PyQT, wxPython) for geoprocessing? Can I use PyQT for GUI programming in ArcGIS?
5
votes
4answers
2k views

Exploding overlapping to new non-overlapping polygons?

Given multiple polygons that overlap in multiple ways, I would like to export from these features all polygons that don't overlap with others, iteratively. The product would be a number of features ...
9
votes
4answers
4k views

How to find Clusters of N Points Within X Distance?

We have tried two methods of cluster analysis: Cluster and Outlier Hot Spot ... but neither meets our specification which has these 3 parameters: a Set of Point features N points within a ...
7
votes
3answers
5k views

What ArcGIS 10 geoprocessing tools support exporting tabular data to CSV?

I have found that most if not all geoprocessing tools that allow tabular output are limited to geodatabase tables and DBF files for supported output formats. Are there any that also support CSV ...
6
votes
2answers
469 views

Is there a RESTful way to cancel a GP Job?

I have an asynchronous gp service that I can successfully run and cancel from within Arcmap. Using fiddler I see that arcmap communicates with the GP service via SOAP. I'd like to cancel the job ...
5
votes
4answers
844 views

How to aggregate detached polygons?

Is there any open-source library to aggregate detached polygons? I know that there is a tool in ArcInfo, but it is commercial.
5
votes
1answer
2k views

ArcGIS: inside buffer with attributes?

How can I create buffers for polygons that a) lie only inside the polygon boundary, and b) know who their parent is? An example of where this is useful is First Nation Traditional Territories. There ...
9
votes
2answers
5k views

Automated/geoprocesing tool to slice, clip, or cut polygons using polylines using ArcGIS Desktop?

Looking for a simpler method here. I am trying to split up / cut / slice existing polygons by using existing poly-lines. An example would be splitting a water body or land parcel at the point where a ...
7
votes
7answers
838 views

seeking “Available Sky” implementations

I'm looking for implementations of an algorithm called "Available Sky". ArcGIS (Spatial Analyst or GRID) is preferred, but solutions in GDAL, SAGA GIS or others are perfectly acceptable. The ...
3
votes
2answers
343 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 ...
28
votes
2answers
1k views

Streamlining Python Code for Big Data

I have Python code which is designed to take point shapefiles through the following workflow: Merge points Integrate points, such that any points within 1 m of each other become one point Create ...
19
votes
4answers
3k views

Python Script examples for geoprocessing shapefiles without using arcpy

I would like to use a Python script that is not based on arcpy to do things like query a shapefile by attributes, create new layer from selection, and calculate areas of a polygon and convert ...
13
votes
2answers
2k views

Is there a way to automate the preprocessing of LANDSAT data?

I'm currently enrolled in a remotesensing course, using LANDSAT data. Part of my course is about standardizing the scenes based on radiance values. I assume that because this is such a tedious task, ...
13
votes
4answers
3k views

Simplifying adjacent polygons

I encountered a problem simplifying set of polygons that are adjacent. If I simplify each polygon separately with the Douglas–Peucker algorithm (which is used by many open source tools), the resulting ...
9
votes
3answers
3k views

Divide a complex shape file into a grid

I have a decently detailed shapefile with polygon/multipolygon features (the file is about 500mb). It's actually a shapefile of the entire world, with the features representing coastlines. I need to ...
8
votes
2answers
2k 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 ...
7
votes
3answers
2k views

Why is it important to use feature layers in ModelBuilder?

I am trying to understand creation of a geoprocess with ModelBuilder, but I don't know why it's important to use feature layers instead of feature classes when creating a geoprocess with ModelBuilder. ...
5
votes
3answers
2k views

How to create Point Transects along line?

I would like to create a point shapefile that will contain sampling points along, and perpendicular to either side of a track route that I have as a line feature in ArcGIS 10.1. The points on the ...
5
votes
6answers
9k views

Points to Polygon

I've millions of points collected for lithology layer. They have used a coding for different types of rocks. I need to create a polygon around the extent of similar points. What is the easiest way to ...
4
votes
1answer
655 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 ...
2
votes
2answers
317 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 ...
10
votes
4answers
2k views

Programatically split a polygon with a line

In looking at this question, it occurred to me that I am not sure how one would go about using geoprocessing tools in ArcGIS to split a polygon with a line programatically. Manually, you would use ...
7
votes
3answers
567 views

Making county-level shapefile from set of points at 30 x30 km spacing using ArcGIS for Desktop?

I have a data set in csv form, like: latitude, longitude, value -45, 45, 10 .... I would like to calculate county level means from these data, using either ArcGIS or R+grass. I have the ArcGIS USA ...
5
votes
2answers
2k views

Cannot get rid of lock on file geodatabase and feature class created in Python script

I have a python script, (for ArcGIS 10), that creates a new file geodatabase, creates a new feature class in that file geodatabase and then reads data from an SDE feature class to populate the new ...
4
votes
3answers
324 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 ...
2
votes
3answers
321 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 ...
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
675 views

How to calculate te area between contour lines on a DEM with Qgis 1.8?

Does anyone know how to calculate the area in km² for each altitudinal band (between 100 and 200, 200 and 300...) based on a DEM? I added the contour lines with a distance of 100 metres but could not ...
5
votes
3answers
1k views

How to create spider diagrams (hub lines) in PostGIS?

I'm rather new to PostGIS but I have done a lot of reading. One thing that I have been searching for is a function that allows users to create a "spider diagram" (also called "desire lines" or "hub ...
5
votes
5answers
11k views

For every point, distance to nearest polygon of type X?

In ArcGIS how might one calculate as an attribute value the distance to the nearest polygon of type X? Say we have a point layer of wildlife observations and we want to know how far each of them is ...
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 ...
3
votes
3answers
196 views

ArcGIS NEAR 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 command. Both the input and output datasets (shapefiles & ...
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 ...