Implementing GeoDRM support in an OpenLayers based viewer · OpenLayers based viewer Access to the...

Preview:

Citation preview

INSPIRE Conference 2011

Implementing GeoDRM support in an OpenLayers based viewer Access to the French geoportal WMS-C services from the Spanish SDI

R. Béjar, M. Á. Latre, J. Valiño, F. Javier Zarazaga-Soria, P. R. Muro-MedranoJune 28, 2011. Edinburgh

Advanced Information Systems Laboratory (IAAA)

http://iaaa.cps.unizar.es

Agenda

DRM OGC GeoDRM IDEE: Spain NSDI

IDEE map viewer Géoportail WMS-C services Solution in the IDEE map viewer

Architecture Implementation

Conclusions

Digital Rights Management (DRM)

It refers to the technologies used to limit the uses of digital contents to those intended by their providers

OGC GeoDRM

The OGC GeoDRM reference model describes an abstract model for DRM for geospatial resources It is an abstract model: high level terms,

definitions etc. agreed by the OGC members Not an implementation specification: different

implementations!

IDEE: Spain NSDI

Coordinated by the National Geographic Council SDI Commission

Geoportal: http://www.idee.es/ Development led by the IGN (Spain National

Geographic Institute) OGC and ISO 19100 standards

Services: WMS, WMS-C, CSW, Gaz, WFS, WCS, SLD, WMC, WCTS, WPS, FTP

Horizontal interoperability with French, Portuguese and Andorran geoportals This includes adding some of their WMS and WMS-

C services to the IDEE map viewer

IDEE map viewer

Based on OpenLayers Which supports WMS-C services, but not GeoDRM

Highly customized user interface and added functionalities

Géoportail WMS-C services

France geoportal (Géoportail): http://www.geoportail.fr/

API Géoportail: https://api.ign.fr/geoportail/ WMS-C is OSGeo Web Map Service - Cached

specification Access to tiled maps through an interface that is

a profile of OGC WMS Several WMS-C from the Géoportail services

can be used, but they are protected by an implementation of GeoDRM

Solution architecture

IDEE Viewer : Application

Request Session Token(request includes API key )

WMS -C :

PortrayalService

Request Map Tiles(request includes API session token )

Géoportail Token Server:

ApplicationService

http://jeton-api.ign.fr

Get an API Key

https://api.ign.fr/geoportail/ Requested by an administrator of your domain

Valid only for requests coming from, or REFERERed by, that domain, for 12 months

Request tiles from a GeoDRM WMS-C

Do I have an API session token?

Géoportail Token Server:

ApplicationService

IDEE Viewer : Application

WMS-C: PortrayalService

Request tiles from a GeoDRM WMS-C

Do I have an API session token?

Request new API session token

No

Géoportail Token Server:

ApplicationService

IDEE Viewer : Application

WMS-C: PortrayalService

http://jeton-api.ign.fr/getToken? key= &output=xml

<token name="gppkey"> gC2UZGUr_JJi5Nm7QKN5hQG06pEAAAAAAAHWLRe_BD6d4QTVAAABHiB QmEAAAAAAAlgAAQECvZr3ME_66sRrEAaAwzQAAEM0AADCtAAAQrQAAA</token>

Request tiles from a GeoDRM WMS-C

Do I have an API session token?

Set timer to request next session token (10 min.)

No

Géoportail Token Server:

ApplicationService

IDEE Viewer : Application

WMS-C: PortrayalService

Request tiles from a GeoDRM WMS-C

Do I have an API session token?

Géoportail Token Server:

ApplicationService

IDEE Viewer : Application

WMS-C: PortrayalService

Request tiles from a GeoDRM WMS-C

Do I have an API session token?

Request tileYes

Géoportail Token Server:

ApplicationService

IDEE Viewer : Application

WMS-C: PortrayalService

http://wxs.ign.fr/geoportail/wmsc?...

&gppkey=gC2UZGUr_JJi5Nm7QKN5hQG06pEAAAAAAAHWLRe_BD6d4QTVAAABHiB QmEAAAAAAAlgAAQECvZr3ME_66sRrEAaAwzQAAEM0AADCtAAAQrQAAA

&...

Conclusions

There is a working implementation of GeoDRM in the Géoportail WMS-C services

The Open Layers based IDEE map viewer has been adapted to support the Géoportail GeoDRM implementation for WMS-C services In order to improve horizontal interoperability

between IDEE and Géoportail As OGC GeoDRM is an abstract

specification, details will be different in different implementations The solution may not be reusable

Advanced Information Systems Laboratory (IAAA)

http://iaaa.cps.unizar.es

Rubén Béjar

http://twitter.com/Ruben_Bejar

IAAA is currently a partner in the EuroGeoSource project

http://www.eurogeosource.eu

?