14
Open Source GIS Discussion and Examples CSIG 06 – 16Aug2006 Chris Condit ([email protected])

Open Source GIS Discussion and Examples CSIG 06 – 16Aug2006 Chris Condit ([email protected])

Embed Size (px)

Citation preview

Page 1: Open Source GIS Discussion and Examples CSIG 06 – 16Aug2006 Chris Condit (condit@sdsc.edu)

Open Source GIS

Discussion and ExamplesCSIG 06 – 16Aug2006

Chris Condit ([email protected])

Page 2: Open Source GIS Discussion and Examples CSIG 06 – 16Aug2006 Chris Condit (condit@sdsc.edu)

Overview Slide

• Why bother with open source GIS?

• Discuss some tools

• Hands on– OGR– MapServer– OpenEV

Page 3: Open Source GIS Discussion and Examples CSIG 06 – 16Aug2006 Chris Condit (condit@sdsc.edu)

What’s the point?

• Licensing costs

• Smaller footprint

• Less resource intensive

• Active and responsive community

• Somewhat more accessible

• Embracing OGC standards

• Not for everyone

Page 4: Open Source GIS Discussion and Examples CSIG 06 – 16Aug2006 Chris Condit (condit@sdsc.edu)

Useful, free tools

• FWTools (http://fwtools.maptools.org)– PROJ.4, OpenEV, gdal/ogr

• MapServer (http://mapserver.gis.umn.edu)

• MS4W (http://www.maptools.org/ms4w)

• PostGIS (http://www.postgis.org)

• Google Earth (http://earth.google.com)

Page 5: Open Source GIS Discussion and Examples CSIG 06 – 16Aug2006 Chris Condit (condit@sdsc.edu)

Google Earth hubbub

“…not to show geographical information but to show the world information geographically.”

Michael Jones

Page 6: Open Source GIS Discussion and Examples CSIG 06 – 16Aug2006 Chris Condit (condit@sdsc.edu)

Google Earth considerationsYes No

Visualization

Coolness

Imagery

Free (personal use)

Analysis

Editing

Extensible

Open source

Slow networks

Page 7: Open Source GIS Discussion and Examples CSIG 06 – 16Aug2006 Chris Condit (condit@sdsc.edu)

GML vs KML

• Similar, but different

KML is a dirty mix of style and formatting. Be careful.

Page 8: Open Source GIS Discussion and Examples CSIG 06 – 16Aug2006 Chris Condit (condit@sdsc.edu)

Exercise

• Using OGR to create KML

• http://aqua.sdsc.edu/csig/KMLTutorial.html

Page 9: Open Source GIS Discussion and Examples CSIG 06 – 16Aug2006 Chris Condit (condit@sdsc.edu)

MapServer

• Implements many OGC standards– WMS, WFS, WCS– Production and consumption

• Online GIS considerations

• MapScript (iobis)

• MapServer in tandem with applications

Page 10: Open Source GIS Discussion and Examples CSIG 06 – 16Aug2006 Chris Condit (condit@sdsc.edu)

MapServer Exercise

• http://aqua.sdsc.edu/csig/mapdata.zip

• C:\tools\Apache2\htdocs\mapdata

• “Quickly” publishing GIS data online

• EXPRESSION ([MinDO2] < .5)• EXTENT -10000000 -10000000 10000000 10000000 • PROJECTION "proj=laea" "lat_0=-90" END

Page 11: Open Source GIS Discussion and Examples CSIG 06 – 16Aug2006 Chris Condit (condit@sdsc.edu)

Grabbing PostGIS data

LAYER

CONNECTIONTYPE OGR

PROJECTION

"init=epsg:4326“

END

NAME "eezs“

CONNECTION "PG:host=aqua.sdsc.edu user=csig password=csig dbname=csig“

DATA "continents“

STATUS DEFAULT

TYPE POLYGON

CLASS

OUTLINECOLOR 0 255 0

SIZE 3

END

END

Page 12: Open Source GIS Discussion and Examples CSIG 06 – 16Aug2006 Chris Condit (condit@sdsc.edu)

Application Server

Geospatial Mediator

iOBIS Overview (Custom MapServer App)

UMN MapServer

PostGIS

Oracle Spatial

MySQL

ESRI Formats

OGC Formats

Client Layer Application Layer Data Layer

Google Maps Client

Statistical Package

(R, MATLAB, etc)

SOA Consumer

Registration Tool

GIS Translator

Ontological Knowledge Base

Page 13: Open Source GIS Discussion and Examples CSIG 06 – 16Aug2006 Chris Condit (condit@sdsc.edu)

OpenEV Demo

• Use the same data to create a static map in OpenEV.

Page 14: Open Source GIS Discussion and Examples CSIG 06 – 16Aug2006 Chris Condit (condit@sdsc.edu)

Grand Conclusions

• Questions

• Comments

• Post talk observations:– Quantum GIS will render PostGIS vector

layers in an ArcMap like interface.– GRASS is also an excellent GIS tool.