{
  "general": {
    "locale": "de-CH"
  },
  "languages": {
    "translations": {
      "de": ["i18n/de.json", "https://geomapfish-demo-2-9.camptocamp.com/static/dummy/de.json"],
      "en": ["i18n/en.json", "https://geomapfish-demo-2-9.camptocamp.com/static/dummy/en.json"],
      "fr": ["i18n/fr.json", "https://geomapfish-demo-2-9.camptocamp.com/static/dummy/fr.json"],
      "it": ["i18n/it.json"]
    },
    "defaultLanguage": "en"
  },
  "interface": {
    "defaultSelectionComponent": "grid"
  },
  "themes": {
    "url": "https://geomapfish-demo-2-9.camptocamp.com/themes?background=background&interface=experimental",
    "defaultTheme": "Demo"
  },
  "selection": {
    "maxFeature": 100
  },
  "basemaps": {
    "show": true,
    "defaultBasemap": "OSM map",
    "OSM": true,
    "SwissTopoVectorTiles": true
  },
  "search": {
    "providers": [
      {
        "type": "geomapfish",
        "url": "https://geomapfish-demo-2-9.camptocamp.com/search?limit=30&partitionlimit=5&interface=experimental&query=###SEARCHTERM###&lang=###SEARCHLANG###"
      }
    ],
    "objectPreview": true,
    "layerPreview": true
  },
  "print": {
    "url": "https://geomapfish-demo-2-9.camptocamp.com/printproxy/",
    "formats": ["png", "pdf", "jpg", "jpeg", "notvalid"],
    "defaultFormat": "pdf",
    "defaultLayout": "1 A4 portrait",
    "scales": [500000, 100000, 50000, 25000, 10000, 5000, 2500, 500, 250, 100],
    "attributeNames": ["legend", "title", "comments"],
    "printLegend": {
      "showGroupsTitle": true
    },
    "customScale": true
  },
  "share": {
    "service": "gmf",
    "createUrl": "https://geomapfish-demo-2-9.camptocamp.com/short/create"
  },
  "projections": {
    "EPSG:3857": "W-M",
    "EPSG:4326": "WGS84",
    "EPSG:2056": "LV95"
  },
  "map": {
    "srid": "EPSG:2056",
    "scales": [1000000, 500000, 200000, 100000, 50000, 20000, 10000, 5000, 2000, 1000, 500, 200],
    "startPosition": "2628597,1186378",
    "startZoom": "3",
    "maxExtent": "2200000,1040000,3000000,1310000",
    "constrainScales": false
  },
  "map3d": {
    "terrainUrl": "https://3d.geo.admin.ch/ch.swisstopo.terrain.3d/v1/",
    "terrainImagery": {
      "url": "https://wmts20.geo.admin.ch/1.0.0/ch.swisstopo.swissimage-product/default/current/4326/{z}/{x}/{y}.jpeg",
      "minLoD": 8,
      "maxLoD": 17,
      "coverageArea": [5.013926957923385, 45.35600133779394, 11.477436312994008, 48.27502358353741]
    },
    "tilesetsUrls": ["https://vectortiles100.geo.admin.ch/3d-tiles/ch.swisstopo.swisstlm3d.3d/20201020/tileset.json"],
    "maximumZoomDistance": 25000
  },
  "lidar": {
    "url": "https://sitn.ne.ch/pytree"
  },
  "csv": {
    "separator": ";"
  },
  "oauth": {
    "issuer": {
      "url": "https://geomapfish-demo-sso.camptocamp.com",
      "clientId": "288833770369390672",
      "audience": ["geomapfish-demo-2-9.camptocamp.com"],
      "audienceExcludedPaths": ["^/static/", "^/tiles/"],
      "scope": "openid profile email",
      "checkSessionOnLoad": "true",
      "customSilentLoginParams": {
        "prompt": "none"
      }
    },
    "geomapfish": {
      "userInfoUrl": "https://geomapfish-demo-2-9.camptocamp.com/loginuser",
      "anonymousUserInfoUrl": "https://geomapfish-demo-2-9.camptocamp.com/loginuser",
      "authMode": "token"
    }
  },
  "externalLayers": {
    "predefinedSources": [
      {
        "label": "Swisstopo WMS",
        "type": "WMS",
        "url": "https://wms.geo.admin.ch"
      },
      {
        "label": "Swisstopo WMTS",
        "type": "WMTS",
        "url": "https://wmts.geo.admin.ch/1.0.0/WMTSCapabilities.xml?lang=fr"
      },
      {
        "label": "GMF background WMTS",
        "type": "WMTS",
        "url": "https://geomapfish-demo-2-9.camptocamp.com/tiles/1.0.0/WMTSCapabilities.xml"
      }
    ]
  },
  "contextmenu": {
    "crs": [
      { "code": "EPSG:2056", "translation": "EPSG:2056", "format": "decimal", "precision": 1 },
      { "code": "EPSG:4326", "translation": "EPSG:4326", "format": "decimal", "precision": 7 },
      { "code": "EPSG:4326", "translation": "EPSG:4326-DMS", "format": "dms", "precision": 2 }
    ]
  },
  "crs": [
    {
      "code": "EPSG:2056",
      "definition": "+proj=somerc +lat_0=46.9524055555556 +lon_0=7.43958333333333 +k_0=1 +x_0=2600000 +y_0=1200000 +ellps=bessel +towgs84=674.374,15.056,405.346,0,0,0,0 +units=m +no_defs +type=crs"
    },
    {
      "code": "EPSG:21781",
      "definition": "+proj=somerc +lat_0=46.95240555555556 +lon_0=7.439583333333333 +k_0=1 +x_0=600000 +y_0=200000 +ellps=bessel +towgs84=660.077,13.551,369.344,2.484,1.783,2.939,5.66 +units=m +no_defs"
    }
  ],
  "filtering": {
    "gmfLayerMetadataUrl": "https://geomapfish-demo-2-9.camptocamp.com/layers/###LAYERNAME###/values/###ATTRIBUTENAME###"
  }
}
