Former-commit-id:a02aeb236c
[formerly9f19e3f712
] [formerlya02aeb236c
[formerly9f19e3f712
] [formerly06a8b51d6d
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]] Former-commit-id:06a8b51d6d
Former-commit-id:8e80217e59
[formerly3360eb6c5f
] Former-commit-id:377dcd10b9
84 lines
3.1 KiB
HTML
84 lines
3.1 KiB
HTML
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<meta name="GENERATOR" content="Mozilla/4.79 [en] (X11; U; Linux 2.4.9-31smp i686) [Netscape]">
|
|
<meta name="Author" content="Mark Mathewson">
|
|
<title>Map Background Configuration</title>
|
|
</head>
|
|
<body bgcolor="#FFFFFF">
|
|
|
|
<h1 CLASS="3Heading">
|
|
<a NAME="Top"></a>MapFiles.py - Map Background Shapefile Naming File</h1>
|
|
|
|
<div CLASS="3Heading">September 13, 2002</div>
|
|
|
|
<h1 CLASS="3Heading">
|
|
|
|
</h1>
|
|
<h2>
|
|
<a NAME="Organization"></a>Organization</h2>
|
|
<a href="#Overview">Overview</a>
|
|
<br><a href="#Format">MapFiles.py Format</a>
|
|
<br><a href="#Updating">Updating Map Shapefiles</a>
|
|
<br>
|
|
<hr WIDTH="100%">
|
|
<h2>
|
|
<a NAME="Overview"></a>Overview</h2>
|
|
The MapFiles.py file defines the shapefile names for each of the main categories
|
|
of shapefiles. It is imported by the <a href="mapConfig.html">Maps.py</a>
|
|
file and can be overridden by the <a href="localMapFiles.html">localMapFiles.py</a>
|
|
in order to provide easy shapefile upgrades. This document describes the
|
|
format of the MapFiles.py file.
|
|
<p><b><font color="#FF0000">See the <a href="serverConfiguration.html#ServerDatabaseConfigurationModificationOptions">server
|
|
configuration overview</a> for information on how to make changes that
|
|
are supported to the map backgrounds.</font></b>
|
|
<p>
|
|
<hr WIDTH="100%">
|
|
|
|
<h2>
|
|
<a NAME="Format"></a>MapFiles.py Format</h2>
|
|
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 <a href="mapConfig.html">Maps.py</a> and
|
|
<a href="localMapsConfig.html">localMaps.py</a>. Thus as the shapefiles
|
|
are updated, the changes in the map background configuration is confined
|
|
to just one file.
|
|
<br>
|
|
<p><tt># MapFiles.py</tt>
|
|
<br><tt># Contains a listing of filenames used for map generation.</tt>
|
|
<br><tt># NOTE: DO NOT EDIT THIS FILE, instead use the localMapFiles.py
|
|
method</tt>
|
|
<br><tt># of overriding this file.</tt><tt></tt>
|
|
<p><tt># These are the translations (for convenience from name to shapefile
|
|
name)</tt>
|
|
<br><tt># These entries are used in Maps.py and localMaps.py.</tt>
|
|
<br><tt>CountyMapName = 'c_30au02'</tt>
|
|
<br><tt>ZoneMapName = 'z_30au02'</tt>
|
|
<br><tt>CWAMapName = 'w_25ap02'</tt>
|
|
<br><tt>MarineZonesMapName = 'mz10se02'</tt>
|
|
<br><tt>StatesMapName = 's_24ja01'</tt>
|
|
<br><tt>BasinsMapName = 'ba18jl02'</tt>
|
|
<br><tt>FireWxZonesName = 'fz15au02'</tt>
|
|
<br><tt>RFCMapName = 'rf19fe99'</tt>
|
|
<br><tt>LakeMapName = 'lk17de98'</tt>
|
|
<br><tt>HighSeaMapName = 'hz02oc01'</tt>
|
|
<br><tt>CityMapName = 'web_city'</tt>
|
|
<br><tt>HighwayMapName = 'ri11oc01'</tt>
|
|
<br><tt>ISCMapName = 'cm14au02'</tt>
|
|
<br><tt></tt>
|
|
<br>
|
|
<p>
|
|
<hr WIDTH="100%">
|
|
<h2>
|
|
<a NAME="Updating"></a>Updating Map Shapefiles</h2>
|
|
The procedure to update map shapefiles is described in the <a href="localMapFiles.html">localMapFiles.py</a>
|
|
documentation.
|
|
<p>
|
|
<hr WIDTH="100%">
|
|
<br>
|
|
<div CLASS="Body"> <a href="#Top">Back To Top</a>
|
|
<br> <a href="GFESuite.html#TableOfContents">Back To TOC</a></div>
|
|
|
|
</body>
|
|
</html>
|