MapFiles.py - Map Background Shapefile Naming File

September 13, 2002

Organization

Overview
MapFiles.py Format
Updating Map Shapefiles

Overview

The MapFiles.py file defines the shapefile names for each of the main categories of shapefiles.  It is imported by the Maps.py file and can be overridden by the localMapFiles.py in order to provide easy shapefile upgrades. This document describes the format of the MapFiles.py file.

See the server configuration overview for information on how to make changes that are supported to the map backgrounds.


MapFiles.py Format

The format of the MapFiles.py is very simple.  It simply contains a list of the map filenames and assigns them to variables.  These variables are used throughout Maps.py and localMaps.py.  Thus as the shapefiles are updated, the changes in the map background configuration is confined to just one file.
 

# MapFiles.py
# Contains a listing of filenames used for map generation.
# NOTE: DO NOT EDIT THIS FILE, instead use the localMapFiles.py method
# of overriding this file.

# These are the translations (for convenience from name to shapefile name)
# These entries are used in Maps.py and localMaps.py.
CountyMapName = 'c_30au02'
ZoneMapName = 'z_30au02'
CWAMapName = 'w_25ap02'
MarineZonesMapName = 'mz10se02'
StatesMapName = 's_24ja01'
BasinsMapName = 'ba18jl02'
FireWxZonesName = 'fz15au02'
RFCMapName = 'rf19fe99'
LakeMapName = 'lk17de98'
HighSeaMapName = 'hz02oc01'
CityMapName = 'web_city'
HighwayMapName = 'ri11oc01'
ISCMapName = 'cm14au02'
 
 


Updating Map Shapefiles

The procedure to update map shapefiles is described in the localMapFiles.py documentation.



 
 Back To Top
 Back To TOC