Difference between revisions of "GeoJSON Context"
From GeoJSON
(→Possible Changes) |
|||
Line 20: | Line 20: | ||
* Make <code>onlineResource</code> an array, 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. | * Make <code>onlineResource</code> an array, 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 <code>"version": "major.minor.revision"</code> | * Add <code>"version": "major.minor.revision"</code> | ||
+ | * 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 |
Revision as of 10:24, 15 March 2007
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, 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