Tagged Questions

Refers to writing a program to perform repetitive tasks.

learn more… | top users | synonyms

6
votes
2answers
1k views

Are there any Python scripts for creating .mxd files?

I am a newbie to both ArcGIS and Python. My requirement is to automate the below MANUAL process: Creating a layer in ArcGIS for Desktop. To put it in another words, creating an ArcMap document ...
2
votes
2answers
2k views

ArcGIS Geoprocessing: Join multiple fields to a table and export new table as join field name

I am bit new to geoprocessing and ModelBuilder. I am using join field tool to join table (info tables/.dbf) to one a shape file. I am trying to use ModelBuilder, as there are around 100 tables (each ...
3
votes
1answer
143 views

Help with intersections in QGIS

I have a shapefile which defines for me the area of each oil field in the North Sea (~300 fields). I also have a shapefile which defines the location of every well that has been drilled (~13000) ...
4
votes
1answer
103 views

How to detect densely labelled areas?

I'm trying to detect densely labelled areas for a given scale like explained below. so dense labelled area is the area having high rate of overlapping labels. I'd like to detect densely labelled ...
4
votes
1answer
146 views

Map automation, create and populate inset maps for densely-labelled areas

I would like to know if it is possible to automate the example in the picture below, unlike the picture below i'm using vector data. I would like for a fixed scale generate map, but when labels are ...
3
votes
1answer
280 views

Dynamically Change Annotation Font Size According To Parcel Area

I'm looking for a solution to change annotation font size in an automated/dynamic way. The annotation data represents civic addresses and are displayed over a parcel fabric. What we would like to do ...
6
votes
3answers
294 views

Is it possible to automate the detection of clearcut areas in optical satellite imagery?

Given optical satellite or aerial imagery of a resolution similar to the image below, is it possible to accurately detect clearcut areas? Is their research or documentation that supports a specific ...
3
votes
1answer
602 views

Automate removal of duplicate polygon nodes from shape file in Arcmap

I have a whole lot of polygon shape files, many of which have got duplicate nodes. This makes processing difficult as almost all tools (erase, union, calculate area) do not work. I found that by ...
4
votes
1answer
284 views

How to handle events with ArcMap automation?

We have a bunch of forms written in C# as ArcMap commands, which are running happily in the normal way from command buttons. The forms interact with the map by creating layers and symbologies, and by ...
7
votes
3answers
371 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
224 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
163 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
860 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
498 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
746 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
602 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
654 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
460 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
4k 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
369 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
810 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
3k 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 ...
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 ...
9
votes
3answers
8k 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 ...