Each region, raster, and vector that can be selected in the Firemap application is defined in a separate properties file. The directory given in the main configuration file with the edu.umd.geog.firms.firemap.MapService.ConfigurationDirectory property is scanned at startup for all files that end with '.region.properties', '.raster.properties', and '.vector.properties'.
Sample files can be found in the firemap-viewer project under the etc directory.
Properties for rasters are as follows:
-
Name: Descriptive name of this raster shown to end users.
-
Id: Short descriptive identifier that uniquely references this raster
-
MapName: Base name of the map file for this raster
-
Type: Either 'light' or 'dark' to describe which actual mapfile to use.
-
TiePointX: X Coordinate value of the image's top left corner.
-
TiePointY: Y Coordinate value of the image's top left corner.
-
Default: True if this should be the default
Properties for vectors are as follows:
-
Name: Descriptive name of this vector shown to end users.
-
Id: Short descriptive identifier that uniquely references this vector.
-
Layer: Name of the layer as found in the mapfile.
-
Default: True if this should be enabled by default
Properties for regions are as follows:
-
Name: Descriptive name of this region shown to end users.
-
Id: Short descriptive identifier that uniquely references this region.
-
MapName: Base name of the mapfile that should be used for this region.
-
MinX, MinY, MaxX, MaxY: Coordinate constraints for this region.
-
CenterX, CenterY: Initial point to center on when selecting this region.
-
MinZoom, MaxZoom: Zoom constraints for this region.
-
InitialZoom: Initial zoom level set when selecting this region.
-
FireDownloadURL: URL where pre-packaged shapefiles can be downloaded from.
-
LayerDownloadURL: URL where downloads for layers for this region can be found.
-
RasterIds: Set of rasters that are allowed for this region--list of raster Ids separated by commas.
-
VectorIds: Set of vectors that are allowed for this region--list of vector Ids separated by commas.
--
MikeMcGann - 08 Dec 2006
to top