Top Banner
Using GeoServer with NASA World Wind Ilya Rosenfeld [email protected] October, 2012
13
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Using GeoServer with NASA WorldWind

Using GeoServer with NASA World Wind

Ilya [email protected]

October, 2012

Page 2: Using GeoServer with NASA WorldWind

● GeoServer overview● download● install and run stand-alone● install as Java web app● log into admin, explore● load and style data● publish WMS ● use WMS in World Wind ● beyond basic WMS

outline

Page 3: Using GeoServer with NASA WorldWind

● Java-based server for spatial data sharing, editing and analysis● extensively based on GeoTools library● widely deployed, commercially supported● reference implementation of OGC WMS, WFS and WCS● supports wide variety of vector and raster inputs● produces standards-based spatial web services and data formats● multi-platform, only requires a JVM, runs on cloud or on-premise● enterprise-grade security (container-level, LDAP integration, etc)● extensible using a variety of mechanisms● configuration and management REST API● caching capability using GeoWebCache● recently added processing capabilities using GeoScript● currently at version 2.2● free and open source, licensed under GPL 2

GeoServer overview

Page 4: Using GeoServer with NASA WorldWind

select a release● http://geoserver.org/display/GEOS/Stable

select a distribution● get the .war file ● get the native OS installer for your OS

get it● save locally● unznip

extensions● how about WPS?

download

Page 5: Using GeoServer with NASA WorldWind

assuming Mac OS X:

go to GeoServer admin app:

● http://localhost:8080/geoserver

install and run stand-alone

Page 6: Using GeoServer with NASA WorldWind

prerequisites● servlet container (Tomcat 7 in this example)● 'admin' user added to 'manager-gui' role in tomcat-users.xml ● Tomcat home directory mapped to /Library

run Tomcat, deploy GeoServer web app● in terminal > /Library/Tomcat/bin/startup.sh● in browser: http://localhost:8080/manager● map context, point to WAR file and click "Deploy"● run GeoServer context

go to GeoServer admin app● http://localhost:8080/geoserver

install and run as Java web app

Page 7: Using GeoServer with NASA WorldWind

admin interface

logging in● credentials: admin/geoserver

quick overview● status● service capabilities● data● services● settings● tile caching● settings● security● demos

Page 8: Using GeoServer with NASA WorldWind

GeoServer data directory● use /Applications/GeoServer.app/Contents/Resources/Java/data_dir/

or ● set GEOSERVER_DATA_DIR variable to desired location

or ● create a database or file data store

examine some Styled Layer Descriptor (SLD) files● simple_roads● population

load and style data

Page 9: Using GeoServer with NASA WorldWind

layer settings● data● publishing● tile caching

WMS Capabilities● http://localhost:8080/geoserver/ows?service=wms&version=1.3.0

&request=GetCapabilities● review

publish WMS

Page 10: Using GeoServer with NASA WorldWind

run World Wind WMS Layer Manager app● http://worldwind.arc.nasa.gov/java/1.2.0/demos/WMSLayerManager.jnlp● if prompted, install Java run-time and accept defaults● .jnlp file will get downloaded and executed● find the layer window and hit '+'● add GeoServer WMS Capabilities URL

○ http://localhost:8080/geoserver/ows?service=wms&version=1.3.0&request=GetCapabilities

● select desired layers○ example: tiger-roads○ zoom in

.. or consume KML● get KML via WMS .... &format=application/vnd.google-earth.kml+xml● run http://worldwind.arc.nasa.gov/java/1.2.0/demos/KMLViewer.jnlp● browse to KML file

use WMS in World Wind

Page 11: Using GeoServer with NASA WorldWind
Page 12: Using GeoServer with NASA WorldWind

World Wind SDK● existing support for multiple services and formats GeoServer

already produces: GeoRSS, WFS, GML, GeoJSON, GeoRSS● OGC WPS support needed!

GeoServer extensibility● any input and output drivers can be developed● low level GeoTools implementation options● higher level GeoScript implementation options

DDS/BIL extension for GeoServer● download and usage instructions:

http://docs.geoserver.org/stable/en/user/community/dds/index.html

beyond basic WMS

Page 13: Using GeoServer with NASA WorldWind

http://opengeo.org