[GeoNetwork-devel] [GeoNetwork opensource Developer website] #501: Allow maps to use XYZ tile grid layers

#501: Allow maps to use XYZ tile grid layers
----------------------------+-----------------------------------------------
Reporter: zoerb | Owner: geonetwork-devel@…
     Type: enhancement | Status: new
Priority: minor | Milestone: v2.6.5
Component: Web Map Viewer | Version: v2.6.3
Keywords: |
----------------------------+-----------------------------------------------
Right now, only WMS layers can be added to the maps. Attached is a patch
which allows XYZ tile grids to be used as well. In config-gui.xml, if a
type attribute equaling 'tile' is specified for the layer, that layer will
be added as an OpenLayers.Layer.XYZ layer. It is backwards compatible, so
if a layer has any other type attribute, or no type attribute at all, WMS
will be used. Feel free to change whatever as you see fit. Might want to
add an example tile grid layer to config-gui.xml?

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/501&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

On 5/3/11 8:15 PM, GeoNetwork opensource Developer website wrote:

#501: Allow maps to use XYZ tile grid layers
----------------------------+-----------------------------------------------
  Reporter: zoerb | Owner: geonetwork-devel@…
      Type: enhancement | Status: new
  Priority: minor | Milestone: v2.6.5
Component: Web Map Viewer | Version: v2.6.3
  Keywords: |
----------------------------+-----------------------------------------------
  Right now, only WMS layers can be added to the maps. Attached is a patch
  which allows XYZ tile grids to be used as well. In config-gui.xml, if a
  type attribute equaling 'tile' is specified for the layer, that layer will
  be added as an OpenLayers.Layer.XYZ layer. It is backwards compatible, so
  if a layer has any other type attribute, or no type attribute at all, WMS
  will be used. Feel free to change whatever as you see fit. Might want to
  add an example tile grid layer to config-gui.xml?

Defining the URL pattern for tiled map services within GeoNetwork metadata would help enable this process through to viewing:

1. Metadata includes a URL with a tiling scheme (OSM, Bing, GoogleMaps) stub:
i.e. http://myserver.org/tiles/\{z\}/\{y\}/\{x\}\.png
2. Tile map records are discoverable in search - may require a resource typing convention
3. Pattern/type recognition enables adding-to-map in the new openlayers viewer.

--
Douglas D. Nebert
Senior Advisor for Geospatial Technology, System-of-Systems Architect
FGDC Secretariat T:703 648 4151 F:703 648-5755 C:703 459-5860