GeoJSON Context

From GeoJSON
Revision as of 06:36, 16 March 2007 by Fredj (Talk | contribs) (fix syntax error)

Jump to: navigation, search

Based on an initial outline at http://icon.stoa.org/trac/pleiades/wiki/GeoJSON

{ "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:\/\/www2.demis.nl\/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]" ".