Difference between revisions of "GeoJSON Context"
From GeoJSON
(New page: Based on an initial outline at [http://icon.stoa.org/trac/pleiades/wiki/GeoJSON http://icon.stoa.org/trac/pleiades/wiki/GeoJSON] { "name": "map-1", "title": "Pleiades Map 1", "boun...) |
(fix syntax error) |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 7: | Line 7: | ||
"layers": [ | "layers": [ | ||
{ "name": "dphysio", | { "name": "dphysio", | ||
− | "title: "Demis Physiography" | + | "title": "Demis Physiography", |
"layers": "Bathymetry,Topography,Rivers,Waterbodies", | "layers": "Bathymetry,Topography,Rivers,Waterbodies", | ||
"styles": ",,,", | "styles": ",,,", | ||
Line 16: | Line 16: | ||
} | } | ||
− | == | + | == Possible Changes == |
− | * 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 (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 <code>"version": "major.minor.revision"</code> | * Add <code>"version": "major.minor.revision"</code> | ||
+ | * Make <code>layers</code> an array instead of a string of comma and maybe space separated names which may also have commas in them | ||
+ | * Make <code>styles</code> an arrray for the same reason | ||
+ | * Support scale+centerpoint in addition to boundingBox, for example something like: "<code>"scale": "24000", "point": [34.05,-117.18]" </code>". |
Latest revision as of 06:38, 16 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 (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]"
".