OSGeo Mashup A practical look at 5 Open

  • Slides: 26
Download presentation
OSGeo Mashup : A practical look at 5 Open Source GIS applications GRASS/QGIS, GDAL/OGR,

OSGeo Mashup : A practical look at 5 Open Source GIS applications GRASS/QGIS, GDAL/OGR, POSTGIS, MAPSERVER, GMT Presented at OSCON 2006 by Aaron Racicot – GIS Programmer, Ecotrust aaronr@ecotrust. org July 27 th, 2006 A Citizen of Salmon Nation

GIS – Geographic Information Systems Maps – Print / Electronic Cartography Spatial Data Creation/Collection

GIS – Geographic Information Systems Maps – Print / Electronic Cartography Spatial Data Creation/Collection GIS Spatial Processing Spatial Modeling Spatial Analysis Reasoning with a Sense of Place

Ecotrust - Salmon Nation

Ecotrust - Salmon Nation

OSGeo – Open Source Geospatial Foundation Website Committee System Administration Committee Fundraising Committee Education

OSGeo – Open Source Geospatial Foundation Website Committee System Administration Committee Fundraising Committee Education and Curriculum Committee Incubation Committee Public Geospatial Data Committee Promotion and Visibility Committee General Members Voting Members Board of Directors

OSGeo – Open Source Geospatial Foundation OSGeo Mission Statement To support the development of

OSGeo – Open Source Geospatial Foundation OSGeo Mission Statement To support the development of open source geospatial software, and promote its widespread use. OSGeo Goals • To provide resources for foundation projects - eg. infrastructure, funding, legal. • To promote freely available geodata - free software is useless without data. • To promote the use of open source software in the geospatial industry (not just foundation software) - eg. PR, training, outreach. • To encourage the implementation of open standards and standards-based interoperability in foundation projects. • To ensure a high degree of quality in foundation projects in order to build and preserve the foundation "brand". • To make foundation and related software more accessible to end users - eg. binary "stack" builds, cross package documentation. • To provide support for the use of OSGeo software in education via curriculum development, outreach, and support. • To encourage communication and cooperation between OSGeo communities on different language (eg. Java/C/Python) and operating system (eg. Win 32, Unix, Mac. OS) platforms. • To support use and contribution to foundation projects from the worldwide community through internationalization of software and community outreach. • To operate an annual OSGeo Conference, possibly in cooperation with related efforts (eg. EOGEO). • To award the Sol Katz award for service to the OSGeo community.

OSGeo – Open Source Geospatial Foundation Released From Incubation Mapbender Incubator Projects Mapbuilder GDAL/OGR

OSGeo – Open Source Geospatial Foundation Released From Incubation Mapbender Incubator Projects Mapbuilder GDAL/OGR Geo. Tools GRASS Map. Server OSSIM Map. Guide Open Source

OSGIS Software Stacks… Desktop Software Stack Generic Stack FOSS 4 G Stack Grouping Application

OSGIS Software Stacks… Desktop Software Stack Generic Stack FOSS 4 G Stack Grouping Application QGis, Grass, OSSIM, JUMP, UDig User Interface Application Dev. Environment Eclipse, QT, Open. GL, Tkl/Tk High Level Utilities Geo. Tools, Postgresql, Post. GIS High Level Scripting Languages PHP, PERL, Python Low Level Utilities Shplib, GEOS, OGR/GDAL, R-Statistics, GMT Data Processing Low Level Languages C, C++, Java, Fortran System Software Operating System Linux, Darwin, Cygwin Hardware Drivers 32 -64 bit processor drivers Data Serving

OSGIS – Desktop Applications GRASS GIS

OSGIS – Desktop Applications GRASS GIS

OSGIS Software Stacks. . . Server Web-based Software Stack Generic Stack FOSS 4 G

OSGIS Software Stacks. . . Server Web-based Software Stack Generic Stack FOSS 4 G Stack Grouping Client Side Browser Firefox, Safari, Netscape User Interface Client Side Scripting Java Script, Java Applets ~~~~~~WEB~~~~~~ Server Side Application Chameleon, Cartoweb 3, Map. Guide, Mapbender, Mapbuilder, Custom High Level Utilities Mapserver, Map. Guide, High Level Scripting Languages PHP, PERL, Python Low Level Utilities Shplib, GEOS, OGR/GDAL, Post. GIS, R-Statistics, GMT Low Level Languages C, C++, Java, Fortran Operating System/Drivers Linux, Darwin, Cygwin Hardware Drivers 32 -64 bit processor drivers Data Serving Data Processing System Software

OSGIS - Server Tools GDAL/OGR GRASS GIS R-Statistics

OSGIS - Server Tools GDAL/OGR GRASS GIS R-Statistics

Desktop Raster/Vector Processing GRASS/GDAL/OGR - Data Crunching § § § Both Raster and Vector

Desktop Raster/Vector Processing GRASS/GDAL/OGR - Data Crunching § § § Both Raster and Vector support Very powerful tool set (similar to Arc. INFO/Arc. GRID) Traditionally Poor GUI, but getting better Very fast Cross platform QGIS/GDAL/OGR – Data Viewing/Editing § § Both Raster and Vector support Nice GUI Cross platform QGIS can integrate with GRASS

GRASS-Raster Grass Raster Processing GDAL

GRASS-Raster Grass Raster Processing GDAL

GRASS-Vector Grass Vector Processing OGR

GRASS-Vector Grass Vector Processing OGR

QGIS QGis 0. 7. 4 QGis 0. 8. 0 pre 1

QGIS QGis 0. 7. 4 QGis 0. 8. 0 pre 1

Mapserver Web-Based Interface Chameleon Mapserver framework Spatially constrained queries and scenarios GMT generated graphics

Mapserver Web-Based Interface Chameleon Mapserver framework Spatially constrained queries and scenarios GMT generated graphics AJAX-User Based Data Filter Post. GIS Spatial Data

Now what…. How is this useful to you? ? ? ?

Now what…. How is this useful to you? ? ? ?

Personal Use…. Navigating Wilderness Areas with GRASS Classification Cost Surface Thanks to Dylan Beaudette

Personal Use…. Navigating Wilderness Areas with GRASS Classification Cost Surface Thanks to Dylan Beaudette : http: //casoilresource. lawr. ucdavis. edu/drupal/node/244

Creating Data…. Digitizing, Modifying, extracting… Create new shapes Context Layer Viewing Create new attributes

Creating Data…. Digitizing, Modifying, extracting… Create new shapes Context Layer Viewing Create new attributes

Transforming Data…. How to get coordinates in UTM to Geo-NAD 83?

Transforming Data…. How to get coordinates in UTM to Geo-NAD 83?

Web enable standard geo-data….

Web enable standard geo-data….

Web enable non-standard geo-data…. How to display and interact with model data? GIS Model

Web enable non-standard geo-data…. How to display and interact with model data? GIS Model Results Web Based Real -Time GIS Model

Spatially enable your database…. How to select data within a polygon area? Intersects Distance(geometry,

Spatially enable your database…. How to select data within a polygon area? Intersects Distance(geometry, geometry) Equals(geometry, geometry) Disjoint(geometry, geometry) Intersects(geometry, geometry) Touches(geometry, geometry) Crosses(geometry, geometry) Within(geometry A, geometry B) Overlaps(geometry, geometry) Contains(geometry A, geometry B) Intersects(geometry, geometry) Relate(geometry, intersection. Pattern. Matrix) Relate(geometry, geometry) Geometry Definition Centroid(geometry) Area(geometry) Length(geometry) Point. On. Surface(geometry) Boundary(geometry) Buffer(geometry, double, [integer]) Convex. Hull(geometry) Intersection(geometry, geometry) Sym. Difference(geometry A, geometry B) Geom. Union(geometry, geometry) Geom. Union(geometry set) Mem. Geom. Union(geometry set)

Display unique data…. How can I plot geospatial and model data? #!/bin/csh # #

Display unique data…. How can I plot geospatial and model data? #!/bin/csh # # GMT Example 24 $Id: job 24. csh, v 1. 5 2006/05/08 01: 35: 12 # # Purpose: Extract subsets of data based on geospatial criteria # GMT progs: gmtselect, pscoast, psxy, minmax # Unix progs: echo, cat, awk # # Highlight oceanic earthquakes within 3000 km of Hobart and > 1000 km echo "147: 13 -42: 48 3000 Hobart" >! point. d cat << EOF >! dateline. d > Our proxy for the dateline 180 0 180 -90 EOF set R = `minmax -I 10 oz_quakes. d` pscoast $R -JM 9 i -K -Gtan -Sdarkblue -Wthin, white -Dl -A 500 -Ba 20 f 10 g 10 We. Sn -U"Example 24 in Cookbook" >! example_24. ps psxy -R -J -O -K oz_quakes. d -Sc 0. 05 i -Gred >> example_24. ps gmtselect oz_quakes. d -L 1000/dateline. d -Nk/s -C 3000/point. d -fg -R -Il | psxy -R -JM -O -K -Sc 0. 05 i -Ggreen >> example_24. ps awk '{print $1, $2, 0, $3}' point. d | psxy -R -J -O -K -SE -Wfat, white >> example_24. ps awk '{print $1, $2, 14, 0, 1, "LT", $4}' point. d | pstext -R -J -O -K -Gwhite -D 0. 1 i/-0. 1 i >> example_24. ps psxy -R -J -O -K point. d -Wfat, white -Sx 0. 2 i >> example_24. ps psxy -R -J -O -M dateline. d -Wfat, white -A >> example_24. ps rm -f point. d dateline. d. gmt* The Generic Mapping Tools http: //gmt. soest. hawaii. edu/

Where is Ecotrust going…DST’s Web User Request Real-Time Web Decision Support Tools Web Services

Where is Ecotrust going…DST’s Web User Request Real-Time Web Decision Support Tools Web Services Data Gathering Data Formatting Data Processing Map Formatting Static Data Storage Map Production Web User Response The Problem Is The Arrows! Connecting a web request to server side GIS analysis is tricky

DST using GRASS/Mapserver Siuslaw Watershed Restoration Initiative Data Gathering Data Formatting Data Processing PHP

DST using GRASS/Mapserver Siuslaw Watershed Restoration Initiative Data Gathering Data Formatting Data Processing PHP Mapscript GRASS

Where to go for more info Ecotrust Ø http: //www. ecotrust. org OSGeo Ø

Where to go for more info Ecotrust Ø http: //www. ecotrust. org OSGeo Ø http: //www. osgeo. org OSGIS Ø Maptools - http: //www. maptools. org Ø Free. GIS - http: //freegis. org/ Ø Open Source GIS - http: //opensourcegis. org/ Standards Ø OGC - http: //www. opengeospatial. org/ Desktop Ø GRASS - http: //grass. itc. it/ Ø QGIS - http: //qgis. org/ Ø UDIG - http: //udig. refractions. net/confluence/display/UDIG/Home Ø JUMP – http: //jump-project. org/ Ø OSSIM - http: //www. ossim. org/Welcome. html Ø Open. EV - http: //openev. sourceforge. net/ Server/Web Ø Mapserver - http: //mapserver. gis. umn. edu/ Ø Map. Bender - http: //www. mapbender. org Ø Map. Builder - http: //docs. codehaus. org/display/MAP/Home Ø Map. Guide OS - https: //mapguide. osgeo. org/ Tools Ø Post. GIS - http: //postgis. refractions. net/ Ø Remote Sensing - http: //remotesensing. org/tiki-index. php Ø GDAL/OGR - http: //gdal. maptools. org/index. html Ø PROJ. 4 - http: //proj. maptools. org/ Ø R-Statistics - http: //www. r-project. org/ Ø GMT - http: //gmt. soest. hawaii. edu/