Académique Documents
Professionnel Documents
Culture Documents
September 5, 2012
CDI Webinar
Sept. 5, 2012 *
required element
Introduction
■ The primary element of the CDI Science Support Framework that
this CDI-funded project and its products focuses on is the
Applications element.
CDI Webinar
Sept. 5, 2012 *
HTML5 Canvas
■ Widely supported standards-compliant image manipulation now
possible in browser using Javascript - Milestone!
■ Enables dynamic analysis/visualization of remote sensing data (e.
g., can use sliders to adjust user input and instantly visualize output)
■ Mobile compatible
■ Allows operation without network connection
■ Wide range of uses from simple to complex:
desaturate background map, magnify region,
raster statistics, raster algebra,...
■ more...
CDI Webinar
Sept. 5, 2012 *
Issues
■ Same Origin Policy (a.k.a. Cross-Site Scripting)
Same issue as with JSON & XML parsing
■ Size of image affects performance
■ Performance - computers getting faster, browsers getting faster,
processing generalized rasters...
■ Uses generalized data and is intended primarily for fast visualization
purposes to facilitate data discovery.
When accurate analysis is required, the user interface is supplemented
with an option to call more accurate server-side processes via Web
Processing Services (WPS) which process the raw data.
[added after presentation Q&A period]
CDI Webinar
Sept. 5, 2012 *
About OpenLayers
■ Library independent - plays well with all.
You get to choose the library that suits
your development needs
■ No server-side dependencies
■ Open Source - easy to debug & extend
■ GitHub - growing contributions
■ Mobile compatible
■ Interoperable with ArcGIS Server
■ Excellent substitute for Google Maps API
■ Free access to open source community for answers and advice
■ OpenLayers 3 is lean, and getting leaner!
CDI Webinar
Sept. 5, 2012 *
OpenLayers Canvas Raster Examples
CDI Webinar
Sept. 5, 2012 *
Raster Layer from Grid Data Example
http://usgs.demo.opengeo.org/ol-raster/examples/raster-grid-layer.html
■ skip live demo
CDI Webinar
Sept. 5, 2012 *
Raster Operations Example
http://usgs.demo.opengeo.org/ol-raster/examples/raster-operations.html
■ skip live demo?
■ image
enhancement
CDI Webinar
Sept. 5, 2012 *
Magnify Raster Example
http://usgs.demo.opengeo.org/ol-raster/examples/raster-magnify.html
■ skip live demo
CDI Webinar
Sept. 5, 2012 *
Raster Query Example
http://usgs.demo.opengeo.org/ol-raster/examples/raster-query.html
■ Query elevation &
landcover data
with mouse
moves
■ Responsive!
CDI Webinar
Sept. 5, 2012 *
Raster Download Example
http://usgs.demo.opengeo.org/ol-raster/examples/raster-download.html
■ Stitches tiles
■ Simplifies map
export process
■ 1-click download
of WYSIWYG
map image
CDI Webinar
Sept. 5, 2012 *
PDF Download Example
http://usgs.demo.opengeo.org/ol-raster/examples/raster-pdf.html
■ same as previous
■ Fully client-side
PDF generation!
■ annotations
CDI Webinar
Sept. 5, 2012 *
Raster Statistics Example
http://usgs.demo.opengeo.org/ol-raster/examples/raster-stats.html
■ Summarize
landcover stats
over map extent
CDI Webinar
Sept. 5, 2012 *
Raster Zonal Statistics
http://usgs.demo.opengeo.org/ol-raster/examples/raster-zonal-stats.html
■ Generate zonal
stats using
landcover and
elevation
CDI Webinar
Sept. 5, 2012 *
Raster Mask Statistics
http://usgs.demo.opengeo.org/ol-raster/examples/raster-mask.html
■ Use a vector
layer to mask out
a raster layer for
stats generation
CDI Webinar
Sept. 5, 2012 *
Use Cases Satisfied
■ NLCD Clip/Statistics
■ Decision Support System - Raster
Scoring
■ Better distribution of data within a
census block by intersecting with
NLCD urban area classes
■ Export map, PDF print
■ and many more...
CDI Webinar
Sept. 5, 2012 *
Under the hood...
To be mentioned before handoff to Tim:
CDI Webinar
Sept. 5, 2012 *
OpenLayers Raster Architecture
CDI Webinar
Sept. 5, 2012 *
OpenLayers Raster Architecture
Kidding,
It's really
only this
part
CDI Webinar
Sept. 5, 2012 *
OpenLayers.Raster.Grid
Representation of data in a regular lattice.
CDI Webinar
Sept. 5, 2012 *
OpenLayers.Raster.Operation
Allows additional rasters to be created using cell
based operations. (think band math)
CDI Webinar
Sept. 5, 2012 *
OpenLayers.Layer.Raster
For display of raster data as a normal map layer.
CDI Webinar
Sept. 5, 2012 *
Get this Code!
■ Tim's OpenLayers Raster branch on GitHub
https://github.com/tschaub/openlayers/tree/raster
CDI Webinar
Sept. 5, 2012 *
OpenLayers Resources
■ OpenLayers on github
https://github.com/openlayers
■ OpenLayers examples
http://openlayers.org/dev/examples/example-list.html
■ OpenLayers API
http://dev.openlayers.org/docs/files/OpenLayers-js.html
■ OpenLayers books
http://vasir.net/openlayers_book/
http://www.packtpub.com/openlayers-create-gis-web-applications-cookbook/book
CDI Webinar
Sept. 5, 2012 *
Contacts
Cassandra Ladino
Eastern Geographic Science Center, USGS
ccladino@usgs.gov
John Aguinaldo
Harris IT Services contractor to the Eastern Geographic Science Center
jagui@usgs.gov
CDI Webinar
Sept. 5, 2012 *