Personal tools
Document Actions

Thematic Map

by José Manuel Vivó last modified 2012-09-08 01:05

Thematic Map development information



Introduction

This component try to solve share and distribution of cartographic data between gvSIG installations. This share must be in a compact, self-contained way to make it easy for users.

The date will be generated in a single file which will contains all resources needed to show data like generator user see the Map (data, legend, symbology). This files could be installed in target gvSIG installation directly or from a remote repository (in the same way that do it gvSIG's extension manager).

Thematic map is a read only files. This will be generated by a tool which will store Thematic map compilation information in a gvSIG project, so compilation process can be repeated after any source cartographic data's changes.

Context

images/thematic-map-analysis-context

ThematicMap plugins context

This graphic shows structure of ThematicMap components (in green) and its relation with gvSIG components (in blue).

Components description:

  • ThematicMap.lib: Library which contains all logical component.
  • ThematicMap.swing: Swing components that uses library.
  • ThematicMap.plugin.view: gvSIG integration component with Thematic Map's visualization.
  • ThematicMap.plugin.editor: gvSIG integration component with creation and editing of Thematic Map.

General View

images/thematic-map-analysis-packages

ThematicMap Main components

This graphic shows main components of the library and plugin to show, create and edit Thematic Map.

Components description:

ThematicMap

This interface gets access to all data from the Thematic Map to show it in a Viewer and all information about creator and contents.

ThematicMapCompilation

This interface allow to collect all information to generate or compile a Thematic Map. This not only includes cartographic data but information about creation, version, description, etc...

ThematicMapCompiler

This interface provides methods to generate a file which will contain all cartographic data and creation information. This is based on a ThematicMapCompilation. Uses fmap to identify all resources to store in file to guarantee target user show cartographic data exactly as source.

ThematicMapLocator

Locator to get the ThematicMapManager instance.

ThematicMapManager

Manager which provides this services:

  • Gets all ThematicMap form a specified folder.
  • Creates instances of ThematicMapCompilation.
  • Creates instances of ThematicMapCompiler.

ThematicMapCompilationEditor

Swing component which show a wizard to manage ThematicMapCompilation data.

This is a Mock-up of wizard steps:

Note

The Step 2 is optional. Using editor plugin this is not used because it uses gvSIG's View document information

ThematicMapUILocator

Locator of ThematicMapUIManager instance.

ThematicMapUIManager

Manager which provides this services:

  • Creates ThematicMapView from a ThematicMap.
  • Creates ThematicMapCompilationEditor from a ThematicMapCompilation.

ThematicMapViewer

Swing component which shows the cartographic data from a ThematicMap into a MapControl. This map will be register all common tool of a MapControl (Zoom, Pam, etc...).

ThematicMapDocument

gvSIG's project document which stores information of a open Thematic Map.

Also, this stores information about which gvSIG's View document used for generate the ThematicMap (if editor plugin is installed).

Can generate a ThematiMapCompilation instance in base of ThematicMap to edit or re-generate the Map.

ThematicMapDocumentManager

Manager which register project document of the plugin.

ThematicMapViewerWindow

Andami's Window which shows a Thematic Map

ThematicMapViewerExtension

Andami's Extension which register ThematicMapDocumentManager and actions for Thematic Map visualization.

ThematicMapEditorExtension

Andami's Extension which registers ThematicMapDocument action to allow to create it from a gvSIG's View document.

ThematicMapEditorManager

Manager which offers services to create and update ThematicMapDocument from a gvSIG's View document. Also allows to generate gvSIG's add-on manager files to distribute a ThematicMap.

All extension and actions register in this add-on uses this Manager to perform the operations.

CompilationListener

Interface used in some ThematicMapEditorManager services to notify the operation result.

ThematicMapEditorLocator

Locator of ThematicMapEditorManager instance.

Planes de test

Planes de Test

Estos son los planes de test de los plugins de los Mapas Temáticos:

Branches

TODO

Tags

TODO


Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: