Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

Metadata Explorer plugin

Riccardo Mari edited this page May 21, 2013 · 15 revisions

Introduction

This plugin allows you to interact with the catalogs that comply with the standard CSW - Catalog Service for the Web using the Metadata Explorer, an indipendent JavaScript component of MapStore.

Needed Files

Include in buildjs this file:

  • gxp/src/script/plugins/MetadataExplorer.js

Configuration Example

This plugin can be configured as outputTarget that as actionTarget

OutputTarget configuration

"customPanels":[
    {
        "xtype": "panel",
        "title": "Metadata Explorer",
        "iconCls": "csw-viewer",             
        "border": false,
        "id": "south",
        "region": "south",
        "layout": "fit",
        "split":true,
        "height": 330,
        "collapsed": true,
        "collapsible": true,
        "ctCls": "south-panel",
        "header": true
    }
]

"customTools":[
	{
		"actions": ["-"], 
		"actionTarget": "paneltbar"
	}, {
		"ptype": "gxp_metadataexplorer",
		"id": "metadataexplorer",
        "outputTarget": "south",
        "cswconfig": {
            "catalogs": [
                    {"name": "CSI Piemonte", "url": "http://www.ruparpiemonte.it/geocatalogorp/geonetworkrp/srv/it/csw", "description": "GeoPortale della Regione Piemonte"}
                ],
            "dcProperty": "title",
            "initialBBox": {
                "minx": 11.145,
                "miny": 43.718,
                "maxx": 11.348,
                "maxy": 43.84
            },
            "cswVersion": "2.0.2",
            "filterVersion": "1.1.0",
            "start": 1,
            "limit": 10,
            "timeout": 60000
        }            
	}, {
		"ptype": "gxp_addlayer",
		"showCapabilitiesGrid": true,
		"id": "addlayer"
	}

]

Clone this wiki locally