Presentation is loading. Please wait.

Presentation is loading. Please wait.

Web Feature Service and Web Map Service WATER FOR A HEALTHY COUNTRY FLAGSHIP SISS Workshop v2.3 Pavel Golodoniuc, Josh Vote 8 May 2013.

Similar presentations


Presentation on theme: "Web Feature Service and Web Map Service WATER FOR A HEALTHY COUNTRY FLAGSHIP SISS Workshop v2.3 Pavel Golodoniuc, Josh Vote 8 May 2013."— Presentation transcript:

1 Web Feature Service and Web Map Service WATER FOR A HEALTHY COUNTRY FLAGSHIP SISS Workshop v2.3 Pavel Golodoniuc, Josh Vote 8 May 2013

2 Getting started SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote Ensure you have access to the internet Get your virtual machine started using the steps below: Ask one of the helpers for assistance, it’s crucial you get this working. Copy the "SISS in a Box" VMware virtual machine. (On your USB) Start VMware Player. Start the "SISS in a Box" VMware virtual machine (the vmx file). If VMware Player asks, you copied it. The virtual machine should boot. Write down the IP address. You will need it later. Visit this link http:// /

3 Architecture SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

4 Lingo What is a feature? Feature = fundamental unit of geospatial information Something that can be drawn on a map Not strictly true as not all features have a geometry Features have identity Features have properties SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

5 Simple Features (OGC SF Level 0) Properties are only unstructured data (or geometries) “Flat” representation of table Cannot represent object relationships SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

6 Complex Features (OGC SF Level 1) Properties can be features or structured types Can represent relationships between features Support queries based on feature relationships Support object-based information model SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

7 Interoperability Driven by the need for sharing data. Complex features easier to share. Independent of database schema. No need to individually translate data. WFS produces XML output. XML is platform independent and extensible. Can be transformed into HTML, etc. SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

8 Client applications SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

9 Rendering results SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

10 Community-agreed information models GML Application Schemas SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote XML Schemas (grammar) Geography Markup Language (GML) (spatial primitives) Geoscience Markup Language (GeoSciML) EarthResourceML (mining) Complex Features GML Application Schemas

11 OGC Spatial Web Services Examples: Web Feature Service (WFS) Web Map Service (WMS) Spatial filters Select features in a bounding box (BBOX) Intersects, contains, etc. Reprojection Conversion of geometries between Spatial Reference Systems Client selects Spatial Reference System in request World Geodetic System 1984 (WGS84) – EPSG:4326 Geocentric Datum of Australia 1994 (GDA94) – EPSG:4283 SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

12 Web Feature Service Provides access to underlying data Query subset of features based on properties GetCapabilities Available feature types GetFeature Get the features of a given type matching a filter DescribeFeatureType Get an XML schema for a feature type SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

13 Web Feature Service for Complex Features Application Schema plugin: GeoServer extension for complex features WFS. No Graphical User Interface yet. Mapping files required. References GML application schemas. SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

14 Web Map Service Portrayal service Renders one or more feature types (layers) as an image GIF, JPEG, PNG, KML/KMZ,... Select subset of features based on properties GetCapabilities Available feature types (layers) GetMap Render features in a bounding box as an image GetFeatureInfo Information about features used to render one pixel in an image GetLegendGraphic SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

15 Styled Layer Descriptor (SLD) Configures WMS rendering Describes how each feature should be depicted on a map Provider can set default style Requestor can provide own style Conditional rules e.g. Colour features according to property value SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

16 OGC Web Service Implementations Servers GeoServer (WFS, WMS) deegree (WFS, WMS) Mapserver (WMS) ArcGIS Server (WMS) Oracle Mapviewer (WMS) Snowflake GO Publisher (WFS) etc. Clients uDig OpenLayers ArcGIS Google Earth Many, many more. OGC Web Services are very easy to consume. SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

17 GeoServer Java servlet (runs in Tomcat, Jetty, JBoss, etc.) Open Source (GPLv2, in OSGeo incubation) Built on GeoTools (LGPLv2, OSGeo project) Large international user and developer communities WFS, WMS, WCS Reference implementation for WFS 1.1 PostGIS, Oracle, ArcSDE, MS SQL, ESRI Shapefiles, etc. Core GeoServer supports only simple features Web user interface for simple features only app-schema plugin supports complex features Hand-edited XML configuration files SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

18 Summary Spatial information standards Open Geospatial Consortium GML, WFS, WMS, SLD Many server and client implementations GML application schemas: community-agreed information models Interoperability GeoServer GeoServer is the WFS and WMS component of SISS Simple features easy to publish: graphical user interface Complex features with the app-schema plugin Deliver feature types conforming to GML application schemas SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

19 What’s next More information on SEEGrid Wiki: https://www.seegrid.csiro.au/wiki/bin/view/Siss/SissWxsWorkshop WFS SF0 and WMS configuration in GeoServer Hands-on exercise https://www.seegrid.csiro.au/wiki/Siss/GeoserverSimpleFeaturesWorkshopBoM2013 https://www.seegrid.csiro.au/wiki/Siss/GeoserverSimpleFeaturesWorkshopBoM2013 WFS SF1 configuration in GeoServer Demo https://www.seegrid.csiro.au/wiki/bin/view/Siss/GeoserverComplexFeatures https://www.seegrid.csiro.au/wiki/bin/view/Siss/GeoserverComplexFeatures Deployment techniques for production Linkages with other services (e.g. vocabulary service, persistent identifiers service, etc.) SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

20 WFS SF1 Configuration – Data Directory SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

21 Mapping File Syntax is defined in AppSchemaDataAccess.xsd Skeleton: SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

22 namespaces Declares namespaces for the output: SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

23 sourceDataStores Specifies database connection parameters: SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

24 targetTypes Specifies reference schemas Typically only 1 is required SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

25 typeMappings Specifies the complex types One FeatureTypeMapping per type SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

26 WFS SF1 configuration in GeoServer More detailed information is available at Wiki https://www.seegrid.csiro.au/wiki/bin/view/Siss/GeoserverComplexFeatures GeoServer documentation http://docs.geoserver.org GeoServer Application Schema Support http://docs.geoserver.org/stable/en/user/data/app-schema/index.html SISS Workshop: Web Feature Service and Web Map Service, Pavel Golodoniuc, Josh Vote

27 Thank you Pavel Golodoniuc, Josh Vote t+61 8 6436 8776 epavel.golodoniuc@csiro.au josh.vote@csiro.au wsiss.auscope.org


Download ppt "Web Feature Service and Web Map Service WATER FOR A HEALTHY COUNTRY FLAGSHIP SISS Workshop v2.3 Pavel Golodoniuc, Josh Vote 8 May 2013."

Similar presentations


Ads by Google