This document provides an overview and instructions for using GeoServer to publish spatial data as web services that can be consumed by NASA World Wind. It describes how to download, install, and run GeoServer both in standalone and Java web app modes. It also explains how to load and style data, publish it as a WMS, and add the WMS as a layer in World Wind. Finally, it discusses some ways GeoServer could be extended, like adding support for OGC WPS or new data formats.
08448380779 Call Girls In Civil Lines Women Seeking Men
Using GeoServer with NASA World Wind to Publish and Style Spatial Data
1. Using GeoServer with NASA World Wind
Ilya Rosenfeld
irosenfeld@opengeo.org
October, 2012
2. outline
● 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
3. GeoServer overview
● 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
4. download
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?
5. install and run stand-alone
assuming Mac OS X:
go to GeoServer admin app:
● http://localhost:8080/geoserver
6. install and run as Java web app
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
7. admin interface
logging in
● credentials: admin/geoserver
quick overview
● status
● service capabilities
● data
● services
● settings
● tile caching
● settings
● security
● demos
8. load and style data
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
10. use WMS in World Wind
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
11.
12. beyond basic WMS
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