GeoJSON Context

From GeoJSON
Jump to: navigation, search

Based on an initial outline at

{ "name": "map-1",
  "title": "Pleiades Map 1",
  "boundingBox": [-12.0, 32.0, 40.0, 58.0],
  "srs": "EPSG:4326",
  "layers": [
    { "name": "dphysio",
      "title": "Demis Physiography",
      "layers": "Bathymetry,Topography,Rivers,Waterbodies",
      "styles": ",,,",
      "onlineResource": "http:\/\/\/mapserver\/request.asp",
      "srs": "EPSG:4326"

Possible Changes

  • Make onlineResource an array (or object?), containing GetCapabilities, GetMap and, if relevant, GetFeatureInfo URLs even if they are the same. This will avoid the confusion that exists with OGC Web Map Context.
  • Add "version": "major.minor.revision"
  • Make layers an array instead of a string of comma and maybe space separated names which may also have commas in them
  • Make styles an arrray for the same reason
  • Support scale+centerpoint in addition to boundingBox, for example something like: ""scale": "24000", "point": [34.05,-117.18]" ".