smas1 / geoext-viewer

Automatically exported from code.google.com/p/geoext-viewer
GNU General Public License v3.0
0 stars 0 forks source link

Port and integrate PDOK XML config loader into Heron core #366

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The Dutch government PDOK project http://pdok.nl (Public Service on The Map) 
uses Heron for layer previewing and a public Heron-based viewer: 
http://pdokviewer.pdok.nl. This viewer includes some custom components. One is 
a config-loader that defines an XML format (XSD) for a Heron LayerTree and 
OpenLayers Layer nodes. 
This configures both a Heron LayerTree and Layers for the Map(Panel). 

See an example of a config here:
http://pdokviewer.pdok.nl/config/default.xml

This functionality was always part of the PreviewApp (see SVN:
https://code.google.com/p/geoext-viewer/source/browse/#svn%2Ftrunk%2Fapps%2Fprev
iewapp

But since this functionality is both a handy way for configurators to define 
layertrees using a verifyable syntax (XSD: 
https://code.google.com/p/geoext-viewer/source/browse/trunk/apps/previewapp/conf
ig/config.xsd) and may be a rich format for defining contexts for save/load and 
possibly bookmarks. 

The config loader is also advanced that it can load any config from a URL, so 
one can imagine a single Heron app that can load/switch multiple configs from 
files, URLs, or local storage.

This issue defines the work for backporting. 

Original issue reported on code.google.com by jus...@gmail.com on 25 Apr 2014 at 1:39

GoogleCodeExporter commented 9 years ago
First version checked in, see example:

http://lib.heron-mc.org/heron/latest/examples/heronmapcontext
(click questionmark in toolbar for Help).

Also load remote contexts for example from PDOK:
http://lib.heron-mc.org/heron/latest/examples/heronmapcontext/index.html?context
=http://pdokviewer.pdok.nl/config/default.xml

The Schema and examples are defined at: http://schemas.heron-mc.org/hmc/1.0

Original comment by jus...@gmail.com on 29 Apr 2014 at 4:18

GoogleCodeExporter commented 9 years ago
Done, bugs/enhancements in new issues...

Original comment by jus...@gmail.com on 8 May 2014 at 11:22