osgis 2010
TRANSCRIPT
Using GeoServerfor interoperable management anddissemination of geospatial data
Ing. Simone Giannecchini, GeoSolutions
OSGIS 2010, Nottingham22nd June 2010
Outline
GeoSolutions Facts
GeoServer 2.0 Facts
GUI
Security
Administration
WMS, WFS, WCS
Extensions and additional modules
OSGIS 2010, Nottingham22nd June 2010
GeoSolutions - Facts
Founded mid 2006 in Italy
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
OSGIS 2010, Nottingham22nd June 2010
GeoServer
GeoSpatial enterprise gateway
Java Enterprise
Management of raster and vector data
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 Earth/Maps support
KML, GeoSearch, etc..
OSGIS 2010, Nottingham22nd June 2010
Geo
Serv
er
2.0
Facts
Ge
oS
erv
er
WFS 1.0
WMS 1.1.1
PostGISDB2OracleMySql
Shapefile
---------------------------------------
---------------------------------------
---------------------------------------
ArcSDEWFS
PNG, GIFJPEGTIFF, GeoTIFFSVG, PDFKML/KMZ
ShapefileGML2GML3GeoRSSGeoJSONCSV/XLS
Raw vectordata
Servers
Styled maps
DBMS
Vector files
WFS 1.1
WCS 1.0
GeoTIFFArcGridGTopo30Img+worldMosaicMrSIDJPEG 2000ECW,Pyramid, Oracle GeoRaster
Raster files
Raw rasterdata
GeoTIFFArcGridGTopo30Img+World
WCS 1.1.1
GWCKML superoverlaysGoogle maps tiles
WFSv*
Google*
WPS1.0.0
OSGIS 2010, Nottingham22nd June 2010
GeoServer 2.0 Facts
GeoTools
JTSImageIO
GDAL
WCS
JAI
WMS WFS WFSv REST Google
Raster Vector
GWC
Style
Kakadu
OSGIS 2010, Nottingham22nd June 2010
GeoServer 2.0 GUI
OSGIS 2010, Nottingham22nd June 2010
Integrated Security
namespace.layer.mode=role1,role2,...
A name, or * tomean “any”
r: readw: write
The roles that willbe authorized to access the dataunder this rule
Spring ACEGI framework
Per-layer rules support
Simplified configuration with rules list
OSGIS 2010, Nottingham22nd June 2010
Integrated Security
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
OSGIS 2010, Nottingham22nd June 2010
Integrated Security: Web UI
OSGIS 2010, Nottingham22nd June 2010
RESTful Administration
Programmatic Configuration
Remote (no UI)
Workspaces
DataStores/CoverageStores
Layers and Styles
Exposes Internal configuration
Ajax-JavaScript friendly
Stable Module
Integrated Security
OSGIS 2010, Nottingham22nd June 2010
WMS 1.1.1 – Advanced Styling
Advanced Labeling
OSGIS 2010, Nottingham22nd June 2010
WMS 1.1.1 – Advanced Styling
Dynamic Symbolizers
OSGIS 2010, Nottingham22nd June 2010
WMS 1.1.1 – Advanced Styling
Filter FunctionsGeometry
Transformations
Drop ShadowNumber
Formatting
OSGIS 2010, Nottingham22nd June 2010
WMS 1.1.1 – Advanced Styling
Continuous Maps
CSS Styling<PolygonSymbolizer>
<Fill> <!-- CssParameters allowed are fill (the color) and fill-opacity --><CssParameter name="fill">#4DFF4D</CssParameter><CssParameter name="fill-opacity">0.7</CssParameter>
</Fill></PolygonSymbolizer>
OSGIS 2010, Nottingham22nd June 2010
WMS 1.1.1 – Advanced Styling
Raster Styling
65536 Colors
256Colors
RawData
OSGIS 2010, Nottingham22nd June 2010
KML/KMZ
TEMPORAL SERIES
KML EXTRUDEKML
SUPEROVERLAY
OSGIS 2010, Nottingham22nd June 2010
Google Search
OSGIS 2010, Nottingham22nd June 2010
WMS 1.1.1 - CQL
GeoServer WMS – CQL Examples
STATE_NAME = 'Montana'
MALE > FEMALE
LAND_KM > 300000
OSGIS 2010, Nottingham22nd June 2010
ImageIO-Ext Support
Extension of SUN ImageIO framework
New plug-ins:
BigTiff*, netCDF-CF,GriB1,MatFile 5, HDF4
JP2000 based on kakadu
Ongoing work on GDAL 1.7.2
GDAL integration via ImageIO-ext
JPEG2000,MrSID, ECW
BigTIFF, ERDAS Image, HDF4
OSGIS 2010, Nottingham22nd June 2010
WFS
Serving raw vector data to the masses!
Support for 1.0 and 1.1 (RI) with Transations
Output Formats
GML 2 and 3
GeoRSS, GeoJSON
Complex Features*
OGR-based extension
Vendor Parameters
CQL
GetCapabilities Namespace filtering
WFS 1.0 reprojection
OSGIS 2010, Nottingham22nd June 2010
WCS
Serving raw raster data to the masses!
No maps please I want the real data!
Support for TIME and ELEVATION
Support for 1.0.0 and 1.1.1 (RI)
Output Formats
GeoTiff
GDAL based formats*
Vendor Parameters
ELEVATION as band management*
GetCapabilities Namespace filtering
OSGIS 2010, Nottingham22nd June 2010
WFSv
OSGIS 2010, Nottingham22nd June 2010
WPS*
WPS 1.0 implementation as extension
Current Implementation is weak:
No Asynchronous Status Hook
No process control
Hard to integrate new processes
Ongoing efforts:
Scripting-based processing
Sextante, JGrass (Grass?) integration
Improved robustness of infrastructure
Raster Processing and Statistics
OSGIS 2010, Nottingham22nd June 2010
Raster Pyramids
Preprocessing raster data for performance
Multiple resolutions levels
Scale decide best resolution level
Multiple file (tiles) per resolutions level
File Based Pyramids Support
DBMS-based Pyramids
Postgis
DB2
Oracle (GeoRaster)
MySQL
OSGIS 2010, Nottingham22nd June 2010
Pregeneralized Features
Seving big geometries (complex polygons and linestrings)
Multiple generalized version
Fast WMS maps via scale-base selection
Transparent to WFS (read-only)
OSGIS 2010, Nottingham22nd June 2010
WMS TIME and ELEVATION
TIME = 20100512T0000000ZELEVATION = 0.0
WMS GetCapabilities
FeatureType Editor
OSGIS 2010, Nottingham22nd June 2010
Complex Features
Community Schemas
Complex Types
Nested Features
Multiple Geometries
Crucial for INSPIRE
OSGIS 2010, Nottingham22nd June 2010
GeoWebCache
GeoServer
GeoWebCache
Persistent raster/KMLtile cache
Tile based caching for WMS
Mainly* static layers
KML/raster tiles for:
GMap, Gearth
OpenLayers
VEarth, Bing
Speed up factor10/100
REST admin interface
OSGIS 2010, Nottingham22nd June 2010
Hibernate Catalog*
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
OSGIS 2010, Nottingham22nd June 2010
Hibernate Catalog*
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
OSGIS 2010, Nottingham22nd June 2010