Publishing Maps (and more) withfiles.meetup.com/2013511/MapsAndMoreWithGeoServer.pdf · • GeoExt...
Transcript of Publishing Maps (and more) withfiles.meetup.com/2013511/MapsAndMoreWithGeoServer.pdf · • GeoExt...
![Page 1: Publishing Maps (and more) withfiles.meetup.com/2013511/MapsAndMoreWithGeoServer.pdf · • GeoExt • Enterprise features Friday, June 8, 2012 • Open Source GIS Server • Focus](https://reader033.fdocuments.us/reader033/viewer/2022042003/5e6e82ce92d8314add56ab4e/html5/thumbnails/1.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022042003/5e6e82ce92d8314add56ab4e/html5/thumbnails/2.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022042003/5e6e82ce92d8314add56ab4e/html5/thumbnails/3.jpg)
• 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](https://reader033.fdocuments.us/reader033/viewer/2022042003/5e6e82ce92d8314add56ab4e/html5/thumbnails/4.jpg)
• 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](https://reader033.fdocuments.us/reader033/viewer/2022042003/5e6e82ce92d8314add56ab4e/html5/thumbnails/5.jpg)
• 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](https://reader033.fdocuments.us/reader033/viewer/2022042003/5e6e82ce92d8314add56ab4e/html5/thumbnails/6.jpg)
• 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](https://reader033.fdocuments.us/reader033/viewer/2022042003/5e6e82ce92d8314add56ab4e/html5/thumbnails/7.jpg)
• 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](https://reader033.fdocuments.us/reader033/viewer/2022042003/5e6e82ce92d8314add56ab4e/html5/thumbnails/8.jpg)
• 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](https://reader033.fdocuments.us/reader033/viewer/2022042003/5e6e82ce92d8314add56ab4e/html5/thumbnails/9.jpg)
• 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](https://reader033.fdocuments.us/reader033/viewer/2022042003/5e6e82ce92d8314add56ab4e/html5/thumbnails/10.jpg)
• 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](https://reader033.fdocuments.us/reader033/viewer/2022042003/5e6e82ce92d8314add56ab4e/html5/thumbnails/11.jpg)
• 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](https://reader033.fdocuments.us/reader033/viewer/2022042003/5e6e82ce92d8314add56ab4e/html5/thumbnails/12.jpg)
• 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](https://reader033.fdocuments.us/reader033/viewer/2022042003/5e6e82ce92d8314add56ab4e/html5/thumbnails/13.jpg)
• 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](https://reader033.fdocuments.us/reader033/viewer/2022042003/5e6e82ce92d8314add56ab4e/html5/thumbnails/14.jpg)
• 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](https://reader033.fdocuments.us/reader033/viewer/2022042003/5e6e82ce92d8314add56ab4e/html5/thumbnails/15.jpg)
• 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](https://reader033.fdocuments.us/reader033/viewer/2022042003/5e6e82ce92d8314add56ab4e/html5/thumbnails/16.jpg)
• 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](https://reader033.fdocuments.us/reader033/viewer/2022042003/5e6e82ce92d8314add56ab4e/html5/thumbnails/17.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022042003/5e6e82ce92d8314add56ab4e/html5/thumbnails/18.jpg)
• http://geoserver.org• http://opengeo.org• http://openlayers.org/dev/examples/
Friday, June 8, 2012