MF-JSON update & tutorial with official sample | Free and Open Source GIS Ramblings
▻https://anitagraser.com/2022/04/23/mf-json-update-tutorial-with-official-sample
Since last week’s post, I’ve learned that there is an official OGC #Moving #Features #JSON Encodings repository with more recent sample datasets, including MovingPoint, MovingPolygon, and Trajectory JSON examples.
Exemple de données :
{
"type" : "Feature",
"temporalGeometry" : {
"type" : "MovingPoint",
"coordinates" : [ [ 111.9, 7.6 ], [ 111.3, 7.3 ], [ 111.1, 7.0 ], [ 110.7, 6.6 ], [ 110.2, 6.3 ], [ 109.9, 6.0 ], [ 109.5, 5.8 ], [ 108.6, 5.9 ], [ 108.0, 6.2 ], [ 107.0, 6.3 ], [ 105.8, 6.0 ], [ 105.0, 5.8 ], [ 104.1, 6.1 ], [ 103.4, 6.8 ], [ 102.5, 7.5 ], [ 101.5, 7.9 ], [ 100.8, 8.1 ], [ 100.1, 8.2 ], [ 99.4, 8.4 ] ],
"datetimes" : [ "2018-12-31T06:00:00Z", "2018-12-31T12:00:00Z", "2018-12-31T18:00:00Z", "2019-01-01T00:00:00Z", "2019-01-01T06:00:00Z", "2019-01-01T12:00:00Z", "2019-01-01T18:00:00Z", "2019-01-02T00:00:00Z", "2019-01-02T06:00:00Z", "2019-01-02T12:00:00Z", "2019-01-02T18:00:00Z", "2019-01-03T00:00:00Z", "2019-01-03T06:00:00Z", "2019-01-03T12:00:00Z", "2019-01-03T18:00:00Z", "2019-01-04T00:00:00Z", "2019-01-04T06:00:00Z", "2019-01-04T12:00:00Z", "2019-01-04T18:00:00Z" ],
"interpolation" : "Linear"
},
"temporalProperties" : [ {
"datetimes" : [ "2018-12-31T06:00:00Z", "2018-12-31T12:00:00Z", "2018-12-31T18:00:00Z", "2019-01-01T00:00:00Z", "2019-01-01T06:00:00Z", "2019-01-01T12:00:00Z", "2019-01-01T18:00:00Z", "2019-01-02T00:00:00Z", "2019-01-02T06:00:00Z", "2019-01-02T12:00:00Z", "2019-01-02T18:00:00Z", "2019-01-03T00:00:00Z", "2019-01-03T06:00:00Z", "2019-01-03T12:00:00Z", "2019-01-03T18:00:00Z", "2019-01-04T00:00:00Z", "2019-01-04T06:00:00Z", "2019-01-04T12:00:00Z", "2019-01-04T18:00:00Z" ],
"preasure" : {
"type" : "Measure",
"values" : [ 1004.0, 1004.0, 1004.0, 1004.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 998.0, 996.0, 996.0, 996.0, 1000.0, 1006.0 ],
"form" : "A97",
"interpolation" : "Linear"
},
"wind" : {
"type" : "Measure",
"values" : [ 0.0, 0.0, 0.0, 0.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 40.0, 45.0, 45.0, 45.0, 40.0, 0.0 ],
"form" : "KNT",
"interpolation" : "Linear"
},
"class" : {
"type" : "Measure",
"values" : [ 2.0, 2.0, 2.0, 2.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 2.0 ],
"interpolation" : "Linear"
}
} ]
}
▻https://github.com/opengeospatial/mf-json
#mf-json #map