beginning to explore and use the...
TRANSCRIPT
21 October 2009 MN GISLIS Workshops 2009
Mashups, Web Services & KML
Beginning to Explore and Use the GeoWeb
AJ Wortley – UW State Cartographer’s Office David Hart – UW Sea Grant
21 October 2009 MN GISLIS Workshops 2009
Welcome – let’s get started• Laptop, wireless internet• Filezilla(?), Notepad or equiv., GE, if avail.• Open Workshop Home page ….{Type http://greatlakesmashups.net/MNworkshop/index.html
in your browser}
• Logistics – restrooms, break• Introduce instructors
21 October 2009 MN GISLIS Workshops 2009
Goals
• Give a sense of how Mashups fit into a Web 2.0 culture of technologies
• Give opportunity for hands-on experimentation
• Inspire ideas for uses in your work and give leading references to not only get started but continue exploring well beyond this workshop !
21 October 2009 MN GISLIS Workshops 2009
– Overview –
• Introduction to Web 2.0 and the GeoWeb– Introduction to Web 2.0, web services, KML– Introduction to Mashups Tutorial
• Planning a Lake Superior Boat Trip– Integrating KML & Web Services: 2 approaches– Integrated Mashup Tutorial
• Wrap-up, Questions & Evaluations
21 October 2009 MN GISLIS Workshops 2009
The Context
• Globalization• Shrinking resources• Information society• Moving from Maps as art and output …to geospatial as an organizing principle in
support of efficiency, economy, knowledge communication and measuring well-being
21 October 2009 MN GISLIS Workshops 2009
Author: Ludwig Gatke
URL: http://www.railsonwave.it/2007/1/2/web-2-0-map/
What is Web 2.0
Author: Tim O’Reilly
URL: http://www.oreillynet.com/oreilly/tim/news /2005/09/30/graphics/figure1.jpg
21 October 2009 MN GISLIS Workshops 2009
Author: Markus Angermeier
What is Web 2.0
21 October 2009 MN GISLIS Workshops 2009
Web 2.0According to Tim O'Reilly:
"Web 2.0 is the business revolution in the computer industry caused by the move to the Internet as platform, and an attempt to understand the rules for success on that new platform."
An IBM social-networking analyst, Dario de Judicibus, has proposed a different definition which focuses more on social interactions and on architectural implementation:"Web 2.0 is a knowledge-oriented environment where human interactions generate content that is published, managed and used through network applications in a service-oriented architecture."
Web 2.0 can be defined as "the philosophy of mutually maximizing collective intelligence and added value for each participant by formalized and dynamic information sharing and creation."
Wikipedia, the free encyclopedia
21 October 2009 MN GISLIS Workshops 2009
Web 2.0 – in other words
• Internet = platform –> connected devices• Government and corporate data combined
with user-created data (UCG,VGI, crowd- sourced)
• 2-way interaction encouraging interactive participation and collaboration
• Data push including authoring data as (re)usable web services
21 October 2009 MN GISLIS Workshops 2009
Web 2.0 Content Services
• Blog content• Web surveys, polls, feedback • Photo sharing, Video sharing• Searching, shopping• Social networking sites• Location, maps and mappable things… Enter Web services & Mashups
21 October 2009 MN GISLIS Workshops 2009
Web services
A Web service (also Web Service) is defined by the W3C as "a software system designed to support interoperable Machine to Machine interaction over a network." Web services are frequently just Web APIs that can be accessed over a network, such as the Internet, and executed on a remote system hosting the requested services.
{Note: API = Application Programming Interface }
21 October 2009 MN GISLIS Workshops 2009
“Open” Web services
• Differentiate … (all location examples)– Proprietary services (e.g. ArcWeb Services)– Commercial APIs (e.g. Yahoo/Google Maps)– Standards-based web services (OGC)
• Open Geospatial Consortium• + ISO, XML …• KML, WMS, WFS, WCS
– Defining Open … not always 100% clear
21 October 2009 MN GISLIS Workshops 2009
OGC Web service standardsOf primary interest…• Web Map Service (WMS) Image• Web Feature Service (WFS) Feature• RSS/GeoRSS Event• KML 3D View(not really a service, but we’ll come back.)
Of secondary interest …• Web Coverage Service (WCS) Grid• Catalog Service for Web (CSW) Catalog
21 October 2009 MN GISLIS Workshops 2009
On-line Mapping Applications and Open Geospatial Web ServicesInteractive ApplicationsWeb Browser Requirements for Interactive Maps:
Soil Landscapes of Canada
Version 3.0 Interactive Map
Version 2.2 Interactive Map
Soil Landscapes of Canada (SLCs) describe the major characteristics of soil and land for the whole country. SLCs were compiled at a scale of 1:1 million, and information is organized according to a uniform national set of soil and landscape criteria based on permanent natural attributes. More Info
Ecosystem FrameworkInteractive Map
Open Web Services: WMS GetCapabilities WFS GetCapabilities Ecozones Context Document
The National Ecological Framework provides a consistent, national spatial context within which ecosystems at various levels of generalization can be described, monitored, and reported on. The use of such a framework of standard ecological units provides for common communication and reporting between different jurisdictions and disciplines, and provides a common ground to report on the state of the environment and the sustainability of ecos
http://sis.agr.gc.ca/cansis/systems/online_maps.html
21 October 2009 MN GISLIS Workshops 2009
Map Web Service Authoring Tools
• MapServer• simpleWMS• GeoServer• Featureserver• …• Autodesk MapGuide & MapGuide Enterprise
• ArcGIS Server (ArcIMS, ArcObjects)
21 October 2009 MN GISLIS Workshops 2009
Web Service Clients• Web clients (Site, application, mashup)
– E.g. Targeted ads, RSS reader, weather site• Thin clients (software-lite, service-heavy)
– E.g. 2D: QGIS, gvSIG, UDig, Gaia– E.g. 3D: Worldwind, Google Earth,ArcGIS
Explorer • Thick clients (often traditional software)
– E.g. ArcGIS, AutoDesk Map, Intergraph
21 October 2009 MN GISLIS Workshops 2009
Map-based Web Services
• Map image• 3D image, photo image • Geocoding, reverse geo-coding• Gazetteer, place name search• Analytical processing services• Geo-tagged content services• Geosocial networks
21 October 2009 MN GISLIS Workshops 2009
Explore Our Planet ExploreOurPla.net has a OGC WMS database with +200 public servers and more than 30,000 layers. Most of them are viewable as base map and overlay with Google Maps as framework. You may combine them with transparency to visualize more information.An OGC Web Map Service (WMS) produces maps of spatially referenced data dynamically from geographic information. Combining different layers and extensions gives you a unique control and you will reach faster want you to achieve. In any case you can generate a handy geoLink or copy the URL as permalink to come back later or use the infomation about latitude, longitude, maps, overlays, etc in mails.
The picture above is only a preview of common used layers:
21 October 2009 MN GISLIS Workshops 2009
21 October 2009 MN GISLIS Workshops 2009
Mashup Concepts• Mashups – The merging of services and content
from multiple web sites in an integrated, coherent way is called a mashup.
• Most mashups do more than simply integrate services and content. Sites that do mashups typically add value. They benefit users in a way that's different and better than the individual services they leverage.
Source: http://java.sun.com/developer/technicalArticles/J2EE/mashup_1/
21 October 2009 MN GISLIS Workshops 2009
(Location) Map MashupsMashups are appearing on the web at an extremely fast rate. Three new mashups typically appear on the web each day. You can see some of the newest ones on the ProgrammableWeb site. The bulk of the mashups on the web involve the use of maps. Many of these sites use mapping services such as those provided by Yahoo Maps and Google Maps.
Source: http://java.sun.com/developer/technicalArticles/J2EE/mashup_1/
21 October 2009 MN GISLIS Workshops 2009
21 October 2009 MN GISLIS Workshops 2009
21 October 2009 MN GISLIS Workshops 2009
http://www.burbankca.org/planning/projectsmap.html
Mashups Utility in Planning & Management• Project communication
• Relevant regulations
• Participatory mapping
• Public outreach
• Combining multiple map services for visual interpretation
21 October 2009 MN GISLIS Workshops 2009
Enterprise Support
for Mashups
21 October 2009 MN GISLIS Workshops 2009
Exchange
(moving beyond shapefiles…)• First there was XML …
• Then there was GML …
• Now there is KML …
21 October 2009 MN GISLIS Workshops 2009
What is KML ?
• XML representation of a spatial perspective
• XML container format accomodating data, service and presentation elements
• Highly applicable in 3D visualization or 3D globe environments
21 October 2009 MN GISLIS Workshops 2009
KML Examples• WI Land Economic Inventory Maps Demo
~ Bordner Survey– http://sco.wisc.edu/maps/bordner_main.php
• Wisconsin Coastal Guide– http://www.wisconsincoastalguide.org/
• Great Lakes Information Network – http://gis.glin.net/
21 October 2009 MN GISLIS Workshops 2009
21 October 2009 MN GISLIS Workshops 2009
Wisconsin Coastal Guide – Map Features
• Land– Circle Tour route– Parks
• Shore– Beaches– Lighthouses
• Water– Shipwrecks
• Viewing– Panorama photos– Webcams
Use the map as a means to link to existing web content
21 October 2009 MN GISLIS Workshops 2009
21 October 2009 MN GISLIS Workshops 2009
KML Tools• Excel2KML, KML2SHP, SHP2KML…
Zonum Solutions’ KML Toolbox• ESRI export to KML• GeoServer, KaMeLwriter KML Editor• Google’s online KML Interactive Sampler• KML (V2.2) Validator beta by Galdos, Inc.• KML Clients (Google Earth, ArcGIS
Explorer, NASA Worldwind)
21 October 2009 MN GISLIS Workshops 2009
Good Sources of KML Files• Google Earth Gallery • “How Google Earth Ate Our Town” - Nanaimo, BC
– http://earth.nanaimo.ca/• Denver Regional Council of Governments Data
Catalog• Wisconsin Coastal Guide• Great Lakes Environmental Research Lab• Great Lakes Information Network GIS Catalog• NOAA (NWS, NOHRSC), NASA, USGS• Make your own !
21 October 2009 MN GISLIS Workshops 2009
To Make A Mashup
Process & NeedsDeconstructing a mashup
Constructing your own
21 October 2009 MN GISLIS Workshops 2009
Process re-cap
• Identify Problem/Question/Reporting need• Conceptualize Use Case Scenario• Identify data source and preparation• Identify map source, API, map function• Identify web page & server to host
21 October 2009 MN GISLIS Workshops 2009
Needs• A web server (host)• A web page on that host• An editor to edit web page• A code sample to get started• Possibly an API key to allow access• Possibly software tools, website tools or other
APIs for additional processing or webpage functions
• Motivation to revise, test & revise again
21 October 2009 MN GISLIS Workshops 2009
Deconstruction of a mashup
21 October 2009 MN GISLIS Workshops 2009
View Source is your friend
21 October 2009 MN GISLIS Workshops 2009
Sourcecode clues… google ‘em
21 October 2009 MN GISLIS Workshops 2009
Tag/ bookmark links for further research
21 October 2009 MN GISLIS Workshops 2009
Constructing a Starter Mashup
• Identify Problem/Question/Reporting need– Ex.: Great Lakes Recreational Boating
• Conceptualize Use Case Scenario– See map, click to see brief info., link to web
cam or further information• Identify data source and preparation• Identify map source, API, map function• Identify web page & server to host
21 October 2009 MN GISLIS Workshops 2009
Needs• A web server – http://69.59.176.25/• A web page on that host –
http://greatlakesmashups.net/MNworkshop/chicagoX/last name.html
• An editor to edit web page – Notepad, etc.• A code sample to get started –
www.mapbuilder.net• Possibly an API key to allow access –
GMaps API key• Motivation to revise, test & revise again
21 October 2009 MN GISLIS Workshops 2009
21 October 2009 MN GISLIS Workshops 2009
21 October 2009 MN GISLIS Workshops 2009
21 October 2009 MN GISLIS Workshops 2009
21 October 2009 MN GISLIS Workshops 2009
21 October 2009 MN GISLIS Workshops 2009
21 October 2009 MN GISLIS Workshops 2009
Mashup Tutorial
• Log-in to MapBuilder and Create Map• Save Map Center, zoom and overlay• Find addresses to geolocate or pick points• Add caption, description and marker• Export and save Source Code• Paste in GMAP KEY• Upload to webserver for testing.
21 October 2009 MN GISLIS Workshops 2009
Mashups Re-visited
• Walk Score – www.walkscore.com
• See, Click, Fix - www.seeclickfix.com
• City of Miami – www.miamigov.com
21 October 2009 MN GISLIS Workshops 2009
21 October 2009 MN GISLIS Workshops 2009
21 October 2009 MN GISLIS Workshops 2009
21 October 2009 MN GISLIS Workshops 2009
Integrated Mashup Tutorial
• Start with previous mashup code• Add KML to mashup• Add web map service (WMS) to mashup• Upload and preview/test
21 October 2009 MN GISLIS Workshops 2009
What’s Coming – Online Mapping/Mashup Frameworks
• Google MyMaps - http://maps.google.com/• GeoCommons – Maker!
http://maker.geocommons.com/• SpatialKey beta - http://spatialkey.com/• …
21 October 2009 MN GISLIS Workshops 2009
21 October 2009 MN GISLIS Workshops 2009
21 October 2009 MN GISLIS Workshops 2009
21 October 2009 MN GISLIS Workshops 2009
Beyond tools - considerations• Audience/ Use Case Scenario
• Interface usability and device independence
• Data access
• Information quality, privacy and security
• Resources and skills to get it done.
21 October 2009 MN GISLIS Workshops 2009
What it all means … mashing up
• Lower overall skills threshold and lower cost of ownership
• Faster development and rollout often soliciting iterative feedback
• Useful mid-project as well as for communication of results
• Extensible to other web services and api’s• May be the ‘right tool’ for some jobs
21 October 2009 MN GISLIS Workshops 2009
Learning more:
• Blogs, forums and listserves• Peers and social networking{Twitter, RSS feeds, conference news}
• On-line training and tutorials• Download, trial and error• Books
21 October 2009 MN GISLIS Workshops 2009
Thank You !Questions or Comments ?
AJ WortleyUniversity of Wisconsin
State Cartographer’s [email protected]
http://www.sco.wisc.edu/
David HartUW-Madison, Wisconsin Sea Grant
[email protected]://coastal.lic.wisc.edu/
http://www.seagrant.wisc.edu/gis/