MapServer为当前开源WebGIS的应用代表,在西方社会应用面极为广泛,现介绍几个基于它的开源应用平台。
1.GeoMOOSE
GeoMoose is a Web Client Javascript Framework for displaying distributed cartographic data.
Among it's many strengths, it can handle large numbers of mapping layers, all mapping display is abstracted to separate layers. This allows for the abstraction of the maintenance and updating tasks as well.
The GeoMoose project is client-side code that uses a variety of JavaScript, XML, and DHTML technologies to interface with other web-clients. The primary target of Moose is for integration with the University of Minnesota's MapServer, but is not dependent upon it for operation. Design objectives include:
- Code must be developed in an Services Oriented Architecture.
- Configurability for users.
- Easy maintenance for data owners.
- A client interface for MapServer, but designed to be open to other server engines.
- Targeted use cases for local governments.
GeoMoose treats all data layers and interface tools as services. This makes it very easy to design and add new tools as needed. It also makes GeoMoose a very good candidate for building links from Map based to Tabular datasets. GeoMoose is designed around the idea of using Web based URL services as an integration method. It's very easy to integrate in any existing Web based service to GeoMoose. The same goes for the Toolset inside of GeoMoose.
GeoMoose is currently built as a front end to MapServer (CGI). Because of this, it can utilize any of the output functions that MapServer provides, including Raster, XML, and OGC compliant formats. Each data layer can be displayed as a raster image, a Imagemap for displaying Popups on a per layer basis, as well as be used as a basis for doing additional data requests based on polygons, or buffered elements in a layer. OGC services such as WMS (and soon WFS) can also be used directly by GeoMoose. There is no need to even have a CGI service such as MapServer, if the right OGC services are available. There is also the capability to draw in the mapping interface and use these new elements as data layers in the interface, including, using them as selection criteria. GeoMoose is very flexible as far as what services it utilizes, while it's currently built against MapServer, other Raster based data services can also be used by GeoMoose.
In addition to the data owners managing their own publishing tasks, GeoMoose, the interface, is initialized via a XML file called a MapBook. This MapBook can be constructed by anyone, so even the Mapping interface itself can be managed by anyone. Project leaders can build interfaces with Zoom-to controls and with only the pertinent layers being displayed. The organization of the layers in the catalog can be grouped, turned on/off by default, have opacity applied to them, and be reordered, or stacked, in the "Z" direction. Placement of the interface elements is also governed by the XML file. The Services integration is also handled in the XML file, so separate services can be integrated by the non-GIS professional as well.
New capabilities are being added all the time. There is a very good Windows install based on MS4W available for Download, with a Linux version on the way. Last Updated ( Friday, 23 January 2009 )
基于Javascript架构的MapServer开源应用系统,支持XML配置,现已基本汉化。
2.pmapper
The p.mapper framework is intended to offer broad functionality and multiple configurations in order to facilitate the setup of a MapServer application based on PHP/MapScript.
Functions included are:
- DHTML (DOM) zoom/pan interface (no use of frames)
- Zoom/pan also via keyboard keys, mouse wheel, reference map, slider
- Easy configuration of layout and behaviour with XML config file
- Query functions (identify, select, search)
- Fully featured attribute search, including suggest, select boxes, etc.
- Flexible layout of query results via JavaScript templates
- Query results display with database joins and hyperlinks
- Multilingual user interface - pre-defined: EN, DE, IT, FR, NL, SK, ES, RU, BR, HR, HU, ZH, JA
- Fully XHTML 1.0 Strict compliant
- HTML legends and various display styles of legend and layers/TOC
- Print functions: HTML and PDF
- DHTML pop-up windows and dialogs
- Pop-up identify when moving with mouse over map
- Support for point layers with data in a database supported by PEAR framework
- Distance and area measurement function
- Adding points of interest with labels on map
- Start map with pre-defined zoom extent: via explicit extent or layer feature
- Plugin API to add custom functionality
- Various plugins: layer transparency, query result export, and more
p.mapper has been tested with MapServer version 4.0 to 5.2 under Windows, Linux, and Mac OS X.
3.CartoWeb
CartoWeb is a comprehensive and ready-to-use Web-GIS (Geographical Information System) as well as a convenient framework for building advanced and customized applications.
Developed by Camptocamp SA, it is based on the UMN MapServer engine and is released under the GNU General Public License (GPL).
Written using innovative language PHP5, CartoWeb is highly modular and customizable thanks to its object-oriented architecture. It runs evenly on Windows or Unix-like platforms and shows its real power when associated to PostgreSQL/PostGIS.
Last but not least, CartoWeb may be set up as a SOAP Web Service enabling to have front-end server on one machine and data and map generation on an other.