Towards the Geospatial Semantic Web

A Standard Format to Describe Earth Models and Improve Their Dissemination

Data? ..what Data?!

Popular Formats for Scientific Data




Popular Formats for Scientific Data




Popular Formats for Scientific Data




What Makes a Good Standard Data-Exchange Format?




Basic characteristics to 'ensure' widespread adoption:


The why of JSON

The Gartner Hype Cycle

XML vs JSON

XML vs JSON

XML vs JSON

XML vs JSON

XML vs JSON

XML vs JSON

XML: Space Efficiency

XML vs JSON: Space Efficiency

Typical file-size savings: around 30%

Preferred format in Google's and Yahoo's APIs.

Also available in OGC Web Services!

XML vs JSON: Parsability

XML vs JSON: Parsability

XML vs JSON: Parsability

Native support in over 30 languages: ASP, C, C++, Delphy, Java, Perl, Python, Ruby (...)

JSON for Earth Tomography Data

Metadata

{
"filetype":"Tomographic Earth Model",
"version":"0.6beta",
 "model":"s20rts",
 "doi":"10.1089/ast.2008.0759",
"title":"Seismic imaging of st..."
"createdon": "yyyy-mm-dd%hh:mm:ss",                          
"authors":[
     {
      "name":"Jeroen",
      "surname":"Ritsema",
      "institution":"Geological Sciences Dept.,Univ. of Mic(...)"
       },
     {
      "name":"H. J.",
      "surname": (...)
      }
    ],
 (...)	

JSON for Earth Tomography Data

Grid Definition

    
(...)
"dataset":{                                                                             
   "crs":"urn:ogc:def:crs:OGC:1.3:CRS84",                                         
   "depth":{
       "min":50,
       "max":1600,
       "unit": "km",
       "values":[50,100,150,200,300,400,500,600,700,800,900,1000,1100,1200,1300,1400,1500,1600]   
        },
    "lat":{
       "min":30,
       "max":90,
       "unit": "degree/radiant",
       "step": 2,                                                                                    
        "values":"not used when step is set, useful for irregular latlon grids"                     
        },
    "lon":{
       "min":-40,
       "max":60,
       "unit": "degree/radiant",
       "step":2,
       "values":null                                                                            
        },	

JSON for Earth Tomography Data

Grid Definition - irregular Lat Lon points

    
(...)
        "lat":{
            "min":30,
            "max":90,
            "unit": "degree/radiant",
            "step": null,                                                                                    
            "values":[30.21, 32.44, 33.93, 35.04 ....]                     
        },
	

JSON for Earth Tomography Data

Grid Definition - irregular Lat Lon points

    
(...)
        "lat":{
            "min":30,
            "max":90,
            "unit": "degree/radiant",
            "step": null,     
            
            "values":[
                      [30.21, 32.44, 33.93, 35.04 ....],  
                      [28.34, 32.63, 34.05, 36.74 ....],
                      [30.93, 31.86, 33.97, 36.33 ....],
                      (...)
                      /* one subarray for each depth level */ 
                      ]
                     
        },
	

JSON for Earth Tomography Data

Grid Definition - volumetric cells, any shape

    
    { 
       "geometry": {
         "type": "Polygon",
         "coordinates": [
           [100.0, 0.0, 10], [101.0, 0.0, 10], [101.0, 1.0, 25],
             [100.0, 1.0, 25], [100.0, 0.0, 10] 
             /* [Lat, Lon, Depth] */
           ]
       },
       "properties": {
         "prop0": "value0",
         "prop1": "value1"
         }
       }

JSON for Earth Tomography Data

Data values

    
(...)
        "measurables":[
            {
            "name":"s-wave velocity",
            "abbr": "Vs",
            "units":"km/s",
            "time":"yyyy-mm-dd%hh:mm:ss",
            "error":null,                                                                             
            "values":[
             [4.42817,4.42531,4.42955,4.44069,4.45816,, (...)],                                        
             [4.35141,4.34740,, (...)],
             [4.32506,4.31393, (...)],  
              (...)
             ]
            }
           ]  	

Processing and Visualization sample (javascript)

Depths:

Processing and Visualization sample (PHP -> Google Earth)

Using JSON Outside the Web Context (GMT, GEON IDV)

UNAVCO site

  • GIAP
  • GIAG

ASCII to netCDF (and HDF5) reformatters

Data Findability


Data structures can be indexed by search engines as such, not as plain text; specialized software agents can discover and include them in a repository automatically


That is all - like it? Use it!