{
  "general": {
    "locale": "fr-CH"
  },
  "languages": {
    "translations": {
      "fr": ["i18n/fr.json", "https://geo.jura.ch/static/X/fr.json"]
    },
    "defaultLanguage": "fr"
  },
  "themes": {
    "url": "https://geo.jura.ch/themes?background=background&interface=desktop",
    "defaultTheme": "POI"
  },
  "basemaps": {
    "emptyBasemap": false,
    "defaultBasemap": "sdt_01_03_mensuration_officielle",
    "OSM": false,
    "SwissTopoVectorTiles": false
  },
  "search": {
    "providers": [
      {
        "type": "geomapfish",
        "url": "https://geo.jura.ch/search?limit=30&partitionlimit=5&interface=desktop&query=###SEARCHTERM###&lang=fr"
      }
    ],
    "objectPreview": true,
    "layerPreview": true
  },
  "print": {
    "url": "https://geo.jura.ch/printproxy/",
    "defaultLayout": "1 A4 paysage"
  },
  "lidar": {
    "url": "https://geo.jura.ch/pytree"
  },
  "share": {
    "service": "gmf",
    "createUrl": "https://geo.jura.ch/short/create"
  },
  "projections": {
    "EPSG:3857": "W-M",
    "EPSG:4326": "WGS84",
    "EPSG:2056": "LV95"
  },
  "map": {
    "srid": "EPSG:2056",
    "startZoom": "1",
    "startPosition": "2580387,1242892",
    "maxExtent": "2420000,1030000,2900000,1350000",
    "scales": [400000, 200000, 75000, 40000, 20000, 10000, 7500, 5000, 3500, 2000, 1000, 500, 250, 200, 100]
  },
  "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
  },
  "gmfauth": {
    "url": "https://geo.jura.ch",
    "audience": ["geo.jura.ch"],
    "audienceExcludedPaths": ["^/tiles/", "^/pytree/"]
  },
  "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": 5 },
      { "code": "EPSG:4326", "translation": "EPSG:4326-DMS", "format": "dms", "precision": 2 }
    ],
    "sources": [
      {
        "id": "mnt",
        "translation": "Altitude (Terrain)",
        "prefix": "",
        "suffix": " m",
        "precision": 1,
        "crs": "EPSG:2056",
        "nodata": 0.0,
        "url": "https://geoservices.jura.ch/cog/SDT_10_15_MNT_22_025m_cog.tif"
      },
      {
        "id": "mns",
        "translation": "Altitude (Surface)",
        "prefix": "",
        "suffix": " m",
        "precision": 1,
        "crs": "EPSG:2056",
        "nodata": 0.0,
        "url": "https://geoservices.jura.ch/cog/SDT_10_15_MNS_22_SP_025m_cog.tif"
      },
      {
        "id": "mnh",
        "translation": "Altitude (Surface-Terrain)",
        "prefix": "",
        "suffix": " m",
        "precision": 1,
        "crs": "EPSG:2056",
        "nodata": 0.0,
        "url": "https://geoservices.jura.ch/cog/SDT_10_15_MNH_22_025m_cog.tif"
      },
      {
        "id": "pente",
        "translation": "Pente",
        "prefix": "",
        "suffix": " °",
        "precision": 1,
        "crs": "EPSG:2056",
        "nodata": 0.0,
        "url": "https://geoservices.jura.ch/cog/SDT_10_15_Pentes_degree_22_1m_cog.tif"
      }
    ],
    "links": [
      {
        "translation": "Google Street View",
        "crs": "EPSG:4326",
        "url": "https://www.google.com/maps/@?api=1&map_action=pano&viewpoint=###MAPY###,###MAPX###"
      },
      {
        "translation": "Google Earth",
        "crs": "EPSG:4326",
        "url": "https://earth.google.com/web/@###MAPY###,###MAPX###"
      },
      {
        "translation": "Bâtiments 3D Swisstopo",
        "crs": "EPSG:4326",
        "url": "https://map.geo.admin.ch/?lang=fr&topic=ech&bgLayer=ch.swisstopo.pixelkarte-farbe&layers=ch.swisstopo.swissnames3d&lon=###MAPX###&lat=###MAPY###&elevation=618&heading=0.000&pitch=-70.001"
      },
      {
        "translation": "OpenStreetMap",
        "crs": "EPSG:4326",
        "url": "https://www.openstreetmap.org/#map=13/###MAPY###/###MAPX###"
      },
      {
        "translation": "map.geo.admin.ch",
        "crs": "EPSG:2056",
        "url": "https://map.geo.admin.ch/#/map?lang=fr&center=###MAPX###,###MAPY###&z=10"
      }
    ]
  },
  "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"
    }
  ],
  "infoWindow": {
    "defaultWindowWidth": "500px",
    "defaultWindowHeight": "350px"
  },
  "interface": {
    "defaultSelectionComponent": "grid"
  },
  "contact": {
    "url": "https://geo.jura.ch",
    "reasons": ["Give feeback", "Ask a question", "Report an error"],
    "email": "sit@jura.ch"
  },
  "filtering": {
    "gmfLayerMetadataUrl": "https://geo.jura.ch/layers/###LAYERNAME###/values/###ATTRIBUTENAME###"
  }
}
