ga2 2 lecture2

91
Rostock University, Chair for Geodesy and Geoinformatics X 2007 GIS Advanced Topics, Part 4: Research Topics and Recent Developments kvwmap Sensor Net Workflows Earth Viewer Google Maps GeoTagging OSGeo KML University of Rostock, Dr.-Ing. Peter Korduan E-Mail: [email protected]

Upload: bangalore-techie

Post on 13-Jan-2017

206 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics X 2007

GIS Advanced Topics, Part 4:

Research Topics and Recent Developments

kvwmap

Sensor Net

Workflows

Earth Viewer

Google Maps

GeoTagging

OSGeo

KML

University of Rostock, Dr.-Ing. Peter KorduanE-Mail: [email protected]

Page 2: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Content

Research Topics• Internet GIS for administrations• Sensor Networks• Workflow modelling and processing

Recent Developments• Earth Viewer• Google Maps Tools• Mashups Examples• Geotagging

• GeoRSS Feeds• Tagging pages and photos

• OSGeo Projects

Page 3: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Internet-GIS for administrations

• Government data and spatial relation• Digital government eGovernment• Using spatial technology geoGovernment• Country, federal states, county, districts and municipalities, cities• Kreisverwaltung -

county management• Administration of

land register incatastral office

• Geo base data infederal state office

Internet-GIS

for administrations

Page 4: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

• e-Government• Reducing workload• Save expenses• Costumer-oriented• Supply of information on each place and time• Data connection with its spatial relationship• Shorter operation time• Reduction of redundancy• Uncover of failings• Share data to other authority

Demands on Internet-GIS for municipalitiesInternet-G

IS for adm

inistrations

Page 5: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Data management

• Administrator configure the map layout• User roles (read, download, modify, create)• Data sets (layers)• Attributes• Spatial extent (MER, polygon)• Menues and functions• Time interval

• Administration in a data base clientor within the kvwmap GUI

• Management menues for • Workplaces• Users• Layers• Attributes• Notices

Map layout anduser management

MySQL

PostgrePostGIS

ESRIShape

files

Geo-data and thematic data

kvwmap

Internet-GIS

for administrations

GeoTIFFWMS

Page 6: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

roleworking place user/employee

DescriptionRange of timeAvailable layerGeographically extentMenusFunctionality

Current map extentCurrent visible LayerFor queries selected layerLast used function

Personal dataImage size of clientLast used working place

Internet-GIS

for administrations

User roles

Page 7: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Selection of the working spaceInternet-G

IS for adm

inistrations

Page 8: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

• Authorisation• Compare username and encoded password • data stored in the user data base• Checking for each access

• Authentication• Relation of the user to the working place• Spatial, temporal and thematic permissions related to the geo data• Settings and default values for the GUI and map layout

UserDB

phpScript

PHPMapScript

GeoDB

WebServer

mod_auth_mysql

Inte

rnet

Authorisation - AuthenticationInternet-G

IS for adm

inistrations

Page 9: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Definition of a layer

• View in SQL possible for all users

• Restrictions later with filter• Alias for attributs used in

search, editor and result prestenation

• Preformating of strings in SQL• Full quallified attribut names• Unique object id• Related tables• Where clausel for relations• Filter will be append by

querying the layer• Separation in working places

Internet-GIS

for administrations

alko.the_geom from (select alko.objnr as oid,alko.objart,alko.folie,alko.the_geom,f.flurstkennz,f.gemkgschl,t.label from alkobj_e_fla AS alko,alknflst as f,alkobj_t_pkt AS t WHERE alko.folie='001' AND alko.objnr=f.objnr AND alko.objnr=t.objnr) as alko using unique oid using srid=2398

SELECT o.objnr AS oid,o.objart,o.folie,AsText(o.the_geom) AS umring,fl.flur,fl.gemkgschl FROM alkobj_e_fla AS o,alknflur AS fl WHERE o.folie='002' AND o.objnr=fl.objnr

For grahics

For queries

Page 10: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

• Selection working place• Selection layer• Set attribute filter (thematic,

temporal)• Set geometry filter (spatial)• Set filter operator• Horizontal filter

Internet-GIS

for administrations

Feature filter

Page 11: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

• Selection working place• Selection layer• Setting privilegues for the attributs• Vertical filter

Internet-GIS

for administrations

Attribute filter

• Privilegues• Not visible• Editable• Readable

Page 12: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Attribute formatting for layer search and editor

• Selection layers• Selection of form element type

• Text field single line• Text field multiple lines• Selection field• Sub form bound primary key• Sub form bound foreign key

• Set options• Default values or enumeration

Internet-GIS

for administrations

Page 13: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

• Horizontal filter effect graphical presentation of features

• Using spatial search functions• By point with default

search radius (3 pixel)• By point with user

defined search radius• By polygon

• Presentation ofthematic data• in template (only permitted

attributes can be displayed)• in editor form

(see generic editor)

Internet-GIS

for administrations

Presentation of filtered data

Page 14: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

• Selection layer• Choose comparison operator• Type in search values• Submit query form• Execute query on the database• Present the result set in a list

• Matching the feature filter• Matching the attributes filter

(permission readable)• Matching the search

expression

Internet-GIS

for administrations

Generic query in layer

Page 15: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Query result set presentation

• Example: emphyteusis(heritable building right)

• Link to the presentation of details

Internet-GIS

for administrations

Page 16: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

• Dependence on the permissions for layers

• Generic form generation• Based on:

• Base layer definition• Matching the feature filter• Matching the attribute filter

(permission editable)• Matching the search

expression• Geometry modification in a

SVG graphic editor• Based on JavaScript• AJAH technique uses

intersection and merge of PostGIS - GEOS

Internet-GIS

for administrations

Layer editor

Page 17: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

• Relationship role (rolle) between users and working places (stelle)• Relationship used_layer between stelle and layer• Assignment of the attribut filter to used_layer• Assignment of the attribut privilegue to used_layer

Feature Filter

FILTER ("gemkgschl" = 132105 AND"the_geom" && '14133DD5E31C3A65641‘ AND Within("the_geom",'14133DD5E31C3A65641'))

Internet-GIS

for administrations

Data model for attribute filtering

Page 18: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Search function for land parcels

• Hierarchical search mechanism• Loading appropriated data with AJAH• First select a county• Than select from a list of districts found in that county• Than select from a list of land plots found in the selected district• At least select on or

more land parcels• Build the where clause• Use the predefined

layer definition• Consider the filter• Display the result set

Internet-GIS

for administrations

Page 19: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Result presentation

• Actuality of the dataset• Alias names for the

attributes• Links to

• last search page• edit related entities• address search• name search• map, zoomed to the

appropriated extent• list vertex coordinates of

features polygon• Several PDF documents

including variable data• Check boxes for selection

Internet-GIS

for administrations

Page 20: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Internet-GIS

for administrations

Graphic representation of search results

• Found features• High lighted in yellow• Transparent• Additional layer for each search

result• Erasable if layer is switched off

• Tool tip search• If info tool is selected• If layer for info selected• Find more than one if low

resolution

Page 21: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Internet-GIS

for administrations

Advanced print options with PDF

• PDFClass from R&OS• Land parcel status reports• Lists• Scale true printing• Resolution for printing• Selection of

• Area• Scale• Paper size• Paper format (A4/A3)• Quick look function

• Base for the calculationof charge

Page 22: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Overlay of aerial photographs with land parcels

• Comparison of new built and the registered houses• Needed for taxes

Internet-GIS

for administrations

Page 23: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Application for new building areas

• Searching for planed and existing new building areas• Checking out owner keep the building laws correctly• Houses may be outside of the allowed border• Leads to an encumbrance against the neighbor parcel

Internet-GIS

for administrations

Page 24: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Sensor Networks

• Sensor Network• Computer accessible network• Many, spatially distributed devices using sensors• For monitoring conditions at different locations (temperature, sound,

vibration, pressure, motion or pollutants)• Sensor Web

• Refers to web accessible sensors and archived sensor data• That can be discovered and accessed using standard protocols and

API’s• Sensor Web Enablement (SWE)

• Initiative from the OGC• Standards to enable the discovery, exchange and processing of sensor

observations as well as the tasking of sensor systems

Sensor N

etworks

Page 25: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Sensor Web Functionality

• Discovery of sensor systems, observations, and observation processes that meet our immediate needs

• Determination of a sensor’s capabilities and quality of measurements

• Access to sensor parameters that automatically allow software to process and geolocate observations

• Retrieval of real-time or time-series observations and coverages in standard encodings

• Tasking of sensors to acquire observations of interest• Subscription to and publishing of alerts to be issued by sensors or

sensor services based upon certain criteria“

Source: OGC document 06-050r2

Sensor N

etworks

Page 26: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Sensor Web Concept

Source: OGC document 06-050r2

Sensor N

etworks

Page 27: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

OGC Web Services drafts and planed

• Observations & Measurements Schema (O&M)• Standard models and XML Schema• For encoding observations and measurements from a sensor• Archived and real-time

• Sensor Model Language (SensorML)• Standard models and XML Schema• Description of sensor systems and processes• For discovery of sensors• Locating sensor observations• Processing low-level sensor observations• Listing of taskable properties

• Transducer Markup Language (TransducerML or TML)• Conceptual model and XML Schema• Description of transducers• Supporting real-time streaming• To and from sensor systems

Sensor N

etworks

Page 28: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

OGC Web Services drafts and planed

• Sensor Observations Service (SOS) - Web service interface• Requesting, filtering, and retrieving observations and sensor system

information• Intermediary between a client and an observation repository or near real-

time sensor channel• Sensor Planning Service (SPS) - Web service interface

• Requesting user-driven acquisitions and observations• Intermediary between a client and a sensor collection management

environment• Sensor Alert Service (SAS) - Web service interface

• Publishing and subscribing to alerts from sensors• Web Notification Services (WNS) - Web service interface

• Asynchronous delivery of messages or alerts from SAS and SPS web services

• Supports service workflows.

Sensor N

etworks

Page 29: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

• Configuration of a weather data layer in MapServer Mapfile• Publishing as WMS• GetCapabilities WMS

# http://139.30.111.146/cgi-bin/mapserv? map=/www/kvwmap/wms/wms_test.map& request=getCapabilities&VERSION=1.1.0&SERVICE=wms

• GetFeatureInfo WMS# http://139.30.111.146/cgi-bin/mapserv-49dev?map=/www/kvwmap/var/data/MapFiles/sos_wetterdaten.map&service=wms&version=1.0.1&REQUEST=GetFeatureInfo&SRS=EPSG:31468&bbox=4450000,59980000,4528000,6005000&LAYERS=LT20,Stationen&QUERY_LAYERS=LT20&X=300&Y=200&width=500&height=500

Sensor Observation Service (SOS)S

ensor Netw

orks

Page 30: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

SOS Requests

• GetCapabilitieshttp://server.vn/cgi-bin/mapserv?map=mapfile.map&SERVICE=SOS&VERSION=0.0.31&REQUEST=GetCapabilities

• GetObservationhttp://server.vn/cgi-bin/mapserv?map=mapfile.map &SERVICE=SOS&VERSION=0.0.31&REQUEST=GetObservation&OFFERING=P_LT20&OBSERVEDPROPERTY=LT20

• GetObservation with filterhttp://server.vn/cgi-bin/mapserv?map=mapfile.map &SERVICE=SOS&VERSION=0.0.31&REQUEST=GetObservation&OFFERING=P_LT20&OBSERVEDPROPERTY=LT20&RESULT=<Filter><Or> <PropertyIsEqualTo> <PropertyName>Lt20</PropertyName><Literal>6.3</Literal> </PropertyIsEqualTo> <PropertyIsEqualTo>

<PropertyName>Lt20</PropertyName><Literal>4.7</Literal> </PropertyIsEqualTo> </or></Filter>

Sensor N

etworks

Page 31: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

SOS Requests II

• GetObservation with spatial filterhttp://server.vn/cgi-bin/mapserv?map=mapfile.map&SERVICE=SOS&VERSION=0.0.31&REQUEST=GetObservation&OFFERING=P_LT20&OBSERVEDPROPERTY=LT20&FEATUREOFINTEREST=<gml:Envelope>

<gml:lowerCorner srsName=“EPSG:4326”>11,513 54,424

</gml:lowerCorner> <gml:upperCorner srsName=“EPSG:4326”>

12,513 55,424</gml:upperCorner>

</gml:Envelope>

• DescribeSensor requesthttp://server.vn/cgi-bin/mapserv?map=mapfile.map&SERVICE=SOS&VERSION=0.0.31&REQUEST=DescribeSensor&sensorID=P_LT20

Page 32: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

SOS Get Observation responseS

ensor Netw

orks

Page 33: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Sensor based Landslide Early Warning System

• Detecting landslides• Need for short term warnings and alarm service• Using wireless sensors (observe displacement, acoustic, tilt)• Connection

between thesensormeasurement ina network

• Using OGCstandard for dataexchange andservice planning

Sensor N

etworks

Page 34: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Information system service infrastructure

• Sensor-side logica) business logicb) SOSc) SAS/WNS

Sensor N

etworks

• Client-side logicg) visualization

services/SLDh) CS-Wi) viewing/portal

services and applications

• Server-side logicd) business logic

WPSe) data base systemf) WMS/WFS/WCS

Page 35: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Workflow modelling and processing in agriculture

• Data capture, processing, archiving and publishing are carried out on logically and physically separated systems

• Standardisation is currently addressing only some aspects of what is required for an integrated interoperable system for PA• On-board: ISOBUS (all communication)• On-board <-> FMIS: ISO11783-10 (file format)• FMIS <-> ???: agroXML, AgXML, … (file formats)

• Current and future developments in network technology allow all parts of the system to be connected via a network / the internet• Standards exist to allow data and functionality

to be accessed over a network interface• -> Service Oriented Architecture (SOA)

• Using current standardised formats in an SOAcould fully automate data transfers for precision agriculture

Workflow

modelling and processing

network

Page 36: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Aerial images

TopographicalMaps

Habitat mapping

EnvironmentalProtection areas

Land parcels

Field plots

Landsurveyingoffice

Land registryoffice

Office forrural areas

Office for environment,nature, geology

WMS WFS

WFS

WFS Geometry+thematic data

Geometry+thematic data

Geom

etry+them

atic data

Maps+Images

OGC-enabledField management software/GIS

How can I getactual and

official data?

Workflow

modelling and processing

Distributed standardised data and services

Farmer

Page 37: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Use-cases for OGC web services in agriculture

• To demonstrate potential uses for OGC web services in agriculture, a number of use-cases have been modelled and prototypes implemented

1. Soil testing using a contractor• Retrieving background data from external providers• Transferring spatially-referenced agricultural data using agroXML and web

services

2. Calculation of total N-fertilisation for variable application• Retrieving point yield data from an external data warehouse (APDS)• Distributed processing of spatially-referenced agricultural data

Workflow

modelling and processing

Page 38: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Activity diagram in the use case soil testingFarmer Survey

officeNASA Service provider

Web Map Service

„GetMap“

„GetMap“

images

Web Feature Service„GetFeature“

Vector data (GML/agroXML)

Web Feature Service+ Transactional„Insert“ (GML/agroXML)

Workflow

modelling and processing

Request for background maps

Request for Satellite images

Display background maps

Deliver Topo

Deliver Satellite images

Display field plot information

Request for existing soil testing points Deliver existing soil testing points

Display existing soil testing points

Set new soil testing points

Send request Get the application

Page 39: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Load Satellite imagesW

orkflow m

odelling and processing

Page 40: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Load field plotsW

orkflow m

odelling and processing

Page 41: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Load existing soil testing pointsW

orkflow m

odelling and processing

Page 42: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Add planed soil testing pointsW

orkflow m

odelling and processing

Page 43: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Use mobile client applicationW

orkflow m

odelling and processing

Page 44: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Implementation using distributed OGC web services

Client

CalculateNtotal

CalculateNremoval

Normaliseyield

Interpolation

Coveragesubtraction

Yield data

Soil data

1

a

b

cd

e

f

i

iighiiiiv

23

4wps:Execute /agroXML

wps:Execute /agroXML

wps:Execute /agroXML

wfs:GetFeature /agroXMLagroXML:YieldDataDocument

agroXML:YieldDataDocumentagroXML:YieldDataDocument

wps:Execute /GML

gml:RectifiedGridCoverage

wfs:GetFeature /agroXMLagroXML:SoilDataDocument

wps:Execute /GML

gml:RectifiedGridCoveragewps:Execute /GMLgml:RectifiedGridCoverage

agroXML:FertilisationRecommendationDocument

Workflow

modelling and processing

Page 45: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Visualisation of results in Google EarthW

orkflow m

odelling and processing

Page 46: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Earth V

iewer

Earth Viewer

• Umbrella term: planet viewer• NASA World Wind• Google Earth• VTP• planet-earth.org• osgPlanet (OSSIM)• osgdem/osgviewer• ArcGlobe

• Comparison of viewers• http://www.vterrain.org/Packages/earth_viewers.html

Page 47: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Google Earth

• Virtual globe software• Originally Earth Viewer created by Keyhole, Inc.• Geo-data cover the whole world, sourced from the internet

• Satellite imagery, Aerial photography in 2D• or mapped on the digital elevation model in a 3D view mode• 3D buildings city models• Image surface overlay

• Available under three different licenses• Google Earth (free with limited functionality)• Google Earth Plus ($20) more features• Google Earth Pro ($400 per annum) for commercial use

• Running under Microsoft Windows, Mac OS, Linux and FreeBSD• Own data can be added• Managing data with Keyhole Markup Language (KML)• Application for 3D modeling SketchUp

Earth V

iewer

Page 48: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Google Earth features

• Search for user-created content• Find addresses on Google Earth

• Navigation in high resolution images link• Not open API for developers, use Google Maps API => World Wind• Further infos => Google Earth Blog

http://www.gearthblog.com/basics.html

Earth V

iewer

Page 49: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Viewing layers

Heading

Tilt

Zoom

Navigation controls Exploring Geographic Web:• Wikipedia• Panoramio• Best of GE Community

Difference languagesSearching for placesand businesses

Marking a location

Earth V

iewer

Page 50: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Google Earth features II

Save images• Email a Google Earth image • Save a placemark as a file • Share a placemark via email • Share via the Google Earth

Community• Creating a network link

Exploring the skyView or creating 3D models

Showing grid

Earth V

iewer

Viewmenu

Page 51: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Google Earth graphical user interfaceE

arth View

er

Page 52: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

3D model building in Google Earth

• Start Google Earth, Search for the place (use fly to address)• Add a folder for your new objects• Add a polygon, set description and style• Digitize in 2D• Choose area color filled• Set altitude in m

relative to the groundand extend sides tothe ground

• Tilt the view to see the third dimension• Add edges or move

Page 53: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

• Cooperation with automobile manufacturerVW and Honda

• New type of navigation system

• First Prototype finished• Using GPS• Point to point navigation• Including

• actual traffic jam• weather forecasts and

warnings• Traffic preview with Web

cam’s• Further vendors on the

marked

Earth V

iewer

Google Earth for Navigation systems

Page 54: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Project Example using Google Earth in Vietnam

• Project Song Tra Khuc River• Investigation for the improvements of the flood protection of the city

Quang Ngai and the area surrounding the river from Quang Ngai to the shoreline.http://vietnam.oli.tudelft.nl/project.php

Earth V

iewer

Page 55: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

2D and 3D View in Google EarthE

arth View

er

Page 56: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Google Maps

• Google’s spatial Internet application• http://maps.google.com• Map, Statellite, Hybrid • MyMaps for adding content• Countless mashups and tools

http://googlemapsmania.blogspot.com• Mashup creation tools• Viewing tools• Mashups

Google M

aps

Page 57: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Google Maps Tools

• Google Map Builder• MapKit• Google Planimeter• Google and Yahoo side by side

http://googlemapsmania.blogspot.com/

Google M

aps

Page 58: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Map Builder

• Rapid mashup development tool for google and yahoo maps

Google M

aps

Page 59: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

MapKit

• Create own map application• Based on Google Maps API• User can set

• Maker• Images• Video• attributive

information• Login necessary

Google M

aps

Page 60: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Google Planimeter

http://www.acme.com/planimeter/

Google M

aps

Page 61: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Google and Yahoo Maps side by side

http://sidebyside.ning.com

Google M

aps

Page 62: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Mashups

• Web application combine data from distributed sources• Term derived from its similar use in pop music (mixing two or more songs) • Mashup content typically sourced from third party via public interface or API• Other methods of sourcing content include Web feeds, Web services and

screen scraping• Many mashups using Microsoft, Google, eBay, Amazon, Flickr, Serena and

Yahoo Sources and API’s• Leads to the creation of Mashup Editors

• WYSIWYG’s for mashups• Provide a visual interface to

build a mashup• Allowing the user to drag and

drop data points into a webapplication

• Examples• Wikimapia• Panoramio• Bikemap

Google M

aps

Page 63: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

wikimapia

• Maps mashups combine the content over the spatial position

• Spatial mashups including• Points of Interests (POI)• Sights• Events• Phenomenon • Photographs• Maps• All in the Web with spatial relation

• Example Wikimapia

<iframe src=http://wikimapia.org/s/#y=54087637&x=12123960&z=18&l=38&m=a&v=2 width=292 height=321 frameborder=0></iframe>

Google M

aps

Page 64: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Panoramio

• URL: http://www.panoramio.com• Sign up for upload up to 2GB photos• Locate photos exactly over the place they

were taken• Share photos with others• Search engine to find photos at locations• Publish the photos in Google Earth

Google M

aps

Page 65: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Panoramio Maps

• World Map with ~ 2.7 Mill photos• Searching by position and

keywords (tags)• Orderd by popularity• Panoramio API for displaying

photos from Panoramio on your own web site

• Enrich maps or illustrate information where the location is(real estate sites, hotels and vacation sites, routes & trails...)

Google M

aps

Page 66: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Panoramio API

• Working with Representational State Transfer (REST) technology

• Request in one GET statement• Example: http://

www.panoramio.com/map/get_panoramas.php?order=popularity&set=public&from=0&to=20&size=medium&minx=105&miny=21&maxx=120&maxy=25

• The result data isformatted using JavaScript Object Notation (JSON)http://www.json.org

• Count is the total number of photos on that area

• Photos provided by Panoramio are under copyright

Parameter Valueorder Popularity or upload_date

set Public (popular photos)Full (all photos)

size Original, medium (default), small, thumbnail, square, mini_square

minx, miny, maxx, maxy

The area to show photos from (longitude, latitude, wgs84)

from, to Number of photos, from=0 to=20 deliver the last 20 uploaded photos, only 100 per query

Google M

aps

Page 67: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

www.bikemap.de

• Sign up and create your own routes• Describe your route• Calculation of lenght• Permalink:

http://bikemap.de/route/6973• Embedding:

<iframe width='180' height='180‘border='0' src='http://bikemap.de/route/6973/widget' frameborder='0‘marginheight='0' marginwidth='0‘scrolling='no'></iframe>

• Vote for and comment routes• Find routs by location• Route collections• Export GPX Format: http://bikemap.de/route/6973/export.gpx• Export KML for Google Earth: http://bikemap.de/route/6973/export.kml

Google M

aps

Page 68: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

3D ModelsG

oogle Maps

3D Model of Rostock in Google Earth

Page 69: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Google SketchUp

• Powerful easy-to-learn 3D software tool• Enables to build and modify 3D models quickly and

easily• Place models in Google Earth using real world

coordinates• share the models with others in the internet• Searching and sharing models in the

3D Warehouse• http://sketchup.google.com/3dwarehouse

• SketchUp 6 (free)• SketchUp Pro 6 (495$) import/export and more

Google M

aps

Page 70: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Keyhole Markup Language (KML)

• File format used to display geographic data in Google Earth and Google Maps• KML uses a tag-based structure with nested elements and attributes• Based on the XML standard• Originally from Keyhole, taken over by Google in October 2005• KMZ is the compressed form of KMLRules for kml• Starting and ending tags <placemark>…</placemark>• XML elements must be set correctly and completely• XML documents starting with an root element• It can be: <kml></kml>,<Document></Document>,

<Folder></Folder>,<Placemark></Placemark>• All attributes must have values• Annotations with HTML-Tag <!- - my commend - ->Links• http://www.w3.org/XML/ • http://earth.google.com/kml/kml_21tutorial.html

KM

L

Page 71: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Usability of KML

• Casual users• placemark their homes• document journeys• plan cross-country hikes and cycling ventures

• Scientists• provide detailed mappings of resources, models, and trends• such as volcanic eruptions, weather patterns, earthquake activity, and

mineral deposits• Real estate professionals, architects, and city development

agencies• propose construction and visualize plans

• Students and teachers• explore people, places, and events, both historic and current

• Organisations such as National Geographic, UNESCO• display their rich sets of global data

Page 72: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Placemark descriptionK

ML

Page 73: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

KML created in Google Earth

• Properties => Description:

• KML file

KM

L

Page 74: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Realy Simple Syndication (RSS)

• Syndication of information from distributed sources in the Internet• XML format, machine readable• commercial or non-commercial• Including news paper, magazines and blogs• Simple for creation and distribution of news (news feeds)• RSS Feeds including

• Links• Header messages• Conclusions

• Several programs for receiving, updating and visualisation of RSS Feeds are on the market

• also OpenSource products, e.g. zfeeder• Usable in Browsers, E-Mail client or on the desktop• News readers download the RSS Feeds and presenti this for others

GeoTagging

Page 75: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

GeoRSS

• RSS Feed geo-referenced• Different formats• GeoRSS Simple namespace georss <georss:..>

• GeoRSS using GML

<georss:where> <gml:Point> <gml:pos>12.3323 54.3289</gml:pos> </gml:Point></georss:where>

<georss:point>12.3323 54.3289</georss:point>

GeoTagging

Page 76: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

GeoRSS RDF

• Definition in Resource Description Framework (RDF)• GeoRSS can be added to each RSS Channel

<?xml version="1.0"?><rss version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"> <channel> <item> <title>Example</title> <link>http://www.geoinformatik.uni-rostock.de/</link> <description>News</description> <geo:lat>12.3323</geo:lat> <geo:long>54.3289</geo:long> </item> </channel></rss>

GeoTagging

Page 77: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

GeoRSS Applications

• GeoRSS News Aggregatorim OGC Network

http://www.ogcnetwork.net/aggregator?page=3

• GeoRSS Extension für Wikimedia

http://www.mediawiki.org/wiki/Extension:GeoRSS

GeoTagging

Page 78: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

GeoRSS converter

• RSS to GeoRSS converterhttp://www.geonames.org/rss-to-georss-converter.html

• Searching in database with Geo-names for known places in RSS Feeds

• Added the Geo tagsin the RSS feeds if aname was found

• RSS format must beknown

• For example to viewthe Reuters worldnews on a map

GeoTagging

Page 79: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

RSS to GeoRSS as WebserviceG

eoTagging

Page 80: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

GeoRSS ReaderG

eoTagging

Page 81: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

RSS to KML KonverterG

eoTagging

Page 82: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

GeoRSS and Google Maps API

• „Google Maps API Extension for GeoRSS“ by Mikel Maron• GeoRSS Feeds direct included in the map• Using JavaScript: mgeorss.js• example: http://mapufacture.com/georss/map/show/2

GeoTagging

Page 83: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

MGeoRSS

• Using RSS to GeoRSS converter from geonames.org and MGeoRss

• Georeferencing nearby each Rss Feed

• Select a feed source and use a proxy for client security reason

<script src="mgeorss.js"></script><script> map = new GMap(document.getElementById("map")); georss = new MGeoRSS(); map.addMGeoRSS(georss); georss.load("http://earthquake.usgs.gov/ eqcenter/recenteqsww/catalogs/eqs7day-M5.xml", "proxy.pl?");</script>

GeoTagging

Page 84: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

• Geo … Earth realted, spatial• Tag … Label, distinction• Geotag … tag with spatial relation• Compare with HTML-Tags:

• <i></i> … cursive text• Compare with XML-Tags or GML-Tags

• <point></point>define a point geometry

• Geotagging of Web pageswith Meta tags• Useful in Firefox

Greasemonkey scriptGreasemap

GeoTagging

<meta name=‘ICBM’ content="50.9544, 6.9186" />

GeoTagging

Page 85: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Geotagging over IP and Photographs

• Geotagging of computers• Over network connection• GeoURL http://geourl.info/• Plazes http://www.plazes.com

• Geotagging photographs• Flickr http://www.flickr.com• Extensions for GoogleEarth, GoogleMaps oder MuliMap• see: http://www.eskimoblood.de/index.php?p=58

GeoTagging

Page 86: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Photo Map – Mappr and Flyre

• Foto Community direct connection with Flickr http://www.mappr.com/mappr.phtml?tag=flower

• Geotag for Flickrgeotaggedgeo:lat=52.498988geogeo:lon=13.444744geostreetartist:arariBerlin

GeoTagging

• Based on Google Maps/Earthhttp://flyr.whatfettle.com

Page 87: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Photo Map - Panoramio

• Based on GoogleMaps• Can be integrated in Google Earth• Integration in the own Web page with IFrame

http://www.panoramio.com

GeoTagging

Page 88: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Pixagogo and Flickr

• Simple solution for Photo geotagging

• Based on Google Maps/Earthhttp://maps.pixagogo.com/maps/start.aspx

GeoTagging

• Photomap based on Yahoo! Maps

• Flex APIhttp://www.sodascope.com/FlickrMapsExt

Page 89: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

Flickr mit Yahoo

• Photomap based on Yahoo! Maps Flex APIhttp://www.sodascope.com/FlickrMapsExt

GeoTagging

Page 90: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

OSGeo Projects

• Web Mapping• Mapbender• MapBuilder• MapGuide Open Source• MapServer• OpenLayers

• Desktop Applications• GRASS• OSSIM• Quantum GIS

• Geospatial Libraries• FDO• GDAL/OGR• GeoTools

• Metadata Catalog• GeoNetwork

opensource • Other Projects

• Public Geospatial Data• Education and

Curriculum

OS

Geo

Page 91: Ga2 2 lecture2

Rostock University, Chair for Geodesy and Geoinformatics

OSGeo MapBuilder

• Open-source project• Allows creation of dynamic maps

and information from many other sources

• Web designers can concentrate on the presentation

• Using HTML with links to the MapBuilder JavaScript code

• Using CSS and XSL• Using Web Map Context

documents to define content and style of maps

• Using AJAX for dynamic map production

• Implements the Model-View-Controller (MVC) design pattern

• Central configuration file in XML

OS

Geo