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 (1)

6
votes
3answers
8k 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 ...
6
votes
5answers
3k 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 ...
6
votes
1answer
5k 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?
6
votes
9answers
11k 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 ...
6
votes
2answers
873 views

Binding Objects to List for ArcGIS Python Script Tool 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 ...
6
votes
3answers
1k views

In FME, is there a way to connect multiple input feature types from reader and route to single transformer?

In FME, is there a way to connect multiple readers to a single transformer? I'm using FME 2015 and want to clip a bunch of feature classes to a single feature, but can't seem to find an easy way to do ...
6
votes
3answers
4k views

Topology or out of memory errors with large dataset intersects and spatial joins in ArcGIS

I receive a topology error notification when intersecting a point dataset (with ~5 million points), with a polygon dataset created by buffering those points by a half mile. The goal is to create a ...
6
votes
1answer
867 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 ...
6
votes
2answers
1k views

how to cluster points of interest by lat lon for my WP7 app

I have alread asked this question on SO, so I appologies if duplicating this is bad form. I will link to each of the sites if I get the right answer... ...
6
votes
1answer
324 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 ...
6
votes
2answers
4k 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 ...
6
votes
3answers
399 views

Improving ArcGIS Results saving and manipulating

The ArcGIS Results Window is an incredibly useful way to keep track of what has been done in a particular map. I use it constantly as a means of documenting the essential parts of a project's ...
6
votes
2answers
481 views

PostGIS ST_Union Performance

I'm trying to execute a 'dissolve' operation in PostGIS using the ST_Union command. The input layer is admittedly quite large and complex. By 'large' I mean 57,771 features, with number of vertices ...
6
votes
2answers
148 views

How to enable adding both feature classes / tables and layers from TOC to a script tool parameter input?

I have developed a script tool which will allow a user to specify input feature class or table and then will process it. Surprised I haven't noticed this before: I cannot find which data type my ...
6
votes
1answer
502 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 ...
6
votes
1answer
1k views

Can Spatial Joins be used to perform One-to-Many Closest joins?

My situation appears rather simple, but it has given me headaches more than once already. I have a set of points and a set of polylines. I would like to use a spatial join to join the attributes of ...
6
votes
1answer
1k views

Eliminating gaps in ArcGIS union operation?

I have a layer that has nested polygons in them. I want to aggregate the polygons. I do this using the Union function. I use the "No Gaps" option when I perform the union. However, when I overlay ...
6
votes
1answer
1k views

ArcObjects C#: Create Random Points fails with ERROR 999999: Error executing function

I am having trouble running some ArcObjects C# code that calls create random points. I would not be doing this in ArcObjects, but I am suffering with the same issue using Arcpy as seen here: ...
6
votes
2answers
595 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 ...
6
votes
2answers
3k views

What is ArcGISCacheMgr.exe and why does it have a lock on my folder?

I've got a 10.0 gp service running on Windows Server 2008. The gp service writes to a folder on the server. The parent of this folder is shared. When it comes time to delete folders on the server, ...
6
votes
3answers
3k 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 ...
6
votes
3answers
2k views

Projecting selection from large data set using ArcPy?

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 ...
6
votes
1answer
867 views

Is there a way to get the percentage of different landuse types upstream of a given point?

I'm a fairly novice GIS user and know just enough to get in trouble in a lot of cases. I am trying to look at the connection between several measured parameters at a few hundred stations along ...
6
votes
1answer
259 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... ...
6
votes
1answer
682 views

ArcGIS Desktop 10.1 SP1: how to install/use additional Python modules?

I'm currently working on a project where I have to identify geomorphological features in a digital elevation model. Since the aim is to have a single ArcGIS Toolbox integrating all processing steps in ...
6
votes
1answer
1k 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 ...
6
votes
4answers
352 views

Filtering features using geometric attributes of polygons in ArcGIS Desktop?

Given a polygon featureclass containing many polygons of different sizes and shapes, which geometric attributes (area, perimeter, etc) could be used to filter the polygons? It's probably best to ask ...
6
votes
1answer
186 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
3k 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 ...
6
votes
1answer
300 views

PostGIS “Overlay” Style Union, not “Dissolve” Style [duplicate]

I'm trying to use PostGIS to do a 'union' of polygons. When I Googled "PostGIS Union", I found the ST_Union function, which performs what I would call a 'dissolve,' not a Union. What I actually want ...
5
votes
5answers
17k views

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

In ArcGIS Desktop, can you calculate as an attribute value the distance to the nearest polygon of type X? Assume we have a point layer of wildlife observations and we want to know how far each of ...
5
votes
3answers
1k 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 ...
5
votes
3answers
407 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
2answers
1k views

Making 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
3answers
2k views

How to setup PyCharm to reference ArcPy?

How would I setup PyCharm to recognize import ArcPy? I'd like to use PyCharm to develop and debug geoprocessing tool.
5
votes
2answers
686 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
1k 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
1k views

Python Script to convert a mass of KMLs to a single fGDB

I have a mass of KML files, approx 350+ that I need in a single fGDB. I lifted a string of code from ESRI help to attempt to do this - I got it working to the point of creating all the individual ...
5
votes
4answers
3k views

Extending batch of lines to another object using ArcGIS Desktop?

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
4answers
1k 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
3answers
2k views

How to enable multithreaded processing in qgis 2.2

I have found multiple links that appear to say that this now exists in qgis 2.2, but it appears that it's only using one core to full capacity. This is running on Ubuntu 14.04 The current process is ...
5
votes
1answer
662 views

Where can I find ArcGIS logs when I execute a python script using arcpy?

I'm executing a python script locally on my computer where ArcGIS Desktop 10.0 is installed (Windows 7). The script uses functions from the arcpy library installed with the ArcGIS Desktop to manage ...
5
votes
2answers
2k 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
1answer
581 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
1k 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
185 views

need to find max value among fields AND PRINT FIELD NAME

I have a Census dataset that contains eight fields with percentages. I would like a python script that finds the highest value between the eight fields, but also tells me which field the highest ...
5
votes
2answers
315 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
999 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
2answers
1k 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, ...
5
votes
1answer
3k 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 ...