geosolutions gfoss 09 presentation

36
GeoServer per la gestione interoperabile dei dati geospaziali: introduzione, e casi d'uso con cenni ad INSPIRE Ing Alessio Fabiani GFOSS 2009, Bolzano 12 th November 2009

Upload: geosolutions

Post on 25-May-2015

1.669 views

Category:

Technology


0 download

DESCRIPTION

GeoSolutions Gfoss 09 Presentation

TRANSCRIPT

Page 1: GeoSolutions Gfoss 09 Presentation

GeoServer per la gestione interoperabiledei dati geospaziali:

introduzione, e casi d'uso con cenni ad INSPIRE

Ing Alessio Fabiani

GFOSS 2009, Bolzano12th November 2009

Page 2: GeoSolutions Gfoss 09 Presentation

Outline

GeoSolutions Facts

GeoServer 2.0

Funzionalità di GeoServer

Panoramica moduli e servizi

INSPIRE

GFOSS 2009, Bolzano12th November 2009

Page 3: GeoSolutions Gfoss 09 Presentation

GeoSolutions - Facts

Funded mid 2006 in Italy

Staff of 7 engineers (2 consultants)

Expertise

Image Processing, GeoSpatial Data Fusion

Java, Java Enterprise, C++, Python

JPEG2000, JPIP, Advanced 2D visualization

Supporting/Developing FOSS4G projects

GeoTools, GeoServer, GeoBatch, ImageIO-Ext, uDig

Focus on

Consultancy (agencies, large private companies, etc…)

Building stack of geospatial Open Source products

FOSS4G 2009, Sydney23rd September 2009

Page 4: GeoSolutions Gfoss 09 Presentation

INSPIRE Introduction

GFOSS 2009, Bolzano12th November 2009

Richiede alle PA di pubblicare dati geospaziali secondo le specifiche ISO (OGC convertite in ISO)

Es: WMS 1.3 / WFS 1.2 (non molto diffusi; no clients)

Stabilisce regole generali per l’interoperabilità:

NON richiede la collezione di nuovi dati

NON specifica nulla riguardo all’implementazione

NON specifica nulla riguardo la proprietà intellettuale

Si appoggia completamente sugli Stati Membri e sui dati/metadati a loro disposizione

Page 5: GeoSolutions Gfoss 09 Presentation

INSPIRE Technical Architecture

GFOSS 2009, Bolzano12th November 2009

INSPIRE definisce l’architettura tecnologica per la disseminazione dell’informazione spaziale, composta di:

Metadati

Spatial Data Sets

Spatial Data Services

Network Services

Network Technologies

I dati e i metadati geospaziali DEVONO essere acceduti solo attraverso i servizi.

Page 6: GeoSolutions Gfoss 09 Presentation

GeoServer 2.0

GFOSS 2009, Bolzano12th November 2009

GeoSpatial enterprise gateway

Management dati raster e vettoriali

Standards compliant

OGC WCS 1.0 - 1.1.1 (RI)

OGC WFS 1.0 - 1.1 (RI)

OGC WMS 1.1.1

OGC WPS 1.0.0

Google support

KML, GeoSearch, etc..

Page 7: GeoSolutions Gfoss 09 Presentation

Fu

nzio

nalità

di G

eo

Serv

er

Geo

Serv

er

2.0

WFS 1.0

WMS 1.1.1

PostGISDB2OracleMySql

Shapefile

---------------------------------------

---------------------------------------

---------------------------------------

ArcSDEWFS

PNG, GIFJPEGTIFF, GeoTIFFSVG, PDFKML/KMZ

Shapefile.zipGML2GML3GeoRSSGeoJSONCSV/XLS

Raw vectordata

Servers

Styled maps

DBMS

Vector files

WFS 1.1

WCS 1.0

GeoTIFFArcGridGTopo30Img+worldMosaicMrSIDJPEG 2000ECW,Pyramid

Raster files

Raw rasterdata

GeoTIFFArcGridGTopo30Img+World

WCS 1.1.1

GWCKML superoverlaysGoogle maps tiles

WFSv*

Google*

GFOSS 2009, Bolzano12th November 2009

WPS1.0.0

Page 8: GeoSolutions Gfoss 09 Presentation

Funzionalità di GeoServer 2.0

GFOSS 2009, Bolzano12th November 2009

GeoTools

JTSImageIO

GDAL

WCS

JAI

WMS WFS WFSv REST Google

Vector Raster

GWC

Style

JMagick

Page 9: GeoSolutions Gfoss 09 Presentation

Nuova Interfaccia grafica

GFOSS 2009, Bolzano12th November 2009

Page 10: GeoSolutions Gfoss 09 Presentation

Interfaccia RESTful

GFOSS 2009, Bolzano12th November 2009

Configurazione programmatica

Workspaces

DataStores/CoverageStores

Layers e Stili

Estensioni per classificazioni

Esposizione struttura interna

Ajax-JavaScript friendly

Modulo stabile

Page 11: GeoSolutions Gfoss 09 Presentation

Integrated Security

GFOSS 2009, Bolzano12th November 2009

namespace.layer.mode=role1,role2,...

A name, or * tomean “any”

r: readw: write

The roles that willbe authorized to access the dataunder this rule

ACEGI framework

Specificare regole su singoli layer

Configurazione semplificata con liste diregole

Page 12: GeoSolutions Gfoss 09 Presentation

WMS 1.1.1 – Advanced Styling

GFOSS 2009, Bolzano12th November 2009

Advanced Labeling

Page 13: GeoSolutions Gfoss 09 Presentation

WMS 1.1.1 – Advanced Styling

GFOSS 2009, Bolzano12th November 2009

Dynamic Symbolizers<ExternalGraphic>

<OnlineResource xlink:type="simple“ xlink:href="http://www.usautoparts.net/bmw/images/states/tn_${STATE_ABBR}.jpg"/>

<Format>image/gif</Format> </ExternalGraphic>

Page 14: GeoSolutions Gfoss 09 Presentation

WMS 1.1.1 – KML Output

GFOSS 2009, Bolzano12th November 2009

TEMPORAL SERIES

KML EXTRUDE

KML SUPEROVERLAY

Page 15: GeoSolutions Gfoss 09 Presentation

Integrazione GDAL

GFOSS 2009, Bolzano12th November 2009

Started GSOC 2006-2007

ImageIO integration via ImageIO-ext

Estensione SUN ImageIO framework

JPEG2000,MrSID, ECW, BigTIFF*, ERDAS Image, HDF4,etc...

Non (ancora!) facile configurazione

Attenzione alle licenze:

MrSid

ECW

KAKADU (JPEG200)

Page 16: GeoSolutions Gfoss 09 Presentation

ImageIO-Ext

GFOSS 2009, Bolzano12th November 2009

Nuovi plug-ins:

BigTiff*

JP2K :

Nuovo reader/writer basato su Kakadu e JNI senzal’ausilio di GDAL

Varie opzioni in scrittura: numero di decomposition levels, qualita', JP2-Raw ...

GeoTools plugin basato su ImageIO-Ext JP2K con supporto a GeoJP2 e MSIG worldfilebox

Supporto per GMLJP2 richiede fondi!

Page 17: GeoSolutions Gfoss 09 Presentation

GeoWebCache

GFOSS 2009, Bolzano12th November 2009

GeoServer

GeoWebCache

Persistent raster/KMLtile cache

Sistema di tile cache per WMS

Layer statici

Fornisce KML/raster tiles

GMap, Gearth

OpenLayers

VEarth, Bing

Speed up fattore 10/100

REST interface

Page 18: GeoSolutions Gfoss 09 Presentation

WFSv

GFOSS 2009, Bolzano12th November 2009

Page 19: GeoSolutions Gfoss 09 Presentation

Altri moduli

GFOSS 2009, Bolzano12th November 2009

Features Pre-generalizzate

Pre-processing del dataset per creare una piramide diFeatures.

Dacimated distance = 5

Full resolution

Dacimated distance = 10

Dacimated distance = ... Il DataStore seleziona automaticamente il layer semplificato in base al livello di zoom.

Page 20: GeoSolutions Gfoss 09 Presentation

Altri moduli

GFOSS 2009, Bolzano12th November 2009

Complex Features

Supporto per Community Schema e Complex Types (Features di Features)

Fondamentale per supportare INSPIRE!

Page 21: GeoSolutions Gfoss 09 Presentation

Altri moduli

GFOSS 2009, Bolzano12th November 2009

JDBC Next Generation drivers

Obiettivi:

Ridurre il tempo di sviluppo di nuovi DataStores

Evitare la duplicazione di codice

Aumentare la qualità verso il backend, in termini disecurity, performance e testing

Come:

Unica JDBCDataStore class final, in modo da non poter essere subclassata

Introduzione del concetto di Dialect per incapsularele operazioni specifiche ad ogni DataBase

Page 22: GeoSolutions Gfoss 09 Presentation

Hibernate Catalog

GFOSS 2009, Bolzano12th November 2009

Web REST WMS WFS WCS ...

DB

Hibernate Based Catalog

Catalog Interface

Hibernate

2°L cache

ServiceDAO CatalogDAO

Configuration stored in DB

Hibernate

Spring based Dao

Transactions via Spring/EJB3

Caching with EhCache

Same catalog interface, different

implementation

Catalog interface needs tweaking

GeoServer UI still needs tweaking

Transaction demarcation needs

tweakingNet Storage

Page 23: GeoSolutions Gfoss 09 Presentation

Hibernate Catalog

GFOSS 2009, Bolzano12th November 2009

Web REST WMS WFS WCS ...

Hibernate Based Catalog

Catalog Interface

Hibernate

ServiceDAO CatalogDAO

Web REST WMS WFS WCS ...

Hibernate Based Catalog

Catalog Interface

Hibernate

ServiceDAO CatalogDAO

2° L Distributed Cache

Net StorageDB DB DB

Page 24: GeoSolutions Gfoss 09 Presentation

RasterVault

GFOSS 2009, Bolzano12th November 2009

Raster sono intrinsecamente multidimensionali

(x,y,z,t) → [(fieldA1,fieldA2),(fieldB1)]

Page 25: GeoSolutions Gfoss 09 Presentation

RasterVault

Web REST WMS WFS WCS ...

DB

Catalog Interface

Hibernate Spatial

2°L cache

RasterLayerDAO RangeDAO

Net Storage

CoverageStore Interface

RasterVault

CoverageStore

GeoServer

GFOSS 2009, Bolzano12th November 2009

Page 26: GeoSolutions Gfoss 09 Presentation

Chi sviluppa GeoServer

GFOSS 2009, Bolzano12th November 2009

Page 27: GeoSolutions Gfoss 09 Presentation

INSPIRE Network Services

GFOSS 2009, Bolzano12th November 2009

Necessari per la condivisione dei dati geospaziali.

Per tali servizi l’Interoperabilità è RICHIESTA dalla direttiva.

Page 28: GeoSolutions Gfoss 09 Presentation

INSPIRE Spatial Data Infrastructure

GFOSS 2009, Bolzano12th November 2009

Uso di componenti OpenSource per l’implementazione deiNetwork Services.

Page 29: GeoSolutions Gfoss 09 Presentation

The End

GFOSS 2009, Bolzano12th November 2009

[email protected]

Page 30: GeoSolutions Gfoss 09 Presentation

Enterprise Spatial Data Infrastructure

ES

B

SpatialDBMS

Data Dissemination Server

Index & Search

Map Accelerator

Batch Processing

Data CollectionAgents

GeoPortalA&A&A

Net Storage

Data Management Layer

Monitoring

Reporting

Data Management Layer

Online Processing

GFOSS 2009, Bolzano12th November 2009

Page 31: GeoSolutions Gfoss 09 Presentation

Enterprise Spatial Data Infrastructure

ES

B

PostGIS

GeoServer Buddata ebRIM

GeoWebCache

Data CollectionAgents

geoSDI-ERAA&A&A

Net Storage

GeoTools

Monitoring

GeoBI

GeoTools

OpenLayers

GeoBatch

GFOSS 2009, Bolzano12th November 2009

Page 32: GeoSolutions Gfoss 09 Presentation

GeoBatch

GFOSS 2009, Bolzano12th November 2009

FileSystemMonitorE

ven

tM

ailb

ox

EventDispatcher

Actio

n

Actio

n

Actio

n

FlowManager

Event Consumer

Event Consumer

Directory Monitoring

Page 33: GeoSolutions Gfoss 09 Presentation

GeoBatch: UI

GFOSS 2009, Bolzano12th November 2009

Page 34: GeoSolutions Gfoss 09 Presentation

Integrated Security

GFOSS 2009, Bolzano12th November 2009

private.* topp.*

TRUSTED_ROLE r/w r r r

(no access) r r/w r

(no access) r r r

topp.

districts

Other

layers

LEGISLATORS 

(all other users) 

*.*.r=*

*.*.w=NO_ONE

private.*.r=TRUSTED_ROLE

private.*.w=TRUSTED_ROLE

topp.districts.w=LEGISLATORS

RDONLYlock down

Per-layer override

Page 35: GeoSolutions Gfoss 09 Presentation

Altri moduli

GFOSS 2009, Bolzano12th November 2009

ArcSDE Raster support

Supporto per Oracle

WPS 1.0.0 :

Sextante Integration

Obiettivi:

Full OGC-WPS 1.0.0 compliancy

Raster Processing (WCPS)

Page 36: GeoSolutions Gfoss 09 Presentation

WMS 1.1.1 - CQL

GFOSS 2009, Bolzano12th November 2009

GeoServer WMS – CQL Examples

STATE_NAME = 'Montana'

MALE > FEMALE

LAND_KM > 300000