Sunteți pe pagina 1din 10

QuickTerrain.

tbx:
Automating Military
Spatial Queries

AUTOMATING MILITARY SPATIAL QUERIES KEVIN H. LAWHON

GIS 540,

Problem
Each Brigade sized element (3-5K people) in the Army has a small GIS section
of 2-3 Soldiers
Each Soldier has the equivalent of GIS 510/520 level training, but no
programing experience
As a result, many common spatial queries are done manually (time consuming)

Solution: Use Python to automate routine


processes
Answer the questions Where can I move? and Where can I shoot?

AUTOMATING MILITARY SPATIAL QUERIES KEVIN H. LAWHON

GIS 540,

Specific Workflow
Inputs
Folder of 30m
DEMs
Folder of 6 Band
Composite Rasters
X,Y Coordinates
for Artillery Firing
Positions
Slope Parameters
for Various types
of Vehicles

Processes
Mosaic DEMs and
LandSat Scenes
Calculate NDVI
Calculate Slope
Reclassify Slope Raster
based on Slope
parameters
Reclassify NDVI to
show vehicle
limitations
Create Artillery Range
Fan

Outputs
Polygon Layer
representing
vehicle limits based
on slope
Polygon Layer
representation
vehicle limits based
on NDVI
Artillery Range Fans
HTML

AUTOMATING MILITARY SPATIAL QUERIES KEVIN H. LAWHON

GIS 540,

Required Components
Python Geo-processing:

For and While:

AUTOMATING MILITARY SPATIAL QUERIES KEVIN H. LAWHON

GIS 540,

Required Components
Code Reuse (User Defined Functions )

AUTOMATING MILITARY SPATIAL QUERIES KEVIN H. LAWHON

GIS 540,

Required Components
Script Tools

AUTOMATING MILITARY SPATIAL QUERIES KEVIN H. LAWHON

GIS 540,

Required Components
Inform the User and Add Output to the Map

AUTOMATING MILITARY SPATIAL QUERIES KEVIN H. LAWHON

GIS 540,

Required Components
Handles Exceptions

AUTOMATING MILITARY SPATIAL QUERIES KEVIN H. LAWHON

GIS 540,

Short Comings
Originally envisioned as 1x script- Ended up as 3 scripts
plus a model (could not properly apply scheme to select
artillery points from GUI)
Too much geo-processing in a single script for too large
a data set (Computationally intensive)
When HTML user defined function was removed from
single script, it lost the functionality to display images
Linkage between script tool and script are not quite
there
AUTOMATING MILITARY SPATIAL QUERIES KEVIN H. LAWHON

GIS 540,

Desired Output
A Single MXD that highlights mobility corridors
for military vehicles and shows how they can
be covered with indirect fire (Artillery)

AUTOMATING MILITARY SPATIAL QUERIES KEVIN H. LAWHON

GIS 540,

S-ar putea să vă placă și