The example mapping configuration file

The toolkit information-store-opal and information-store-daod-opal example configurations contain an example geospatial-configuration.json file in the configuration/live folder. This example defines publicly available mapping tiles, and common coordinate reference systems.

The geospatial-configuration.json file that is included in the deployment toolkit contains:
Base Map - Esri World Street Map
A link to the publicly available Esri World Street Map tile that presents highway-level data for the world and street-level data for specific regions such as North America, Europe, and Africa. For more information about the Esri World Street Map, see https://www.arcgis.com/home/item.html?id=3b93337983e9436f8db950e38a8629af.
Coordinate Systems
The following coordinate systems are included:
OSGB36 National Grid
Used in Great Britain.
NAD83 / UTM zone 10N
Used in North America - between 126°W and 120°W - onshore and offshore. Canada - British Columbia; Northwest Territories; Yukon. United States (USA) - California; Oregon; Washington.
NAD83 / BC Albers
Used in Canada - British Columbia.
WGS 84 / UPS North (N,E)
Used in the northern hemisphere - North of 60°N onshore and off shore, including Arctic.
WGS 84 / UPS South (N,E)
Southern hemisphere - south of 60°S onshore and offshore - Antarctica.
WGS 84 / Pseudo-Mercator
Used in World between 85.06°S and 85.06°N.
You might need to update this file for a number of reasons, for example:
  • Network access - If you are within a network that is not connected to the internet, you need to host mapping tiles on an internal server, and provide details of your internally hosted mapping tiles. In this scenario, as the example maps are not accessible, the original maps should also be removed.
  • Additional Maps - You can add references to additional mapping tiles that are either publicly available or hosted locally. This allows you to add different base map tiles to include features such as satellite imagery, and different overlay layers to include items of interest such as key transportation routes or buildings of a particular type.
  • Handling alternative coordinate systems - If you are aware that coordinates in your system use a particular coordinate reference system, you can update the list to include a different coordinate system that covers a specific area such as the Alberta 3-TM transformation. Alternatively, you can remove coordinate reference systems that are unlikely to be used in your deployment.

The example geospatial-configuration.json file:

{
  "mapConfig": {
    "baseMaps": [
      {
        "id": "ESRI_WorldStreetMap",
        "displayName": "ESRI World Street Map",
        "url": "https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}",
        "attribution": "Sources: Esri, HERE, Garmin, USGS, Intermap, INCREMENT P, NRCan, Esri Japan, METI, Esri China (Hong Kong), Esri Korea, Esri (Thailand), NGCC, © OpenStreetMap contributors, and the GIS User Community"
      }
    ]
  },
  "coordinateSystems": [
    {
      "id": "EPSG:27700",
      "displayName": "OSGB 1936 / British National Grid - United Kingdom Ordnance Survey",
      "projString": "+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36 +units=m +no_defs",
      "editorType": "EASTING_NORTHING",
      "bounds": {
        "north": 1300000,
        "east": 700000,
        "south": 0,
        "west": 0
      }
    },
    {
      "id": "EPSG:26910",
      "displayName": "NAD83 / UTM zone 10N",
      "projString": "+proj=utm +zone=10 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs",
      "editorType": "EASTING_NORTHING"
    },
    {
      "id": "EPSG:3005",
      "displayName": "NAD83 / BC Albers",
      "projString": "+proj=aea +lat_1=50 +lat_2=58.5 +lat_0=45 +lon_0=-126 +x_0=1000000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs",
      "editorType": "EASTING_NORTHING"
    },
    {
      "id": "EPSG:32661",
      "displayName": "WGS 84 / UPS North (N,E)",
      "projString": "proj4.defs(\"EPSG:32661\",\"+proj=stere +lat_0=90 +lat_ts=90 +lon_0=0 +k=0.994 +x_0=2000000 +y_0=2000000 +datum=WGS84 +units=m +no_defs\");",
      "editorType": "EASTING_NORTHING"
    },
    {
      "id": "EPSG:32761",
      "displayName": "WGS 84 / UPS South (N,E)",
      "projString": "+proj=stere +lat_0=-90 +lat_ts=-90 +lon_0=0 +k=0.994 +x_0=2000000 +y_0=2000000 +datum=WGS84 +units=m +no_defs",
      "editorType": "EASTING_NORTHING"
    },
    {
      "id": "EPSG:3857",
      "displayName": "WGS 84 / Pseudo-Mercator -- Spherical Mercator, Google Maps, OpenStreetMap, Bing, ArcGIS, ESRI",
      "projString": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext  +no_defs",
      "editorType": "EASTING_NORTHING"
    }
  ]
}