-
Notifications
You must be signed in to change notification settings - Fork 0
mapStoreConfig File
-
geoStoreBase
: Geostore URL -
proxy
:proxy URL -
defaultLanguage
: default language code, -
gsSources
: Sources for getCapabilities: exemple: { "mapquest": { "ptype": "gxp_mapquestsource" }, "osm": { "ptype": "gxp_osmsource" }, "google": { "ptype": "gxp_googlesource" }, "bing": { "ptype": "gxp_bingsource" }, "ol": { "ptype": "gxp_olsource" } }, -
proj4jsDefs
: additional proj4js Definitions exemple: { "EPSG:3003":"+proj=tmerc +lat_0=0 +lon_0=9 +k=0.9996 +x_0=1500000 +y_0=0 +ellps=intl +units=m +no_defs" } -
map
Map Configuration. Exemple:{ "projection": "EPSG:900913", "units": "m", "center": [1250000.000000, 5370000.000000], "zoom":5, "maxExtent": [ -20037508.34, -20037508.34, 20037508.34, 20037508.34 ], "layers": [{ "source": "mapquest", "title": "MapQuest OpenStreetMap", "name": "osm", "group": "background" }] }
-
tools
:Optional Array of tools configurations. If present, overrides the configuration in Composer.js. -
georeferences_data
: Array of regions. If present, overrides the defaultgeoreferences_data
variable defined indata/georeferences.js
. -
cswconfig
: configuration for cswViewer (if present).
exemple:
{
"geoStoreBase":"http://localhost:8080/geostore/rest/",
"proxy":"/http_proxy/proxy/?url=",
"defaultLanguage": "en",
"gsSources":{
"demo1": {
"ptype": "gxp_wmssource",
"title": "GeoSolutions server",
"projection":"EPSG:900913",
"url": "http://demo1.geo-solutions.it/geoserver/ows"
},
"mapquest": {
"ptype": "gxp_mapquestsource"
},
"osm": {
"ptype": "gxp_osmsource"
},
"google": {
"ptype": "gxp_googlesource"
},
"bing": {
"ptype": "gxp_bingsource"
},
"ol": {
"ptype": "gxp_olsource"
}
},
"map": {
"projection": "EPSG:900913",
"units": "m",
"center": [1250000.000000, 5370000.000000],
"zoom":5,
"maxExtent": [
-20037508.34, -20037508.34,
20037508.34, 20037508.34
],
"layers": [
{
"source": "bing",
"title": "Bing Aerial",
"name": "Aerial",
"group": "background"
}, {
"source": "osm",
"title": "Open Street Map",
"name": "mapnik",
"group": "background"
},{
"source": "mapquest",
"title": "MapQuest OpenStreetMap",
"name": "osm",
"group": "background"
},{
"source": "google",
"title": "Google Roadmap",
"name": "ROADMAP",
"group": "background"
},{
"source": "google",
"title": "Google Terrain",
"name": "TERRAIN",
"group": "background"
},{
"source": "google",
"title": "Google Hybrid",
"name": "HYBRID",
"group": "background"
}
]
},
"cswconfig":{
"catalogs": [
{"name": "Demo1GeoSolutions" , "url": "http://demo1.geo-solutions.it/geonetwork/srv/en/csw", "description": "Iternal GeoNetwork demo"},
{"name": "Treviso", "url": "http://ows.provinciatreviso.it/geonetwork/srv/it/csw", "description": "Treviso Geonetwork"},
{"name": "kscNet", "url": "http://geoportal.kscnet.ru/geonetwork/srv/ru/csw", "description": "kscNet"},
{"name": "CSI-CGIAR", "url": "http://geonetwork.csi.cgiar.org/geonetwork/srv/en/csw", "description" : "CSI-CGIAR"},
{"name": "EauFrance", "url": "http://sandre.eaufrance.fr/geonetwork/srv/fr/csw", "description" : "EauFrance"},
{"name": "SOPAC", "url": "http://geonetwork.sopac.org/geonetwork/srv/en/csw", "description" : "SOPAC"},
{"name": "SADC", "url": "http://www.sadc.int/geonetwork/srv/en/csw", "description" : "SADC"},
{"name": "MAPAS", "url": "http://mapas.mma.gov.br/geonetwork/srv/en/csw", "description" : "MAPAS"}
],
"dcProperty": "title",
"initialBBox": {
"minx":-13,
"miny":10,
"maxx":-10,
"maxy":13
},
"cswVersion": "2.0.2",
"filterVersion": "1.1.0",
"start": 1,
"limit": 10,
"timeout": 60000
}
}