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

6
votes
1answer
168 views

GIS Server for web service

I am building an app that has some GIS requirements that go a little beyond (I think) what I can retrieve from existing online web services resources so I am attempting to build a server of my own to ...
6
votes
1answer
747 views

ArcGIS 9.3 Geoprocessor - AttributeError: Object: Environment <workspace> not found

So, this could be the most puzzling python geoprocessor error I have ever dealt with... This problem is occurring in ArcGIS Server 9.3, Python 2.5.2 I am exposing a typical python script as a ...
5
votes
6answers
11k 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 ...
5
votes
5answers
12k 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 ...
5
votes
3answers
5k views

arcpy.MakeFeatureLayer in-memory layer still exists when subsequent step fails during testing

When I used arcgisscripting to create in-memory output layer with gp.makefeaturelayer, I would put it in a try/except block and delete the gp object in the except piece when the makefeaturelayer would ...
5
votes
3answers
370 views

Interactive “For each … Do” loop?

What is the most direct and straightforward, hopefully interactive, method to conduct a For each item Do... loop, where the input list is a selection of polygons? A word about "interactive". I'm 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
5k views

Open Source Address Correction / Parser with Fuzzy Matching

Here is a a little bit of a detailed question related to address parsing/geocoding which I feel should be interesting to many users. So, essentially I am curious to know if anyone has had any ...
5
votes
2answers
535 views

Reduce Tracking Data Set

I'm building an application that uses data from GPS units on board vehicles and displays it on a map. A lat/long is recorded every .5 seconds and a session can be many hours... this can add up to be a ...
5
votes
3answers
950 views

arcpy taking longer and longer in a loop

I am looping through an amount of point arrays, creating data on the fly. The features/arrays, are largely similar in size. One thing I have noticed, is that when I start the process, the time it ...
5
votes
2answers
696 views

Make Buffer like Offset in Arcpy

I would like to make a buffer for a polyline and get as Output a Polygon with the same angles as the polyline, having not arcs, like in ordinary buffers. i tried the FLAT option in arcpy, but it's ...
5
votes
4answers
870 views

Is there a way in the Google Maps API to perform a union?

I'm looking for a way to take the overlap area of multiple polygons and work with that result as a single entity, ideally all in the API.
5
votes
2answers
546 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 ...
5
votes
4answers
2k views

ArcInfo - How to extend batch of lines to another object

Is there any simple tool which allows to extend all lines in .shp to another .shp? To clarify, I do have river.shp and sections.shp on the river. I'd like to produce buffer from river, extend lines ...
5
votes
2answers
176 views

Arcpy: Names and distances of nearest intersecting roads in layer 1 to end points of a road segment from layer 2

As shown in the image below, I'd like to return a new field in layer 2 that for each segment stores a string:"Road C, 1 km from Road A to 0.5km From Road B". Calculation of the distances could be ...
5
votes
1answer
214 views

Merging and joining two line feature classes while maintaining attributes from both using ArcGIS for Desktop?

I created an event layer using the MAKE ROUTE EVENT LAYER tool based on anticipated scheduled events. The road layer which is the base layer is intact. What I would like to achieve is combine layer ...
5
votes
1answer
237 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
370 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 ...
5
votes
2answers
695 views

Problem with the where clause in ArcGIS when dealing with variables

I am writing a python script for ArcGIS. I have an input feature class which contains multiple pipelines which is saved as a variable InputPipeline. I would like to iterate through the pipelines and ...
5
votes
1answer
2k views

ArcGIS License - ArcInfo level license set during python script execution vs via Desktop Administrator

We have an ArcInfo floating license available. Can I check out an ArcInfo level license via arcpy. Here, from the arcgis help, it says you can import a license level for stand-alone scripts. If a ...
5
votes
1answer
300 views

Postgres/postgis cursors

I have a road network with StreetName and min/max address ranges for each segment (ie- StreetName = 'Main St', Min = 100, Max = 199). I also have individual address points with similar information ...
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 ...
5
votes
3answers
537 views

How not to Copy Features when too many would be output?

This question has already been posed to the ArcGIS Geoprocessing forum but I have had no responses there. I have a 3.5 million polygon layer (cadastre) stored in Oracle via ArcSDE. I use a polygon ...
5
votes
1answer
355 views

Combined area of all features within features of another layer

I have a grid shapefile (basically, a half-degree grid of the world, where each cell has a unique id number), and a set of files with features. I want to record for each grid cell, all the areas ...
5
votes
3answers
422 views

Using Multiple ShapeFiles as a single address locator

Let's say I have 5 shapefiles, and I want to use them as a single address locator via the ILocator interface. What would you recommend? 1) Merge the shapefiles into a single shapefile then convert ...
5
votes
2answers
607 views

Truncate Table tool with geoprocessing service (ArcGIS 10.1)

A model I built with ModelBuilder works as expected in Desktop yet generates numerous error messages when published as a geoprocessing (GP) service in ArcGIS Server 10.1 SP1. I've decided to start ...
5
votes
1answer
5k views

Watershed Delineation

I am trying to delineate just the catchment area of some lakes, and am wondering the correct way to do this. I already have a filled DEM, along with a flow direction and a flow accumulation raster. Is ...
5
votes
1answer
1k views

Updating a point's geometry based on geometry of another feature class

I'm looking to update the point geometry of lets say "oldFC" by obtaining the shape geometry of "newFC" and applying that to the "oldFC". I also want it to grab the value in the ID field in ...
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
2answers
387 views

SelectLayerByLocation not Selecting

I have been trying for some time now to create a script to extract the polygons within an extent, but am unable to get the same result as when I use the user interface manual method. Maybe someone ...
5
votes
1answer
694 views

Setting “REAL” work/scratch workspace in ESRI/ERDAS etc

I thought the issue was only in ARCGIS but it seems that ERDAS does the same thing. I have my C with 1.7TB and my D with 10TB and my scratch set to d:\scratch but still ERDAS (and ESRI) fills my ...
5
votes
2answers
2k views

Efficiency of python script using SAGA and arcpy

=== SUMMARY === I have created a process to import a LAS point cloud, clip it, select the ground points and save the output as an XYZ.txt for clients to use. This uses a python based script (will ...
5
votes
2answers
3k 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 ...
5
votes
1answer
891 views

Split polylines at polygon boundaries in QGIS

I have a set of contour lines and a polygon set containing glaciers. Because I want the glaciers to have blue contours, I need to split the contour lines at the glacier boundaries. I can achieve this ...
5
votes
1answer
932 views

How to create iterative Select by Location, Summary Statistics tool using ModelBuilder?

I do a lot of proximity analysis using "select by location" and would like to cut down on the effort spent each time doing this! I have put together a model using ModelBuilder that: Iterates over ...
5
votes
3answers
1k views

Using arcpy what is the most efficient way of projecting a selection from a large data set?

I have a large data set X(x1-xn) from which I must select consecutively the attributes A(a1-an) from X.fieldsSRC or X.fieldDST and project the selections. I have a functioning arcpy script that does ...
5
votes
1answer
353 views

ArcObjects 10 Java SDK

I am being tasked with converting a AGS georpocessing toolkit currently written in AO 10 C# SDK to AO 10 Java SDK. Are there any resources out there which show an end to end example of creating an ...
5
votes
1answer
278 views

Does Google Earth Builder support server-side geoprocessing?

Is there a feature in Google Earth Builder that supports server-side geoprocessing? For example, say I upload two large geo datasets to Google's cloud: one with lots of points and another with lots ...
5
votes
2answers
2k views

Is it possible to change spatial reference (and reproject) feature classes in-place, using ArcMap/GeoProcessing?

We have an Esri based system in production; a complicated data model with a large number of feature classes. We need to migrate the data to another spatial reference. The feature classes have class ...
5
votes
1answer
2k views

How to intersect lines and polygons in R?

Following on from an answer about intersecting polygons with lines to chop up a polygon into smaller polygon units (in QGIS), I wanted to try the same thing in R. However, I cannot seem to find a ...
5
votes
1answer
420 views

How to divide a polyline by intersecting isochrones

I have two shapefiles, the first representing a path (a polyline with a single category), the second representing isochrons from the same origin (point 0) which intersect the above mentioned path. I ...
5
votes
1answer
403 views

GP Progress Dialog in ArcGIS10

I have an ArcGIS custom IGPFunction tool. I want to use the GP progress dialog not the progress bar at the bottom of the ArcGIS window as I don't want people to interact with the map whilst it's ...
4
votes
3answers
631 views

How can I have ArcGIS not automatically add raster clip output from Python window to the current map

I have a collection of rasters that I'm writing code to automate clipping based on a user defined shapefile. I am currently doing this in the Python window using the following as the main processing ...
4
votes
2answers
228 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
4answers
762 views

How to process large shapefiles faster in ArcGIS for Desktop?

I have huge line and polygon shapefiles that I want to edit with some geoprocessing tasks (clip, buffer, erase,...). Altough my computer is not that slow, I am annoyed of waiting up to 15 hours for ...
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
306 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
1k views

What is the distinction between Difference and Clip in QGIS?

What is the primary distinction between the Difference and Clip geoprocessing tools in QGIS?
4
votes
1answer
324 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
262 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 ...