publishing maps (and more) withfiles.meetup.com/2013511/mapsandmorewithgeoserver.pdf · • geoext...
TRANSCRIPT
Publishing Maps (and more) with
By Juan Marin
Friday, June 8, 2012
Introduction• Juan Marin–Working with GeoServer since 2004 – Software engineer at OpenGeo
• OpenGeo • Postgis
• GeoServer• GeoWebcache• OpenLayers• GeoExt• Enterprise features
Friday, June 8, 2012
• Open Source GIS Server• Focus on OGC Web Services– Standards based: WFS, WMS, WCS, WPS,
etc.– Stable: started in 2001
• Large community of users and developers– Very active user and developer mailing list
Friday, June 8, 2012
• Who uses this stuff?
Friday, June 8, 2012
• Formats– Vector:• Spatial Databases: PostGIS, Oracle Spatial, MS
SQL Server, DB2, ESRI ArcSDE• Files: Shapefiles, CSV, H2 • Integration with OGR
– Raster• GeoTiFF, ArcGrid, WMS• MrSID, ECW, etc.• Integration with GDAL
Friday, June 8, 2012
• For static data: Integration with GeoWebCache– Fast tiling mechanism– Advanced functionality
• Partial cache refresh (GeoRSS, bounding box)• Configuration through UI or REST API• Supports thousands of projections or your own• Fully multithreaded• Disk quota with expiration policies
– LFU Least Frequently Used– LRU Least Recently Used
Friday, June 8, 2012
• Demo: Mapping OpenStreetMap Data
Friday, June 8, 2012
• Demo: Filtering data– By Attribute name STATE_ABBR = ‘NM’– By location BBOX(the_geom, -90, 40, -60, 45)
or INTERSECTS(the_geom, POINT(-100 39))
Friday, June 8, 2012
• Mapping standards– WMS Web Map Service
• OGC Standard, vendor neutral• Widely used• GeoServer supports up to WMS 1.3.0• Maps are styled with SLD (Styled Layer Descriptor)
– WMTS Web Map Tile Service (GeoWebCache)• OGC Standard, vendor neutral• Spec for serving map tiles of spatially referenced
data
Friday, June 8, 2012
• Mapping trick: Geometry Transformations
Friday, June 8, 2012
• Mapping trick: Rendering Transformations– Insert transformation in the rendering
pipeline
Friday, June 8, 2012
• Data Standards–WFS Web Feature Service• OGC Standard, vendor neutral• GeoServer is the Reference Implementation• Access to vector data
–WCS Web Coverage Service• OGC Standard, vendor neutral• GeoServer is the Reference Implementation• Access to raster data
Friday, June 8, 2012
• Data access trick: WFS + Filters
Friday, June 8, 2012
• WFS: Real World Example
GeoCode Address X,Y
Create Point with X, Y Coordinates
Friday, June 8, 2012
• Processing Standard–WPS Web Processing Service• OGC Standard, vendor neutral• GeoServer comes with ~ 80 out of the box• You can write your own!
– Coming soon: GeoScript integration• Write your process in a scripting language
– Python, Javascript, Groovy, Scala• Hot deploy to running server
Friday, June 8, 2012
• WPS Example: Demo requests
Friday, June 8, 2012
Friday, June 8, 2012
• http://geoserver.org• http://opengeo.org• http://openlayers.org/dev/examples/
Friday, June 8, 2012