BAT::Map - generate a map for BAT


Back to top ^


NAME

BAT::Map - generate a map for BAT

Back to top ^


SYNOPSIS

  require BAT::Map;
  BAT::Map::generate(%params);

Back to top ^


DESCRIPTION

This module doesn't actually generate the map - it generates the map classification using BAT::Map::Classify and then generates an http redirect to the interactive map. However, it would be easy enough to replace this module with something that DID generate a map. Only one function is defined: generate() described below.

Back to top ^


FUNCTIONS

generate()

  BAT::Map::generate(%params);

Generate an http redirect to the interactive map after classifying the analysis scores. generate() accepts the following parameters in its params hash.

  session_id     - session_id for the map
  analysis_layer - layer containing analysis_units that the analysis was
                   based on
  analysis_type  - type of analysis, eg 'Endemsim'
  num_of_classes - number of classes to classify the map

Back to top ^


SEE ALSO

BAT::Config, BAT::Map::Classify

Back to top ^


AUTHOR

  Bryn Honeyman 2005

Back to top ^

 BAT::Map - generate a map for BAT