Questions tagged [geoprocessing]

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.

Filter by
Sorted by
Tagged with
6
votes
1answer
7k 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
13k 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
8k 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 multi-...
6
votes
2answers
119 views

Polygons from two different shapefiles that share common border in QGIS?

I have two shapefiles, which are village administrative units in this case. Given that these two shapefiles share a common boundary/border is it possible to get the border units (villages) on both ...
6
votes
2answers
1k 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 ...
6
votes
1answer
5k views

QGIS merge layers: error on data type

I am getting the following error: The log is not providing lot of information. What is meant by data type? I can't figure out where the problem is situated. The layers I want to merge are all ...
6
votes
4answers
2k 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.
6
votes
1answer
2k 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 (...
6
votes
1answer
3k 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 ...
6
votes
2answers
3k views

Using multipolygon or polygon features for large intersect operations?

I have two large layers that I want to do intersect operations. One is municipalities and the other is landuse. Right now, the landuse layer is of MultiPolygon type that is, for the entire state, I ...
6
votes
1answer
5k 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 ...
6
votes
3answers
495 views

Cancel event in Python Gp tools with arcpy

In GP-tools written in C# (ArcObjects) we can listen for the Cancel-event and react on that. I wonder if there is anything similar in Python GP-tools applying arcpy. I googled that issue and the only ...
6
votes
1answer
1k 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 ...
6
votes
1answer
6k 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 ...
6
votes
1answer
3k views

How to clip a single layer of overlapping polygons in QGIS

I have a single layer of polygons. Some of the polygons overlap. I wish to make a new layer of just the parts of the polygons that overlap. What is the best way to do this in QGIS seeing it's all in ...
6
votes
1answer
951 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
2k 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
2k 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: http://...
6
votes
2answers
870 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
4k 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
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
334 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
2k views

Dissolve only overlapping polygons in R

I have a spatialpolygons-dataframe in R that contains overlapping polygon features. I would like to dissolve only the overlapping features into separate polygon features (one feature per par of ...
6
votes
1answer
869 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
2k 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
598 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
2k views

ArcGIS geoprocessor memory leak: what's the underlying cause and why is it so hard to fix? [closed]

@blah238's very nice answer to Porting Avenue code for Producing Building Shadows to ArcPy/Python for ArcGIS Desktop? reminded me of all the time I've spent over the past two years battling against ...
5
votes
3answers
2k 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
2answers
14k views

Exporting county level data in *.shp file to text (csv) file in ArcMap?

I have a shape file created as per the answer to my previous question, which includes county level means for each county in the US. How can I now export this data in a .csv file, e.g. with just the ...
5
votes
3answers
435 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

Shapefile Naming conventions in ArcPy?

I have shapefile named `band-tailed_pigeon.shp which is fine and no problem on displaying or geoprocessing on Desktop but in ArcPy when I try to merge some layes to it I am getting this error ...
5
votes
1answer
424 views

Where is the 'on selected polygons only' setting in Processing tools?

Does anyone know where the geoprocess 'on selected polygons only' functionality has gone? I can't seem to find it (Vector>Geoprocessing Tools). As far as I can remember old fTools geoprocessing tools ...
5
votes
2answers
8k views

Fixing Script Error Invalid Pointer from ArcGIS Geoprocessing Tools?

I am just learning ArcGIS 10.2 and it was working well until I tried to use the Export to a Geodatabase (single) option for a dbs table I made. Since then, it seems I now get the same Script Error for ...
5
votes
2answers
2k 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
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
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
3answers
529 views

Ways to determine winding topographic characteristics of a river

Are there any methods and/or technical guides on how to classify the degree of winding of river bodies? I have the following polygon layer of roughly 100,000 water bodies and would like to write an ...
5
votes
4answers
5k 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
3answers
710 views

Clustering neighboring points inside ArcGIS Desktop?

I am using ArcGIS Desktop 10x. I have a shapefile of 300 points which I need to make groups, each of which will contain exactly 9 points which are closest neighbors. I tried the 'near' tool, which ...
5
votes
1answer
2k 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
598 views

Tracking progress of running geoprocessing tools in ArcPy?

I am looking for a way to access a GP tool running in a Python script to be able to see how much of the job has already been done. I have found SetProgressor function, but this one is available only ...
5
votes
1answer
920 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
2k 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
2answers
1k views

How to cut a shape ile?

I want to use a shapefile of the Corine Land Cover. This covers all of Europe, but I am only interested in the area of Scandinavia. How can I cut this file using free software (preferably a command ...
5
votes
2answers
443 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
3answers
8k 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
1answer
135 views

Comparing ArcGIS Desktop configuration on two pieces of hardware?

I have two PCS with ostensibly the same configuration (i.e. both ArcGIS Desktop 10.0 SP5, both 4Gb RAM) yet when I load the same file geodatabase onto both and run the same large (400 element) model ...
5
votes
1answer
4k 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 ...
5
votes
3answers
848 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
660 views

QGIS Count lines in polygon ( to be part of a graphical model )

My problem is very easy to understand but I can't find a solution. I'm actually working on the spreading of a local optic fibre network. These fibres will be contained in plastic tubes buried in ...

1 2
3
4 5
21