publishing maps (and more) withfiles.meetup.com/2013511/mapsandmorewithgeoserver.pdf · • geoext...

18
Publishing Maps (and more) with By Juan Marin Friday, June 8, 2012

Upload: others

Post on 13-Mar-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Publishing Maps (and more) withfiles.meetup.com/2013511/MapsAndMoreWithGeoServer.pdf · • GeoExt • Enterprise features Friday, June 8, 2012 • Open Source GIS Server • Focus

Publishing Maps (and more) with

By Juan Marin

Friday, June 8, 2012

Page 2: Publishing Maps (and more) withfiles.meetup.com/2013511/MapsAndMoreWithGeoServer.pdf · • GeoExt • Enterprise features Friday, June 8, 2012 • Open Source GIS Server • Focus

Introduction• Juan Marin–Working with GeoServer since 2004 – Software engineer at OpenGeo

• OpenGeo • Postgis

• GeoServer• GeoWebcache• OpenLayers• GeoExt• Enterprise features

Friday, June 8, 2012

Page 3: Publishing Maps (and more) withfiles.meetup.com/2013511/MapsAndMoreWithGeoServer.pdf · • GeoExt • Enterprise features Friday, June 8, 2012 • Open Source GIS Server • Focus

• 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

Page 4: Publishing Maps (and more) withfiles.meetup.com/2013511/MapsAndMoreWithGeoServer.pdf · • GeoExt • Enterprise features Friday, June 8, 2012 • Open Source GIS Server • Focus

• Who uses this stuff?

Friday, June 8, 2012

Page 5: Publishing Maps (and more) withfiles.meetup.com/2013511/MapsAndMoreWithGeoServer.pdf · • GeoExt • Enterprise features Friday, June 8, 2012 • Open Source GIS Server • Focus

• 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

Page 6: Publishing Maps (and more) withfiles.meetup.com/2013511/MapsAndMoreWithGeoServer.pdf · • GeoExt • Enterprise features Friday, June 8, 2012 • Open Source GIS Server • Focus

• 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

Page 7: Publishing Maps (and more) withfiles.meetup.com/2013511/MapsAndMoreWithGeoServer.pdf · • GeoExt • Enterprise features Friday, June 8, 2012 • Open Source GIS Server • Focus

• Demo: Mapping OpenStreetMap Data

Friday, June 8, 2012

Page 8: Publishing Maps (and more) withfiles.meetup.com/2013511/MapsAndMoreWithGeoServer.pdf · • GeoExt • Enterprise features Friday, June 8, 2012 • Open Source GIS Server • Focus

• 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

Page 9: Publishing Maps (and more) withfiles.meetup.com/2013511/MapsAndMoreWithGeoServer.pdf · • GeoExt • Enterprise features Friday, June 8, 2012 • Open Source GIS Server • Focus

• 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

Page 10: Publishing Maps (and more) withfiles.meetup.com/2013511/MapsAndMoreWithGeoServer.pdf · • GeoExt • Enterprise features Friday, June 8, 2012 • Open Source GIS Server • Focus

• Mapping trick: Geometry Transformations

Friday, June 8, 2012

Page 11: Publishing Maps (and more) withfiles.meetup.com/2013511/MapsAndMoreWithGeoServer.pdf · • GeoExt • Enterprise features Friday, June 8, 2012 • Open Source GIS Server • Focus

• Mapping trick: Rendering Transformations– Insert transformation in the rendering

pipeline

Friday, June 8, 2012

Page 12: Publishing Maps (and more) withfiles.meetup.com/2013511/MapsAndMoreWithGeoServer.pdf · • GeoExt • Enterprise features Friday, June 8, 2012 • Open Source GIS Server • Focus

• 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

Page 13: Publishing Maps (and more) withfiles.meetup.com/2013511/MapsAndMoreWithGeoServer.pdf · • GeoExt • Enterprise features Friday, June 8, 2012 • Open Source GIS Server • Focus

• Data access trick: WFS + Filters

Friday, June 8, 2012

Page 14: Publishing Maps (and more) withfiles.meetup.com/2013511/MapsAndMoreWithGeoServer.pdf · • GeoExt • Enterprise features Friday, June 8, 2012 • Open Source GIS Server • Focus

• WFS: Real World Example

GeoCode Address X,Y

Create Point with X, Y Coordinates

Friday, June 8, 2012

Page 15: Publishing Maps (and more) withfiles.meetup.com/2013511/MapsAndMoreWithGeoServer.pdf · • GeoExt • Enterprise features Friday, June 8, 2012 • Open Source GIS Server • Focus

• 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

Page 16: Publishing Maps (and more) withfiles.meetup.com/2013511/MapsAndMoreWithGeoServer.pdf · • GeoExt • Enterprise features Friday, June 8, 2012 • Open Source GIS Server • Focus

• WPS Example: Demo requests

Friday, June 8, 2012

Page 17: Publishing Maps (and more) withfiles.meetup.com/2013511/MapsAndMoreWithGeoServer.pdf · • GeoExt • Enterprise features Friday, June 8, 2012 • Open Source GIS Server • Focus

Friday, June 8, 2012

Page 18: Publishing Maps (and more) withfiles.meetup.com/2013511/MapsAndMoreWithGeoServer.pdf · • GeoExt • Enterprise features Friday, June 8, 2012 • Open Source GIS Server • Focus

• http://geoserver.org• http://opengeo.org• http://openlayers.org/dev/examples/

Friday, June 8, 2012