Web Mapping with Open Source GIS Software   Best practices from the PSU Experience David Percy Geospatial Data Manager, Ge...
Components of Open Source  Web Mapping The geospatial “LAMP” stack <ul><li>L – Linux </li></ul><ul><li>A – Apache </li></u...
Open Source Components <ul><li>GDAL – Raster Library </li></ul><ul><li>OGR – Vector Library </li></ul><ul><li>GD – Graphic...
A closer look at the “stack” <ul><li>Front end –  </li></ul><ul><ul><li>PHP/Mapscript with Javascript </li></ul></ul><ul><...
The Big Choice: What front end? <ul><li>Percy facilitates open source sessions  </li></ul><ul><ul><li>Ka-Map </li></ul></u...
Special features: links from each glacier to “assets” database containing airphotos, oblique photos, and satellite data us...
Special features: links from geologic map units to map catalog, lexicon of stratigraphic names, and more detailed data on ...
Special features: uses Yahoo geocoder to zoom to  street address. Passed as coordinates, returned as XML to be parsed... S...
 
 
 
Components of the National Geologic Map Database geographic search: Openlayers Javascript thick client Kamap Tiling engine...
<ul><li>Querying, like a big submit button </li></ul><ul><li>Capture image pixel clicked on, x, y </li></ul><ul><li>Conver...
Conclusions <ul><li>Open Source Web Mapping is reliable and proven </li></ul><ul><li>Be careful what Open Source project y...
DEMOS <ul><li>http://Glaciers.us </li></ul><ul><li>http://NGMDB. usgs . gov </li></ul><ul><li>http://www.oregongeology.com...
Data Streams <ul><li>End of Monolithic Web Apps </li></ul><ul><li>Open Geospatial Consortium (OGC)‏ </li></ul><ul><ul><li>...
Upcoming SlideShare
Loading in …5
×

Os Percy

1,107 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,107
On SlideShare
0
From Embeds
0
Number of Embeds
33
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Os Percy

  1. 1. Web Mapping with Open Source GIS Software Best practices from the PSU Experience David Percy Geospatial Data Manager, Geology Department Portland State University With gratitude to Morgan Harvey, Eric Hanson, Nate Davenport, Cris Holm, Tim Welch, and Will Garrick Funding provided by many sources, including NASA, NSF, Oregon Dept of Geology, US Geologic Survey OSCON 2007
  2. 2. Components of Open Source Web Mapping The geospatial “LAMP” stack <ul><li>L – Linux </li></ul><ul><li>A – Apache </li></ul><ul><li>M – MySQL </li></ul><ul><li>P – PHP </li></ul><ul><li>L – Linux </li></ul><ul><li>A – Apache </li></ul><ul><li>M – MapServer </li></ul><ul><li>P – PostGIS </li></ul>
  3. 3. Open Source Components <ul><li>GDAL – Raster Library </li></ul><ul><li>OGR – Vector Library </li></ul><ul><li>GD – Graphics Creation </li></ul><ul><li>Proj.4 – Coordinate Systems </li></ul><ul><li>FreeType – Nice fonts! </li></ul><ul><li>GEOS – Geometry Engine </li></ul><ul><li>Shapelib – Shapefile library </li></ul>
  4. 4. A closer look at the “stack” <ul><li>Front end – </li></ul><ul><ul><li>PHP/Mapscript with Javascript </li></ul></ul><ul><ul><li>PHP/Mapscript </li></ul></ul><ul><ul><li>Pure CGI with template substitution </li></ul></ul><ul><li>Data in </li></ul><ul><ul><li>PostGIS or Shapefiles for vector </li></ul></ul><ul><ul><li>Geotiff, ECW or JPEG2000 for raster </li></ul></ul><ul><ul><li>Referenced and styled by MAPFILE </li></ul></ul><ul><li>Mapserver CGI built with all the right “includes” </li></ul><ul><li>Webserver – Apache </li></ul><ul><li>Operating system - Linux </li></ul>
  5. 5. The Big Choice: What front end? <ul><li>Percy facilitates open source sessions </li></ul><ul><ul><li>Ka-Map </li></ul></ul><ul><ul><li>Chameleon </li></ul></ul><ul><ul><li>MapBender, MapLab, FIST </li></ul></ul><ul><li>Grad Students revolt! </li></ul><ul><ul><li>Requirements defined </li></ul></ul><ul><ul><ul><li>Pan, Zoom, Query, some AJAX </li></ul></ul></ul><ul><ul><li>In a single weekend prototype developed </li></ul></ul><ul><li>Currently used in five production systems! </li></ul>
  6. 6. Special features: links from each glacier to “assets” database containing airphotos, oblique photos, and satellite data used for determinig temporal change during last century.
  7. 7. Special features: links from geologic map units to map catalog, lexicon of stratigraphic names, and more detailed data on state survey servers. Oh, and the GeoWiki!
  8. 8. Special features: uses Yahoo geocoder to zoom to street address. Passed as coordinates, returned as XML to be parsed... Serves up over 10GB of imagery, with loads times ~7 seconds
  9. 12. Components of the National Geologic Map Database geographic search: Openlayers Javascript thick client Kamap Tiling engine to pre-render the five zoom levels Mapserver Cartographic styling and rendering of maps Prototype Javascript library Perl and Oracle Database storage and retrieval
  10. 13. <ul><li>Querying, like a big submit button </li></ul><ul><li>Capture image pixel clicked on, x, y </li></ul><ul><li>Convert to coordinate system of data in PostGIS </li></ul><ul><li>Query PostGIS with SQL select statement </li></ul><ul><li>Return rows of any tables that intersect </li></ul>
  11. 14. Conclusions <ul><li>Open Source Web Mapping is reliable and proven </li></ul><ul><li>Be careful what Open Source project you align with </li></ul><ul><ul><li>Many projects are brilliant, but orphaned </li></ul></ul><ul><li>ARC will continue support and development of Map-Fu, both for map interfaces and backend datastreams. </li></ul>
  12. 15. DEMOS <ul><li>http://Glaciers.us </li></ul><ul><li>http://NGMDB. usgs . gov </li></ul><ul><li>http://www.oregongeology.com/sub/ogdc/ </li></ul><ul><li>http://www. oregongeology . com/sub/lidar/ </li></ul>
  13. 16. Data Streams <ul><li>End of Monolithic Web Apps </li></ul><ul><li>Open Geospatial Consortium (OGC)‏ </li></ul><ul><ul><li>WMS </li></ul></ul><ul><ul><li>WFS </li></ul></ul><ul><ul><ul><li>Query for capabilities </li></ul></ul></ul><ul><li>High Quality data streams from many sources, possibly aggregated through virtual globes, such as Google Earth, NASA WorldWind, etc </li></ul>

×