Gtk2-Ex-Geo ======================== Gtk2::Ex::Geo is a namespace for modules, classes, and widgets for geospatial applications. This package contains the modules: Gtk2::Ex::Geo The main module to 'use'. Contains also function 'simple', which constructs a simple geospatial desktop application. Gtk2::Ex::Geo::Canvas A subclass of Gtk2::Gdk::Pixbuf. Constructs a pixbuf from a stack of geospatial layer objects by calling the 'render' method for each $layer. Embedded in Gtk2::Ex::Geo::Overlay. Gtk2::Ex::Geo::Overlay A subclass of Gtk2::ScrolledWindow. A canvas in a scrolled window. Contains a list of layer objects. Functionality includes redraw, support for selections (point, line, path, rectangle, polygon, or many of them), zoom, pan, and conversion between event and world (layer) coordinates. Gtk2::Ex::Geo::Layer The root class for geospatial layers. A geospatial layer is a typically a subclass of a geospatial data (raster, vector features, or something else) and of this class. The idea is that this class contains visualization information (transparency, palette, colors, symbology, label placement, etc) for the data. Contains many callbacks that are fired as a result of user using context menu, making a selection, etc. Uses layer dialogs. Gtk2::Ex::Geo::DialogMaster A class which maintains a set of Glade dialogs taken from XML in DATA section. Gtk2::Ex::Geo::Dialogs A subclass of Gtk2::Ex::Geo::DialogMaster. Contains dialogs for Gtk2::Ex::Geo::Layer. Gtk2::Ex::Geo::Glue Typically a singleton class for an object, which manages a Gtk2::Ex::Geo::Overlay widget, a Gtk2::TreeView widgets, and other widgets of a geospatial application. The object also takes care of popping up context menus and other things. Gtk2::Ex::Geo::History Embedded in Gtk2::Ex::Geo::Glue. Input history a'la (at least attempting) GNU history that is used by Glue object with Gtk2::Entry. Gtk2::Ex::Geo::TreeDumper From http://www.asofyet.org/muppet/software/gtk2-perl/treedumper.pl-txt For inspecting layer and other objects. INSTALLATION To install this module type the following: perl Makefile.PL make make test make install USAGE # these two geospatial layer classes are not included: use Geo::Raster; use Geo::Vector; use Gtk2::Ex::Geo; use Gtk2 '-init'; Glib->install_exception_handler(\&Gtk2::Ex::Geo::exception_handler); my($window, $gis) = Gtk2::Ex::Geo::simple (classes => [qw/Gtk2::Ex::Geo::Layer Geo::Vector::Layer Geo::Raster::Layer/]); Gtk2->main; DEPENDENCIES This module requires these other modules and libraries: Gtk2 Gtk2::GladeXML Graphics::ColorUtils Geo::OGC::Geometry COPYRIGHT AND LICENCE Put the correct copyright and licence information here. Copyright (C) Ari Jolma This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available.