Lecture OSSIM

24
- Osgeo Live CD / DVD - OSSIM overview - Ossimplanet and its applications Advanced Geospatial Modeling – MEA792 Helena Mitasova Lecture by Margherita Di Leo

description

Lecture on OSSIM and Ossimplanet at NC State University

Transcript of Lecture OSSIM

Page 1: Lecture OSSIM

- Osgeo Live CD / DVD

- OSSIM overview

- Ossimplanet and its applications

Advanced Geospatial Modeling – MEA792 Helena MitasovaLecture by Margherita Di Leo

Page 2: Lecture OSSIM

- What is it?

OSGeo-Live is a self-contained bootable DVD, USB thumb drive or Virtual Machine based on Xubuntu (xfce as desktop manager), that allows you to try a wide variety of open source geospatial software without installing anything. It is composed entirely of free software, allowing it to be freely distributed, duplicated and passed around.

It provides pre-configured applications for a range of geospatial use cases, including storage, publishing, viewing, analysis and manipulation of data. It also contains sample datasets and documentation.

To try out the applications, simply:

1. Insert DVD or USB thumb drive in computer or virtual machine. 2. Reboot computer. (verify boot device order) 3. Press "Enter" to startup & login. 4. Trial applications from the "Geospatial" menu.

Osgeo Live CD / DVD

Page 3: Lecture OSSIM

- Where can I download it?

http://download.osgeo.org/livedvd/

- Why is it useful?

Live DVD provides a number of open source geospatial tools, Desktop GIS, Databases, Web services. Everything is compiled and ready to use. Also, there are sample datasets and tutorials to get started.

- How I can find help?

Osgeo website:http://wiki.osgeo.org/wiki/Live_GIS_Disc_FAQMailing list archive:http://news.gmane.org/gmane.comp.gis.osgeo.livedemoIRC:Server: irc.freenode.net, channel: #osgeolive

Osgeo Live CD / DVD

Page 4: Lecture OSSIM

- What's the Live user name and password?

user/user. See the passwords.txt file on the desktop for application specific database user/passwords.

- What's the root password?

There isn't one. To run commands as root type `sudo <command>` in a terminal. To become root type `sudo - su`. Enter the user's password when prompted.

Osgeo Live CD / DVD

Page 5: Lecture OSSIM

OSSIM overview

Page 6: Lecture OSSIM

”Awesome”

Open Source Software Image Map

OSSIM is a high performance software system for remote sensing, image processing, geographical information systems and photogrammetry.

It is an open source software project maintained at www.ossim.org and has been under active development since 1996.

Ossim overview

Page 7: Lecture OSSIM

Platform independent:

● Linux

● Mac OSX

● Windows

● Solaris

● IBM AIX - (xlc compiler)

Ossim overview

Page 8: Lecture OSSIM

Capabilities

• Parallel processing capabilities with mpi libraries• Rigorous sensor modeling• Universal Sensor Models (RPCs)• Wide range of Map Projections and Datums supported• Non-destructive, parameter based image chains• Native file access• Precision Terrain correction and orthorectification• Advanced Mosaicing, compositing, and fusions• Elevation support• Vector and shapelib support• Projection and resolution independent• Equation editors• Histogram matching and tonal balancing

Ossim overview

Page 9: Lecture OSSIM

The architecture of the library supports parallel processing with mpi, a dynamic plugin architecture, and dynamically connectable objects allowing rapid prototyping of custom image processing chains.

Ossim overview

Page 10: Lecture OSSIM

Ossim overview

Image chains

Dynamically Connectable Image Chains

Source > Models > Filters > Combiners > Output

Parameter Based, Non-Destructive Processing

Page 11: Lecture OSSIM

Around the core ossim library, the software distribution includes a large number of command line utilities that can be easily scripted for batch production systems and higher level GUI applications – imagelinker, and iview. Additionally, bindings have been generated for other languages.

See "running imagelinker" (Massimo Di Stefano) at:http://www.geofemengineering.it/GeofemEngineering/Blog/Voci/2010/3/15_OSGEO_-_Live_-_DVD_-_%22running_imagelinker%22.html

Ossim overview

Page 12: Lecture OSSIM

Also included in the distribution are the osgPlanet and osgPlanet_qt modules.These modules build on top of OSSIM and OpenSceneGraph to provide geospatially accurate 3D visualization capabilities.

Ossim overview

Page 13: Lecture OSSIM

Website:http://www.ossim.org/OSSIM/OSSIM_Home.html

Tutorials and data sample:http://download.osgeo.org/ossim/

Mailing list:https://lists.sourceforge.net/lists/listinfo/ossim-developer

Tracker and wiki:http://trac.osgeo.org/ossim/

IRC:Server: irc.freenode.net; Channel: #ossimplanet

Ossim overview

Page 14: Lecture OSSIM

OssimPlanet and its applications

Page 15: Lecture OSSIM

OssimPlanet is a 3D Geospatial viewer built on top of OpenSceneGraph, Trolltech QT and OSSIM.

OssimPlanet extends geospatial viewing with access to native geospatial formats, Elevation data sets, and OGC Web Mapping Services (WMS) interfaces over the web.

osgPlanet is a C++ library and includes ossimplanetviewer as a demonstration.

Ossimplanet and its applications

Page 16: Lecture OSSIM

The current version of OssimPlanet supports: ● Staging of local geospatial files;

● Remote access of OGC WMS layers;

● Direct access to WorldWind protocol servers;

● Navigation to street addresses through the geocoding menu item;

● osgEphemeris has also been recently incorporated providing a skydome and current time/location positioning of the sun, moon, and stars.

Ossimplanet and its applications

Page 17: Lecture OSSIM

Ossimplanet and its applications

Supported Data Sets:

●OSSIM Geo-Spatial Formats

●GDAL Geo-Spatial Formats

●OGC WMS Interface

●WorldWind Server (a Web Mapping Service server)

●Pixia NUI format (proprietary file format)

Page 18: Lecture OSSIM

Ossimplanet and its applications

Requirements:OssimPlanet currently requires a 3 button mouse for navigation.

Event Action

Left mouse drag Rotates the globe

Right mouse drag Zoom in, zoom out

Arrow keys Start constant rotation (accumulates with additional key presses)

Return key Freezes all motions

Space bar Resets view to default position

W key Toggles between textured, wire frame and point mode

L key Toggles directed light source (currently disabled)

Ctrl+F Toggles full screen mode

Page 19: Lecture OSSIM

Ossimplanet and its applications

Preferences:

Enable HUDHeads Up Display includes the cross hairs at the center of the image and the latitude, longitude, elevation, and height readout at the bottom left hand corner of the display.

Enable elevationTurns on or off elevation processing for topographic relief and visualization in ossimPlanet. Elevation processing requires that elevation data sets be staged through the Application Support directory for ossim. DTED and SRTM file structures for elevation can be automatically parsed and retrieved by the software.

Elevation multiplierA pull down menu applies an elevation scaling factor. The higher the number, the more exaggerated the topography.

Page 20: Lecture OSSIM

Ossimplanet and its applications

Enable ephemerisThis checkbox enables the osgEphemeris library. If this option is enabled, the system date and time as the well as the viewers location are used to render a view of the heavens. The sun and the moon are rendered in their relative positions against sky dome.

WMSThe OGC Web Mapping Services interface is supported in ossimPlanet. The menu item will open a dialog box for getting WMS access to online servers.

Page 21: Lecture OSSIM

Ossimplanet and its applications

Open SessionA Session is an xml file that contains the state of the program including data that has been loaded and the currrent view. The Open Session command retrieves this file from disk, loads the data, and navigates to the saved view.

Goto Lat LonEntering a Latitude, Longitude and optionally an altitude will navigate to that position.

Some screenshots of OssimPlanet (source: Massimo Di Stefano)http://web.me.com/epiesasha/PlanetSasha/Gallery.html

Page 22: Lecture OSSIM

Ossimplanet and its applications

PlanetSasha: PlanetSasha is a project started thanks to the OSGEO foundation and Google-Summer-of-Code initiative.http://web.me.com/epiesasha/PlanetSasha/Project.html

GUI description:http://web.me.com/epiesasha/PlanetSasha/PlanetSasha.html

Developer : Massimo Di Stefano

Mentor : Mark Lucas

Aim of the project :Development of a plug-in for the OssimPlanet application for interface with other Open Source G.I.S software such as Grass and Qgis. This allows to export the elevation and texture data from Grass/Qgis to OssimPlanet. The result is to synchronize the grass/qgis maps canvas extent with the Ossimplanet scene.

Page 23: Lecture OSSIM

Ossimplanet and its applications

Application Author: Massimo Di Stefano

Using a raster elevation map as base layer, display it in a 2D gui and use the mouse movement to write a tour on the map. The tour has been processed and the output is an elevation profile and the instruction to execute the tour in ossimplanet.

http://www.youtube.com/watch?v=8rWqUCPRHaY

Page 24: Lecture OSSIM

License of this document

             This work is licensed under a Creative Commons License.                         http://creativecommons.org/licenses/by­sa/3.0/

                                      2010, Margherita Di Leo, Italy                                      dileomargherita AT gmail DOT com

License details: Attribution­ShareAlike 3.0:You are free:  * to Share — to copy, distribute and transmit the work  * to Remix — to adapt the workUnder the following conditions:  * Attribution — You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).  *Share Alike — If you alter, transform, or build upon this work, you may distribute the resulting work onlyunder the same, similar or a compatible license.With the understanding that:  * Waiver — Any of the above conditions can be waived if you get permission from the copyright holder.  * Other Rights — In no way are any of the following rights affected by the license:       o Your fair dealing or fair use rights;       o The author's moral rights;       o Rights other persons may have either in the work itself or in how the work is used, such as publicity or privacy rights.