Refers to writing a program to perform repetitive tasks.

learn more… | top users | synonyms

6
votes
3answers
303 views

Automating removal of all demo layers from Geoserver

Is there an easy way to empty out an install of a standalone Geoserver jar (i.e., delete all the examples) or do I have to do it through either the admin GUI or the RESTful interface? Can I just ...
1
vote
0answers
212 views

how to automate changing polygon's shape while keeping its area the same and limiting deviation from orginal centroid? [closed]

I have a polygon that was digitized based upon visually interpreting underlying values of rasters/vectors that represent a natural environment (soil type, surface roughness, slope, elevation, ...
1
vote
0answers
147 views

Automate “add junction flag-->trace downstream-->update field”

I have two point feature classes in a geometric network, say featureA and featureB. FeatureB is downstream of featureA. And there are about 10 featureB points downstream of 1 single featureA point. I ...
2
votes
3answers
787 views

Fully automating a workspace to create maps with different file names but same information?

I have a lot of maps (over 600) to create. They all contain the same column titles and the layouts will be the same. I don't want to have to go through and repeat the same process everytime, I would ...
2
votes
2answers
481 views

Looking for python/VB script to insert a new uniqe field

Is there any phyton/VB script which will add a field to shapefile which will be corresponding to first three characters from the shapefile name ? I am working in modelbuilder and arcgis 10. Thanks ...
1
vote
2answers
636 views

How to automate relative filepath when adding a new toolbox to the arcmap catalog?

So I'm creating an arcpy script for a custom toolbox and I want to make it so that a user can essentially utilize the script in that toolbox without having to change the source path (which I made ...
6
votes
1answer
531 views

What is the right way to automate ArcMap 10 with ArcObjects for unit testing?

I need to run unit tests against ArcMap extension which closely coupled with specific edit workspace and map state. When I try to initialize ArcMap application with code like this: ...
11
votes
1answer
583 views

automating roof orientation detection from satellite imagery

A while ago I did a neighbourhood roof orientation survey for solar panel deployment, by visually checking each roof and marking individually whether they were south or almost south-facing. As this ...
13
votes
4answers
1k views

Python module to delete SHP features (without Desktop GIS installed)

I have a piece of software (not Arc) that runs nightly on a non-production machine which updates shapefile features from an external database. Periodically I would like to delete all of the features ...
3
votes
1answer
407 views

Georeferencing multiple rasters to World files

I've got exactly 56 tiffs to georeference. Each raster has its unique TFW world file. I'd like to automate this process. Each raster has it's unique name which is consistent with world file name (eg. ...
4
votes
4answers
3k views

Automate Select by Location

I have 2 shape files (A and B) each with thousands of polygons. I want to select polygons from A which intersect a specific polygon from B, and save the selected polygons from A as a new shapefile. I ...
6
votes
2answers
3k views

How to extract road and building features from raster data?

I work with raster data and my task is to digitize a big image. This consumes much time just for digitizing roads and buildings! I'm looking for tools to simplify working on raster data to digitize ...
5
votes
3answers
361 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 ...
10
votes
3answers
793 views

Polygons from Polylines in either ArcView or FOSS

I have 20,000 polylines in a .gdb that represent about 5,000 building footprints. Some of the building footprints have pretty substantial gaps (image below). I would like to snap the polylines closed ...
3
votes
1answer
2k views

How do I programmatically create non-feature-linked, simple line callout annotation and set the anchor point?

Vitals: ArcGIS-ArcView 10.0, Python 2.6.5, PythonWin, comtypes I'll start with my main questions: How, using ArcObjects, do I go about creating non-feature-linked geodatabase annotation features ...
2
votes
2answers
196 views

Automating the “Add Data” tool to add 400+ geotiffs based on file extensions

I have a spreadsheet that lists the file extensions for 400+ geotiffs that I need to add to ArcMap 10. Is there a way to automate the "Add Data" function? Thanks!
6
votes
5answers
2k views

Converting GIS features into multiple CAD layers based on attribute values

I am often requested to provide my water or sewer data in in a dwg or dxf format. I can easily move data back and forth between the two platforms using either the native import or export functions ...
21
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 ...
9
votes
3answers
7k views

How to change feature class and field aliases in bulk?

I have over a hundred FCs, each with 10 or 20 attributes to add or change the aliases for, two or more times a year. Needless to say, this is not something I'm going to grunt my way through. How can I ...