+ All Categories
Home > Self Improvement > INSPIRE View Service in MapServer

INSPIRE View Service in MapServer

Date post: 11-May-2015
Category:
Upload: stephan-meissl
View: 1,230 times
Download: 0 times
Share this document with a friend
Popular Tags:
19
INSPIRE View Service in MapServer FOSS4G-CEE 2012, Prague Stefan Leopold Stephan Meißl
Transcript
Page 1: INSPIRE View Service in MapServer

INSPIRE View Service in MapServer

FOSS4G-CEE 2012, Prague

Stefan Leopold

Stephan Meißl

Page 2: INSPIRE View Service in MapServer

Outline

• Overview INSPIRE View Service• Overview MapServer• Implementation & Configuration in MapServer

– Activation of INSPIRE support– Multi-language support– INSPIRE specific metadata– Named group layers

• Conclusions & Outlook

Page 3: INSPIRE View Service in MapServer

Overview of INSPIRE View Service

• Infrastructure for Spatial Information in Europe - initiative launched by the European Commission for solving interoperability issues for geospatial datahttp://inspire.jrc.ec.europa.eu

• Directive as law• Technical Guidance for View

Services based on WMS 1.1.1& 1.3.0

Page 4: INSPIRE View Service in MapServer
Page 5: INSPIRE View Service in MapServer

• OSGeo Project – http://mapserver.org• Widely used Open Source platform for

publishing spatial data to the web• Fast, flexible, reliable, and highly integratable• Support of various OGC standards: WMS, WFS,

WCS, SLD, SOS, etc.• Current release: 6.0.3; 6.2 in preparation• 16+ active developers; ~300k LoC;

~77 man‑years; IRC #mapserver 30+• Latest highlights: MapCache, TinyOWS, Github

Overview MapServer

Page 6: INSPIRE View Service in MapServer

INSPIRE View Service in MapServer

• Available with MapServer 6.2 release

• WMS 1.3.0

• Based on Technical Guidance in version 3.0

• Documentationhttp://mapserver.org/trunk/ogc/inspire.htmlwith 6.2 release http://mapserver.org/ogc/inspire.html

• Implementation tracked as RFC 75http://mapserver.org/development/rfc/ms-rfc-75.html

• Validates against INSPIRE schemas

• Tested against WMS INSPIRE testerhttp://inspire_tester.neogeo-online.net

Page 7: INSPIRE View Service in MapServer

Activation of INSPIRE support

• scenario 1: external metadata: "url"• scenario 2: embedded metadata: "embed"

WEB METADATA "wms_inspire_capabilities" "url" ... ENDEND

Page 8: INSPIRE View Service in MapServer

Multi-language support (1/3)

• Provisioning of all supported languages• Values according to ISO 639-2/B• First value is default language

WEB METADATA … "wms_languages" "eng,ger,ita" ... ENDEND

Page 9: INSPIRE View Service in MapServer

Multi-language support (2/3)

WEB METADATA "wms_title.eng" "Transport Network" "wms_title.ger" "Verkehrsnetz" "wms_abstract" "myabstract" ... ENDEND

...&REQUEST=GetCapabilities&LANGUAGE=eng

Page 10: INSPIRE View Service in MapServer

Multi-language support (3/3)

• Run-time substitution (only CGI)• DATA & CONNECTION metadata

LAYER NAME TN.RoadTransportNetwork.RoadArea DATA "road_%language%.shp" ...END

...&REQUEST=GetMap&LANGUAGE=eng

Page 11: INSPIRE View Service in MapServer

INSPIRE specific metadata - Scenario 1

"wms_inspire_metadataurl_href" "http://..."

"wms_inspire_metadataurl_format" "application/vnd.ogc.csw.capabilities.response_xml"

"wms_keywordlist_vocabulary" "ISO"

"wms_keywordlist_ISO_items" "infoMapAccessService"

"wms_fees" "conditions unknown"

"wms_accessconstraints" "None"

"wms_contactorganization" "MapServer"

"wms_contactposition" "owner"

...

Page 12: INSPIRE View Service in MapServer

INSPIRE specific metadata - Scenario 2

Additional metadata:"wms_inspire_temporal_reference" "2012-05-22""wms_inspire_mpoc_name" "mympocname""wms_inspire_mpoc_email" "[email protected]""wms_inspire_metadatadate" "2012-05-22""wms_inspire_resourcelocator" "http://resource"

• Values are not validated• Some metadata is hard-coded

Page 13: INSPIRE View Service in MapServer

Named group layers (1/2)

• Via wms_layer_group• Arbitrary depth• Named vs. Unnamed• Supported in GetMap,

GetFeatureInfo, etc.

LAYER NAME RoadArea METADATA "wms_layer_group" "/RoadTransportNetwork" …

Page 14: INSPIRE View Service in MapServer

Named group layers (2/2)

MAP NAME TN …LAYER NAME RoadTransportNetwork ...LAYER NAME RoadArea METADATA "wms_layer_group" "/RoadTransportNetwork" …

• Only TN and RoadArea can be requested

• RoadTransportNetwork only used for grouping

unnamed

Page 15: INSPIRE View Service in MapServer

<inspire_vs:ExtendedCapabilities> <inspire_common:MetadataUrl xsi:type="inspire_common:resourceLocatorType"> <inspire_common:URL>http://...</inspire_common:URL> <inspire_common:MediaType> application/vnd.ogc.csw.capabilities.response_xml </inspire_common:MediaType> </inspire_common:MetadataUrl> <inspire_common:SupportedLanguages> <inspire_common:DefaultLanguage> <inspire_common:Language>eng</inspire_common:Language> </inspire_common:DefaultLanguage> <inspire_common:SupportedLanguage> <inspire_common:Language>ger</inspire_common:Language> </inspire_common:SupportedLanguage> </inspire_common:SupportedLanguages> <inspire_common:ResponseLanguage> <inspire_common:Language>eng</inspire_common:Language> </inspire_common:ResponseLanguage></inspire_vs:ExtendedCapabilities>

Page 16: INSPIRE View Service in MapServer

Conclusions & Outlook (1/2)

• INSPIRE view service support based on Technical Guidance (v3.0) available with MapServer 6.2 release

• WMS 1.1.1 on the roadmap• Bug reports, feature requests, etc. via Github

http://github.org/mapserver/• General support via mailing lists and IRC

http://mapserver.org/community/index.html

Page 17: INSPIRE View Service in MapServer

Conclusions & Outlook (2/2)

• WCS possibly part of INSPIRE Download Service

– EOxServer: Presentation tomorrow 9:20

• Try it out!

– Check out the MapServer master/trunk and build the sourcehttp://github.org/mapserver/mapserver/

– Use our demo service and ask for special support

– Thanks for your feedback

Page 18: INSPIRE View Service in MapServer

Credits

• Edward Nash and Martin Kofahl from DVZ M-V for their extensive testing

• R3 GIS & EU for financial support

• The whole MapServer Team for their great guidance and support

Page 19: INSPIRE View Service in MapServer

EOX IT Services GmbHThurngasse 8/41090 WienÖsterreich / Austriaeox.at

Stephan Meiß[email protected]

Stefan [email protected]

This work is licensed under aCreative Commons Attribution-ShareAlike 3.0 Unported License.


Recommended