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

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 ...
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
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 ...
10
votes
3answers
862 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
522 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
4answers
11k 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 ...
9
votes
3answers
160 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
3answers
709 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
896 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
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 ...
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
415 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
798 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: ...
5
votes
3answers
404 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
1answer
335 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
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
2answers
582 views

Is there a way to auto-update symbology between .mxds for the same shapefile? (Python?)

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
896 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
128 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
1answer
201 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
180 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
416 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
162 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
2answers
6k views

Running Python script in Task Scheduler— Script will not run

I have a script which I wish to run on a regular monthly basis without me needing to open and run the it. I have referred to every web page I can find on Windows Task Scheduler and followed their ...
3
votes
3answers
282 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
2answers
515 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
535 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
81 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
1answer
814 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
1answer
25 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 ...
3
votes
1answer
46 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
185 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
856 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
114 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
125 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
162 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
364 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
1answer
607 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. ...
3
votes
0answers
41 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
140 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
559 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 ...
2
votes
2answers
2k views

Join multiple fields to table and export new table as join field name using ArcGIS Geoprocessing?

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 ...
2
votes
1answer
109 views

Interpolation code with Mapbasic

I have a drivetest data, and usually I do an interpolation using the values taken in the drive with their respective lat/long. I use natural neighbor. You can see an example attached. I am trying ...