Refers to writing a program or script, or creating a model to perform repetitive and/or complex tasks.

learn more… | top users | synonyms

25
votes
10answers
4k views

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. Do you know and use ...
14
votes
4answers
2k 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 ...
12
votes
5answers
12k 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 ...
12
votes
1answer
1k 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 ...
11
votes
7answers
1k views

Platforms for repetitive automated mapping?

I could give a lot of examples, but imagine you have to do, for example, a study in 10 different locations and have to generate a lot of maps with the same layout, legend. Maps can contain vector ...
10
votes
3answers
868 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 ...
10
votes
2answers
549 views

How do I generate a large number of maps?

I have to make a large number (hundreds) of distribution maps of species. I have a shapefile that contain the distributions for each species, and for each one, I would like to get a map as an image ...
9
votes
3answers
162 views

How can I apply the same change to multiple map documents?

I have several map documents (around 30) that reference all the same files and display them all the same way. I created them by setting one map how I wanted it, then using "save as" to create a new ...
7
votes
2answers
3k 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 ...
7
votes
3answers
764 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 ...
7
votes
1answer
959 views

How to create arrows lines automatically on ArcGIS, for a thematic map of directed flux?

I need to create a map with the Import and Export Flux between countries. I have the needed data in my table. But I wish to know if there is any tool or extension which will allow me to create those ...
7
votes
1answer
5k views

Building extraction with LiDAR data (Improve Process)

I have the following process for automatically creating building outlines/footprints from Las files and was wondering if anyone can help improve it or has suggestions for other processes to use? ...
7
votes
2answers
5k 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 ...
6
votes
2answers
2k views

Automating batch load of multiple GPX files into PostGIS

I've got 50+ GPX files that I would like to "batch load" into a PostGIS database. All of the track_points data would be loaded into a "track_points" table (with typical GPS fields like lat, long, ...
6
votes
3answers
430 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 ...
6
votes
5answers
4k 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 ...
6
votes
1answer
823 views

Automating ArcMap 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 10 application with code like this: ...
6
votes
2answers
4k views

How can you alter label styles (font, color, size, etc.) using Python scripting? (ArcGIS 10.2)

I am trying to write a python macro that will automate the process of labeling points in a layer based on different types of apartments. For example, one style of apartments would have a blue square ...
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
645 views

Auto-updating symbology between *.mxds for same shapefile using arcgisscripting?

I have a variety of .mxds for any one project I'm working on, which are all different but all use the same set of base shapefiles for my project. I know I can save a .lyr version of my initial ...
5
votes
1answer
418 views

Programmatically grouping multiple layers into separate groups using QGIS?

I'm trying to group a large number of layers together based on a common portion of name string. They are a mix of polygons and points. I would like to create individual groups by using part of the ...
5
votes
1answer
1k views

Convert from WGS84 to Google Mercator

I want to convert longitude and latitude coordinates from WSG84 to Google Mercator. The following code-samples show my coordinates in a KML/KMZ file and where I need the coordinates in the javascript ...
5
votes
1answer
132 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
1k views

Is there a way to run a python script on opening a QGIS project?

I have a .csv file containing financial data which is generated on a regular basis outside QGIS. Then I want to create a PyQGIS script that will add the .csv file as a layer in my project. (The idea ...
4
votes
2answers
64 views

Arcpy mapping text element reset

I am writing a script to create thousands of maps and I am trying to create a table that updates for every map. Basically an updating table of the information specific to each map. I have been trying ...
4
votes
1answer
122 views

How can values in the attribute table be refreshed automatically when a geometry changes?

I can't find a solution for auto-refreshing attribute table data. For instance, how can the data related to features of a Shapefile (e.g., the area) be updated if the feature geometry is changed.
4
votes
1answer
213 views

Pulling CSV file directly from website into QGIS?

I want to be able to automatically update my csv files in a QGIS project. My organization has an online database that can easily export csv files. These csv files are constantly updated with new ...
4
votes
1answer
184 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 ...
4
votes
4answers
6k views

Automating Select by Location in ArcGIS Desktop?

I have 2 shapefiles (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 ...
4
votes
1answer
448 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 ...
4
votes
1answer
3k 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 ...
3
votes
2answers
197 views

QGIS Real-Time Vector Layer Creation

QGIS is running on my Windows PC. I have a CSV file on my PC that is remotely updated with values of a raspberry pi's GPS position and some wifi-status readings. Is it possible to create a vector ...
3
votes
3answers
312 views

How to apply a specific Rendering to a Raster and export to JPEG?

We have a specific process which generate an interpolated single band 32-bit Float Raster in Erdas Imagine (.IMG) format. This process generates an image every hour. We wish to apply a specific ...
3
votes
1answer
119 views

Automating QGIS project composer printing?

I have a large project which consists of around 10x QGIS project files. Each project contains a print composer with an atlas set up to generate up to 10 maps. What is the easiest way to automate the ...
3
votes
2answers
551 views

How practical is this workflow, tiling from a complex, multi-step GDAL VRT?

This is probably a cw-candidate, but here goes.. I've got 1002 ~100 MB (5000'x5000') .tif files in a state plane (transverse merc) projection comprising a county-wide, 1-ft aerial dataset. After two ...
3
votes
1answer
593 views

Area precipitation using IDW

I'm having the following problem with IDW automation. I have a catchment and several gauging stations measuring daily precipitation amounts. I would like to interpolate the precipitation amounts from ...
3
votes
1answer
847 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 ...
3
votes
2answers
25 views

Is there a way to automatically open up the attribute table after model builder is complete?

I know there is a setting to add the finished product to the map after model builder is done. But, is there a setting to automatically open up the attribute table after as well?
3
votes
1answer
48 views

Apply ArcGIS Field Calculator on New Records

I'm using the Field Calculator in ArcMap 10.1 to populate a field with a string version of an existing integer field. This is working correctly on existing data. I am looking for a way to have ...
3
votes
1answer
193 views

Workflow Scripting in QGIS

I have created a hexagonal grid shapefile using MMQGIS and want to use this for hexagonal binning. I have another point shapefile which contains patient records for three different types of hospital ...
3
votes
1answer
952 views

TMS or WMS source(s) for DEM data tiles?

I'm spinning my wheels trying to find an existing, free source for TMS or WMS elevation data that doesn't involve a long-winded clickabout or an emailed url. This question has a similar purpose, but ...
3
votes
1answer
118 views

How to automatically create a map for each column of attribute table?

I have an atribute table with yearly data for 10 regions, is there a way how to automaticaly create a set of maps (one for each year) with fixed scale? I tried to search the web but perhaps I didnt ...
3
votes
1answer
164 views

How to automate exporting map for many fields in the same layer?

I need to make a few ~75 frame time-lapse animations where each frame is a map of site status in a given week. Each week's statuses are a different field in a single shapefile. I export a frame of ...
3
votes
1answer
164 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) ...
3
votes
1answer
378 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 ...
3
votes
0answers
43 views

Creating 30 areas with equal amount of road in an irregular polygon

The result should be something like this just more polygons. Does anyone know about a tool, which given a table, can create a number of polygons which will divide the tables object into, for ...
3
votes
0answers
156 views

How to use WEKA J48 classifier for satellite image classifications

Basically I am trying to build a tool from WEKA software using the J48 classifier for automatic satellite image classification to build landuse land cover maps. Could somebody please help, as I am not ...
2
votes
2answers
70 views

Update Cursor for automation of tedious data entry which keeps crashing ArcMap

I coded the Update Cursor for automation of tedious data entry where I am applying a previous Survey Company Identification Data to STRUCTURES_15096.shp from "OFFICIAL_STRUCTURES2015.shp" and it keeps ...
2
votes
2answers
562 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 ...
2
votes
3answers
1k 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 ...