Skip to topic | Skip to bottom
ADAPT - A Digital Approach to Preservation Technology

Main
Main.FiremapViewerr1.3 - 25 Jan 2007 - 15:59 - MikeMcGanntopic end

Start of topic | Skip to actions

Firemap Viewer

The firemap viewer is the front-end web GUI interface and supporting servlets (Tile Cache servlet, Map Service Servlet)

Building from source

The following projects are required:

  • firemap-viewer
  • firemap-schema
  • util

The following libraries are required:

  • com.google.gwt
  • org.postgresql.jdbc3
  • org.apache.log4j

Compile firemap-viewer and make sure a WAR file is generated in the project's dist directory. If not, uncomment the necessary build target in the build.xml file.

Install Apache Tomcat. The firemap.war file is the object that needs to be deployed on the tomcat server. Remove any existing firemap.war or firemap directories under webapps first and then place the firemap.war in the webapps directory. The web application also needs a configuration file to run properly. In attempt to make development easier, this path to to configuration file is passed to the application through a system property (which ended up being confusing--placing it in the context.xml file is probably better). A simple script tcstart has been provided that correctly starts tomcat.

Configuration

A sample configuration file is included in the source under the etc directory. The parameters needed in the configuration file are as follows:

  • edu.umd.geog.firms.firemap.Database.Interface: Set to edu.umd.geog.firms.firemap.dbi.postgis.DatabaseInterfaceImpl
  • edu.umd.geog.firms.firemap.Database.User: Username of the database user to connect as
  • edu.umd.geog.firms.firemap.Database.Password: Password of the database user
  • edu.umd.geog.firms.firemap.Database.URL: URL used to connect to the database
  • edu.umd.geog.firms.firemap.Servlet.LogFile: Log file that will be created by the servlets to log information to.
  • edu.umd.geog.firms.firemap.TileCache.Directory: Directory that will store the tile cache
  • edu.umd.geog.firms.firemap.MapService.MaxRows: Maximum estimated rows returned from a database query that will show actual fire data and not aggregate summaries (150000).
  • edu.umd.geog.firms.firemap.MapService.MaxCost: Maximum estimated cost returned from a database query that will show actual fire data and not aggregate summaries (100000).
  • edu.umd.geog.firms.firemap.Map.SourceURL: Base URL to the map server instance (http://agni.geog.umd.edu/cgi-bin/mapserv)
  • edu.umd.geog.firms.firemap.Map.MapDirectory: Base directory where the map files for the map server are stored (/export/firemap/var/mapserver/firemap).
  • edu.umd.geog.firms.firemap.MapService.ConfigurationDirectory: Directory where region, raster, and vectors are defined. Place all .region.properties, .raster.properties and .vector.properties files here.

-- MikeMcGann - 08 Dec 2006
to top


Main.FiremapViewer moved from Main.FiremapInstallation on 25 Jan 2007 - 15:57 by MikeMcGann - put it back
You are here: Main > WebFireMapper > FiremapViewer

to top

Copyright © 1999-2008 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.