23
Geospatial engine for sharing meteorological objects Powered by GeoServer Geobeyond May 23, 2012 Author: Francesco Bartoli 1

Foss4gcee2012-Geospatial Engine for sharing meteorological objects

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

Author: Francesco Bartoli1

Geospatial engine for sharing meteorological objects Powered by GeoServer

GeobeyondMay 23, 2012

Page 2: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

Author: Francesco Bartoli

Agenda What is WOML? GeoServer, a geospatial engine server

for consuming data GML application schema extension PostGIS, a spatial database for WOML Challenges

May 23, 20122

Page 3: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

3

WOML

May 23, 2012

Author: Francesco Bartoli

Weather Objects Modeling Language Semantically paradigm for meteorological

entities (Fronts, Cloud Areas, Precipitation Areas, etc)

Standard for data exchange of high-level meteorological phenomena among expertise-less stakeholders

Focused on interoperability, no expectations to data presentation

Started from FMI in late 2008

Page 4: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

Author: Francesco Bartoli

4

WOML Schemas Specification maintained at FMI

confluence GML application schema Based on top of GML 3.2.1 (latest

version) Inheritance as mechanism for

specialisation 4 Namespaces 25 Features

May 23, 2012

WOML Core

WOML SWO

WOML Quantit

y

WOML Textfct

Page 5: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

Author: Francesco Bartoli

5

WOML Core Building block for Geometry Point Line Surface

May 23, 2012

Page 6: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

Author: Francesco Bartoli

6

Core Feature Types All derived from gml:DynamicFeatureType to

describe changes while a forecast period is observed gml:history property to capture changes over the

period collected as geometrically-event objects PointObjectEventType, LineObjectEventType,

SurfaceObjectEventType All of them extend gml:AbstractTimeSliceType by

adding the geometry property is changing Feature Collection Type (certain area, timeframe)

WeatherForecastType MeteorologicalAnalysisType

May 23, 2012

Page 7: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

Author: Francesco Bartoli

7

Core Diagram

May 23, 2012

Page 8: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

Author: Francesco Bartoli

8

WOML SWO

May 23, 2012

Sensible Weather Object types: 14 of single point geometry inherited from

Core AbstractPointObjectType 9 of line geometry inherited from Core

AbstractLineObjectType 2 of surface geometry inherited from Core

AbstractSurfaceObjectType Example: A Ridge semantically differs

from a ColdFront despite they share the same properties

Page 9: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

Author: Francesco Bartoli

9

SWO Diagram

May 23, 2012

Page 10: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

Author: Francesco Bartoli

10

WOML Quantity & Textfct

May 23, 2012

The Quantity namespace is defined for locations and areas with relevant physical values (Temperatures, wind speed, wind direction, etc) Easier replacement of OGC Observations &

Measurement for forecast and analysis The Textfct namespace describes text-based

weather forecasts for specific target areas Focused on lightweight exchange of data Forecast which needs human explanation

Page 11: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

11

Key Concepts

May 23, 2012

Autore: Francesco Bartoli

Geographical nature of meteorological data

Geospatial standards OGC WxS Cross-boarder cooperation and

harmonisation of data (Regional – National – European)

Interoperability in mind Consuming data from WOML WFS 2.0

Page 12: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

Author: Francesco Bartoli

12

GeoServer

May 23, 2012

Supports OGC WxS family implementation Uses GeoTools to aggregate different datastores

centrally Includes GML application schema extension for

supporting 3th-party like WOML Allows direct querying of complex meteorological

features WOML-encoded Enables data fusion between remote and local

sources is Inspire-ready because of the abilities passed-

down by its extension for Inspire services

Page 13: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

10 aprile 2023

Author: Francesco Bartoli

13

OGC WFS Protocol Reference implementation of WFS

http://ogsuite.geobeyond.it/geoserver/wfs?SERVICE=wfs&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=usa:states&FEATUREID=states.39

Page 14: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

Consuming WOML services

May 23, 201214

Page 15: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

Author: Francesco Bartoli

15

GML app-schema extension Place the jar file into the WEB-INF/lib directory Package for each feature:

<root_dir> <featureType_dir>

featuretype.xml layer.xml

datastore.xml <featureType_mapping_file>.xml

Mapping for WFS Feature Chaining for multivalued member

property (i.e. WeatherForecast)

May 23, 2012

Page 16: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

Author: Francesco Bartoli

16

Configuration Declaration of secondary namespace is

essential for GML 3.2.1 by WFS 2.0 PostGIS, Oracle, ArcSDE supported as

database options for datastore Typical configuration:

<as : AppSchemaDataAccess><namespaces >... </namespaces><includedTypes >... </includedTypes><sourceDataStores >...</sourceDataStores><targetTypes ... </ targetTypes><typeMappings >... </typeMappings>

</as : AppSchemaDataAccess>

May 23, 2012

Page 17: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

Author: Francesco Bartoli

17

Feature Chaining CloudArea feature collection has a certain number of

SWO features nested in the multivalued property targetRegion Use of complex sourceExpression combined with three childs:

OCQL which filters out the attribute of cloud_area belonging to the chaining

linkElement corresponding to the targetElement of feature which you are linking to

linkField specifying XPath related to the feature property significantly involved to the chaining

A sort of LEFT JOIN “…FROM cloud_area, linkElement WHERE

<OCQL exp>…linkField” Resource de-normalisation as of M-M association (sorted

by FID)

May 23, 2012

Page 18: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

18

WOML schema mapping

May 23, 2012

Author: Francesco Bartoli

Single womlswo:CloudArea: is observed at several distinct locations

on the Earth’s surface has a multivalued womlcore:targetRegion property of womlcore:GeographicRegionPropertyType

Page 19: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

19

Design WOML database

May 23, 2012

Author: Francesco Bartoli

PostGIS as natural database for a spatially- stack

De-normalisation left to feature chaining Hybrid generalisation model for SWO

features

abstract_meteorological_object

abstract_line_object abstract_surface_objectabstract_point_object

jet_stream abstract_line occluded_front

surface_precipitation_areacloud_areaabstract_pressure_cent

erabstract_stor

m

abstract_met_symbol

Page 20: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

Author: Francesco Bartoli

20

Sample requesthttp://localhost:8080/geoserver/wfs?request=GetFeature&typeName=womlswo:CloudArea& bbox=47.99,56.22,52.23,62.99

Response:<wfs:FeatureCollection….> <wfs:member> <womlswo:CloudArea gml:id=" cloud_area .2 "> <gml:boundedBy> <gml:Envelope srsDimension="2" srsName="urn:x− ogc:def:crs:EPSG:2398 ”> <gml:lowerCorner>45.828799 51.057128</gml:lowerCorner>

<gml:upperCorner>50.903033 62.614745</gml:upperCorner> </gml:Envelope> </gml:boundedBy><womlcore:creationTime>2009−02−01T12:44:30Z</womlcore:creationTime><womlcore:shortInfo xml:lang="Ita−it ">Area nuvolosa interna</womlcore:shortInfo> <womlcore:controlSurface>….</womlcore:controlSurface><womlcore:targetRegion>…. </womlcore:targetRegion>….</womlswo:CloudArea></wfs:member></wfs:FeatureCollection>

May 23, 2012

Page 21: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

Author: Francesco Bartoli

21

Key benefit

Interoperability!

May 23, 2012

Page 22: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

10 aprile 2023

Author: Francesco Bartoli

22

Challenges To be scoped under the authority of Italian

Civil Protection Schema transformation for implementing

services under Inspire Annex III – Atmospheric Conditions and Meteorological Geographical Features

WOML candidated under the OGC umbrella? Implementing WxS Inspire-compliant

service with GeoServer Inspire extension

Page 23: Foss4gcee2012-Geospatial Engine for sharing meteorological objects

10 aprile 2023

Author: Francesco Bartoli

23

Contact us Geobeyond Source code on GitHubhttps

://github.com/geobeyond/GEWOML Follow us on twitter Contact [email protected]