Web Map ContextΒΆ

The important new issue is the support for Web Map Context (WMC). Web Map Context (WMC) describes how to save a map view comprised of many different layers from different Web Map Servers. A ‘context’ can be encoded and saved so that Web maps created by users can be automatically reconstructed and augmented by the authoring user or by other users in the future. A Context document is structured using eXtensible Markup Language (XML). Potential uses for context include creating default initial views for Web maps for different hazards, saving the state of a user’s work on a viewer client to preserve information such as how geospatial layers are added or modified, and saving the state of a client session for sharing with other users. This mechanism is valuable for efficiently communicating across shift transitions. Also, context documents can be catalogued and discovered for reuse by others

  • Define WMC on the base current composition on portal
  • Save composition on local disk
  • Save composition with metadata on server
  • Open composition from local disk
  • Open composition from server
  • Open composition from remote servers using metadata description

The implementation of the WMC concept presents a new way to the future upcoming solution, when the system will support easier collaboration and sharing of results. It also supports the reuse of results of work done on portal by other applications.


This figure represents the basic configuration of form, which will save (to local drive, not upload to some server-service) WMC file, containing informations about current map composition.


OGC WMC is rather old standard, which does not support all possible types of layers, which can be displayed in HSLayers. On the other hand, it is only one standardized format. For saving map content more precisely, we’ve developed custom JSON format, which is used among others in Permalink.

Main Menu

Previous topic

Printing with HSLayers

Next topic

Permanent link

This Page