ga1 1 lecture1

35
Dr.-Ing. Peter Korduan GI-Advanced Internet-GIS 1 Rostock University, Chair for Geodesy and Geoinformatics X 2007 GIS Advanced Topics Part 1: Internet GIS Introduction, Functionality and Technology University of Rostock, Dr.-Ing. Peter Korduan E-Mail: [email protected] Introduction Technologies Technology Functionality Products Rostock University, Chair for Geodesy and Geoinformatics Motivation Internet based Geo-Information Systems Introduction, Technologies, Functionalities In the module you can learn about Client-Server technology in general and about Internet-GIS After this module you are able to create simple clickable maps you are able to decide which technology to use for your internet based mapping problem you know more about possibilities to process and display geodata in the internet you are prepared for exercises with Apache Web Server and HTML

Upload: bangalore-techie

Post on 09-Apr-2017

209 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 1

Rostock University, Chair for Geodesy and Geoinformatics X 2007

GIS Advanced TopicsPart 1: Internet GIS

Introduction, Functionality and Technology

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

Introduction

Technologies

Technology

Functionality

Products

Rostock University, Chair for Geodesy and Geoinformatics

Motivation

• Internet based Geo-Information Systems• Introduction, Technologies, Functionalities

• In the module• you can learn about Client-Server technology in general and about

Internet-GIS• After this module

• you are able to create simple clickable maps• you are able to decide which technology to use for your internet based

mapping problem• you know more about possibilities to process and display geodata in the

internet• you are prepared for exercises with Apache Web Server and HTML

Page 2: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 2

Rostock University, Chair for Geodesy and Geoinformatics

Content

• Introduction• Terms and definitions• Client-Server

• Technologies• Client - Server Overviews• Static web pages• Dynamic web page processing on the server side• Dynamic on the client side• Desktop Internet-GIS• Mobile Internet-GIS Client• Terminal server• Spatial Data Infrastructure (SDI)

• Functionality• Static maps• Dynamic maps• Editors• Web GIS• Data management

• Products• Commercial and Open Source Software

Rostock University, Chair for Geodesy and Geoinformatics

Introduction

• Internet-GIS• Other terms: Web-GIS, Online-GIS, Web Mapping, Map Server• GIS available with the Internet• Multiple User• GUI in an Internet browser• Supports not all functions like Desktop-GIS• Works especially as information desk with functions for selection and

presentation• Performance depends on transmission rate and data size• Distribution of data and process performance

Introduction

Page 3: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 3

Rostock University, Chair for Geodesy and Geoinformatics

Preliminary considerations

• Difference between Internet GIS and ordinary GIS?• Geodata access - and in the future processing - via Internet• Many user can use the same data at the same time• Combine operations on geodata with communication• No consense about what an Internet GIS is and can do• Division in functionality and technology is useful

• Requirements and Restrictions• What would you do with Internet GIS?• Who should use it, or for whom is it for (access-, use constraints)• Runtime behaviours• Preferred Internet browser und OS• Required browser settings and/or extensions (Plug-in, Script-

enablement)• Consider Costs for Client und Server Licenses• Data formats and exchange interfaces• Requirements rising; constant is that the situation is changing

Introduction

Rostock University, Chair for Geodesy and Geoinformatics

Client-Server Architecture

• Based on Internet -> Based on Client and Server• Request and Response

• New process for each request• Multi user ability• Stateless Application

• Multiple Tiers• Cascading services

• Data transfer rate depend on the size of data• Size depends on geodata type and format

• Power demands can be distributed between client and server• thin and fat client and server

Client

Server

Data

Introduction

Page 4: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 4

Rostock University, Chair for Geodesy and Geoinformatics

Server and Clients

• Server“An application program or the computer where it is running, thataccepts connections in order to service requests by sending backresponses.”

• Client“A client accesses a (remote) server by some kind of network, send requests and get responses.” e.g. web-, e-mail-, database clients

• Web Server“A program (or the computer) that is responsible for accepting HTTP requests from clients and serving them HTTP responses along withoptional data contents, usually Web pages such as HTML or XML documents and linked objects like images or even maps”

• Web Client“A Web client can establish a connection to a Web server to send HTTP requests and to display or work with the content of returned documents. Some clients can run scripts including the web page.”

Introduction

Rostock University, Chair for Geodesy and Geoinformatics

Server types I

• Map ServerDeliver raster maps and related thematic information, specialized for users needs. The MapServer renders the map images and can send additionally a client including the map and functionality to interoperate with the map. A MapServer can also work as a web service.

• Feature ServerDeliver vector data especially in XML format including the geometry and attributive data of feature objects

• Database ServerProvide thematic data. Can send spatial data too, if spatial extension for the data base management system is available. Connection over ODBC/JDBC

Introduction

Page 5: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 5

Rostock University, Chair for Geodesy and Geoinformatics

Server types II

• File ServerProvide files for downloads. Such files containing images, metadata, geo data, in different formats or common office documents.

• E-Commerce ServerStore charge models and handle order and obtain operations for geospatial data sets and products.

• Application ServerExecutes programs for geodata processing (analysis) and deliver the results.

• Terminal ServerAssume all computational work in a client server connection. Exchange only screen data, keyboard input or mouse events with clients.

Introduction

Rostock University, Chair for Geodesy and Geoinformatics

Server types III

• Service Registry ServerRegister web services, e.g. WMS, WFS, … and enable the retrieval for it. Including Metadata it is called a Metadata Server

• Authentication ServerHandle authentication of users and may know different method for that.

• Authorization ServerStore information about what registered user can have access for. User will be authorized related to spatial, thematic and temporal constraints.

Introduction

Page 6: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 6

Rostock University, Chair for Geodesy and Geoinformatics

Web Service

• Enables a standardized invocation of programs in a network.• Supports interoperable Machine to Machine interaction.• Example: Web Map Service

Response map images of a given extent, layer name, spatial reference system, image format …

• Learn more in Part II - Lesson 1

http://www2.demis.nl/wms/wms.asp?wms=WorldMap&REQUEST=GetMap&VERSION=1.1.1&SERVICE=WMS&LAYERS=Bathymetry,Countries,Topography,Hillshading,Builtup%20areas,Coastlines,Waterbodies,Inundated,Rivers,Streams,Railroads,Highways,Roads,Trails,Borders,Cities,Settlements,Spot%20elevations,Airports,Ocean%20features&SRS=EPSG:4326&FORMAT=image/png&bbox=101,8,111,24&width=200&height=320

Request Response

Introduction

Rostock University, Chair for Geodesy and Geoinformatics

Clients – Web Browser

• Browser• Internet Explorer• FireFox• Opera• Safari

• Plug-Ins and Add-Ons• Adobe PDF, SVG• Greasemonkey

• Greasemap

Introduction

see: http://en.wikipedia.org/wiki/List_of_web_browsers

Page 7: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 7

Rostock University, Chair for Geodesy and Geoinformatics

Other Clients

• Database Clients• phpMyAdmin• MySQL Client• pgAdminIII• phpPgAdmin

• Desktop Internet-GIS• uDig• ArcGIS• Quantum GIS

• Terminal Clients• Microsoft Terminal Server Client mstsc• Citrix Clients

• Mobile Clients• Mobile Cell phone, Personal Digital Assistant (PDA), Smart phone,

Tablet PC’s

Introduction

Rostock University, Chair for Geodesy and Geoinformatics

Internet-GIS Technologies

• Static pages and clickable maps• Dynamic on the server side

• Map servers• Server scripts (PHP,ASP)• Java-Servlets• CGI and API’s

• Dynamic on the client side• Java Script, VB-Script, DHTML• Plug-In driven dynamic (SVG, Java Applets)

• Terminal Server• Server based computing (Citrix)

• Distributed Computing• CORBA, Remote procedure call (RPC)

Technology

Versions static/dynamic Pages stat dyn stat dyn Maps stat stat dyn dyn

Page 8: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 8

Rostock University, Chair for Geodesy and Geoinformatics

Technology

Client side Server side

WebServer

SpatialDB

MapServer

proj

HTMLDocs

MetaDB

<?php<%asp

static

dynamic

terminal client

ScriptsProgr.

API

’sFile

system

SDE

TerminalServer

Java

Plug-inSVG

Inte

rnet

(TCP/

IP)

Rostock University, Chair for Geodesy and Geoinformatics

Static maps

• Static images on the server side• No graphic navigation• Access through direct hyperlink• No rendering, clipping, merging or other

on the server side• Example: Perry-Castañeda Library Map

Collection• Link for vietnam maps:

http://www.lib.utexas.edu/maps/vietnam.html

• Research tools -> Find a map -> Asia -> Vietnam maps -> Vietnam (Shaded Relief) 2001

• Each link leads to a separate web page or at least an image

Technology

Page 9: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 9

Rostock University, Chair for Geodesy and Geoinformatics

Static web pages as clickable maps

• Sensitive areas in images with relative coordinates

• Hyperlinks for spatial related linking...<img src=“Vietnam.gif" border="1“

alt=“vietnam map” usemap="#vmap"width=“300" height=“600">

...<map name=“vmap">

<area shape="poly" coords="365,298, …,398,322,380,317,368,299" href=“thenorth.htm" alt=“North Vietnam"><area shape="circle" coords=“270,170,25" href="http://www.haicou.cn" alt=“haicou island"><area shape="rect" coords="17,517,120,140" href="legend.gif" alt="Legend">

</map>...

• Also possible with HTML LayersYou learn details in the first exercise!

Technology

Rostock University, Chair for Geodesy and Geoinformatics

Clickable map example

• Hanoi Maphttp://www.hotels-in-vietnam.com/hotels/hanoi/hanoimap.html

Technology

Page 10: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 10

Rostock University, Chair for Geodesy and Geoinformatics

Dynamic on the server side with server side scripts

• Dynamic on the server side• Dynamic generated pages and included content• Control servers output by parameter, transmitted with

the HTTP request• Script languages:

• PHP-Hypertextprocessor (PHP)• Mostly with Apache Web Server under Linux or Windows

• Practical Extraction and Report Language (Perl)• Recommended for dynamic text manipulation

• Active Server Pages (ASP)• Extension to Visual Basic, works under

windows OS• Java Server Pages (JSP)

• Platform independent, use Java

Technology

Rostock University, Chair for Geodesy and Geoinformatics

HTTP GET and POST methods

• Methods to transmit parameters and/or files • GET

• Use key-value pairs (KVP) for transmitting parameter to the server• e.g: parameter1=value1

• Additional to the Uniform Resource Locator (URL) separated by the ? sign• e.g.: http://server.vn/webpage.html?param1=val1

• more than one parameter separated by the & sign, also called query string• e.g.: param1=val1&parm2=val2

• Example: http://server.vn/webpage.html?param1=val1&param2=val2• only the subset of the US-ASCII character set is allowed for URLs

• alphanumerics [0-9a-zA-Z]• the special characters $-_.+!*'()• reserved characters used for their reserved purposes may be used unencoded within a URL

• All ASCII characters can be URL-encoded in hexadecimal format, see example below

• space %20• plus %2b• @ %40• point %2e• minus %2d

• POST• The total length of the URL can be limited by the clients• For more parameters or large text use POST method• Query string transmitted as content of the HTTP• Used for transmitting content of forms and for file upload

Technology

Page 11: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 11

Rostock University, Chair for Geodesy and Geoinformatics

• Parameter exchange in HTML form (method = POST)

• Respectively parameter exchange with methode = GEThttp://www.server.nv/mapping.php?name=“citymap”

<html><head><title>Map retrieval</title></head><body>

<h1>Map Search</h1><form action=“results.php" method="post" name="form1">

put in a name for a map<input name="name" type="text"><input type="submit" value=“Submit">

</form></body></html>

POST Parameter ExampleTechnology

Rostock University, Chair for Geodesy and Geoinformatics

Client - Server Architecture (dynamic)

Browser Browser

Internet

Web-Server

HTMLDocuments

php

DB Doc’s

jnFile

system<html><head><title>Test</title></head><body><h1>Test</h1><?php echo “Hallo”;?></body></html>

Technology

Page 12: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 12

Rostock University, Chair for Geodesy and Geoinformatics

php-Script example for database connectionTechnology

Database connection

Sqlquery

Close database connection

Write resultsin HTML

Loop for reading results

Rostock University, Chair for Geodesy and Geoinformatics

Presenting search results

Technology

Page 13: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 13

Rostock University, Chair for Geodesy and Geoinformatics

Dynamic on the server side using CGI

• Request for maps with parameters• like: name, extent, scale, visible layer etc.

• Use the Common Gateway Interface (CGI)• Web Server delegate the MapServer => Program

• MapServer renders for user specific demands

http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/vietnam/client/default/demo.map&layer=rivers&layer=land_shallow_topo_2048

Servername MapServer

program

Mapfile(map configuration)

Active layer

Technology

Rostock University, Chair for Geodesy and Geoinformatics

Using ASP with ESRI ArcIMS

• Establish a connection with• ASP-ArcIMSConnector (Active-X) or• ServletExec (connect Web Server with ArcIMS)

• Setting server name and port number• Creation of map objects or tables• Setting map options in the map object• Creation of temporary images• Pass the HTML template to the Web Server for delivery to the

clientSet conArcIMS = Server.CreateObject("aims.ArcIMSConnector") conArcIMS.ServerName = ”www.geo.de”conArcIMS.ServerPort = 8053Set mapMain = Server.CreateObject(”Beispiel.Map")

Technology

Page 14: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 14

Rostock University, Chair for Geodesy and Geoinformatics

Dynamic on the client side

• JavaScript• Different interpretation of code by browsers

• Scalable Vector Graphics (SVG)• XML based vector graphic• Vector data are readable on the client side (not like raster data)• SVG Plug-in needed for some browser types

• Plug-In• To Plug-in or not to Plug-in that is the question.• Has to be installed before data visualization• client registration required if necessary• e.g. for Intergraph Format DGN vector und RLE, CIT raster files, MapGuide

• Flash• Vector format from macromedia

• Java-Applet• Platform independent• Running in a virtual machine

Technology

Rostock University, Chair for Geodesy and Geoinformatics

Scalable Vector Graphics (SVG)

• a language for describing 2D-graphics and graphical applications in XML

• graphics do NOT lose any quality if they are zoomed or resized• every element and every attribute in SVG files can be animated• is a World Wide Web Consortium (W3C) recommendation• integrates with other W3C standards such as the DOM and XSL• Raster graphics (maps) can be included as background• Small file size, but depends on vector data density• Large files can be transmitted compressed (*.svgz)• SVG-Viewer off-the-shelf in Firefox, Opera and as Plug-In for IE

• http://www.adobe.com/svg/viewer/install/

<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN""http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"><svg width="300" height="300" x="0" y="0"><!--Your SVG content goes here --></svg>

src: http://www.w3schools.com/svg/svg_intro.asp

Technology

Page 15: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 15

Rostock University, Chair for Geodesy and Geoinformatics

SVG example

<?xml version="1.0" standalone="no"?>

<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

<svg width="100%" height="100%" version="1.1"xmlns="http://www.w3.org/2000/svg">

<rect width="200" height="150"style="fill:rgb(255,0,0);stroke-width:1;stroke:rgb(0,0,0)"/>

<polygon points="100,40 107,65 132,65 112,80 119,104 100,90 81,104 88,80 68,65 93,65 100,40"

style="fill:#ffff00;stroke:#000000;stroke-width:1"/>

</svg>

Technology

Rostock University, Chair for Geodesy and Geoinformatics

SVG geometry types

• Rectangle<rect width="300" height="100" style="fill:rgb(0,0,255);stroke-width:1;

stroke:rgb(0,0,0)"/> • Circle

<circle cx="100" cy="50" r="40" stroke="black" stroke-width="2" fill="red"/> • Ellipse

<ellipse cx="300" cy="150" rx="200" ry="80" style="fill:rgb(200,100,50); stroke:rgb(0,0,100);stroke-width:2"/>

• Line<line x1="0" y1="0" x2="300" y2="300" style="stroke:rgb(99,99,99);stroke-

width:2"/>• Polygon

<polygon points="220,100 300,210 170,250" style="fill:#cccccc; stroke:#000000;stroke-width:1"/>

• Polyline<polyline points="0,0 0,20 20,20 20,40 40,40 40,60"

style="fill:white;stroke:red;stroke-width:2"/>

Technology

Page 16: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 16

Rostock University, Chair for Geodesy and Geoinformatics

SVG path

• Commands to define a path• M = moveto• L = lineto• H = horizontal lineto• V = vertical lineto• C = curveto• S = smooth curveto• Q = quadratic Bezier curve • T = smooth quadratic Bezier curveto• A = elliptical Arc • Z = closepath

• Commands in lower cases means relatively positioned, capital absolute

• <path d="M250 150 L150 350 L350 350 Z" />

Technology

Rostock University, Chair for Geodesy and Geoinformatics

Java Applet

• Platform independent• Running in a virtual environment• Running often without support of the server• Geodata are send complete when starting the application in the

client• All computational processes running on the client side• Require a thick client – slow execution• Some OpenSource Applets available, e.g. Rosa Applet

Technology

Page 17: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 17

Rostock University, Chair for Geodesy and Geoinformatics

Technology

Desktop-GIS join the Internet

• Desktop GIS are more powerful than Internet GIS, but often not connected with the internet

• The gap between internet and desktop shall be closed also for GIS• More functionality available on the client side• Dynamically loading for last distribution• Examples:

Google-Suggest:Search terms will be loadeddepending on what characterare typed in

Google Maps:map tiles will be loadeddynamically depending on theactual extent of the map

Rostock University, Chair for Geodesy and Geoinformatics

Asynchronous JavaScript + XML (AJAX)

• Background:• Reduce time for loading data in the client• Don’t load redundant data• Load context based• Load only changed components of the GUI

• Standardized presentation of content with XHTML and CSS• Dynamic visualization and display through the Document Object Model

DOM• Data exchange and transformation with XML und XSLT• Asynchronous communication between client and server with

XMLHttpRequest• Applicable with JavaScript

Source: http://adaptivepath.com/publications/essays/archives/000385.php

Technology

Page 18: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 18

Rostock University, Chair for Geodesy and Geoinformatics

• Classically• client querying the

server and is waiting for the result

• In AJAX web application• user interface interact

with the AJAX engine on the client side

• AJAX engine provide data the client actually need

Technology

Classic vs. AJAX

Rostock University, Chair for Geodesy and Geoinformatics

Technology

• Browser loads AJAX Java Script

• Script creates and changes graphical user interface and communicated with the server

• Not each interaction needs a request to the server

• AJAX requests are asynchronous

Synchronous vs. Asynchronous

Page 19: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 19

Rostock University, Chair for Geodesy and Geoinformatics

• Uses mainly local computer resources

• Have internet connection but work also stand-alone

• Does not run in web browsers• Desktop GIS functions and online

data resources• It becomes usual to have interfaces

to access WMS and WFS resources• Some use (planned to) also web

based resources for data processing

• Examples:• Google Earth• ArcGIS• Quantum GIS

Desktop Internet GISTechnology

Rostock University, Chair for Geodesy and Geoinformatics

Google Earth

• Based on Google Maps data• 3D satellite and aerial photographs• Integration of 3D city models e.g. made

by Google Sketch Up• Address based search functions• Easy navigation opportunities • Very popular• Caching on the client side for

better performance and off-line work• Browser independent • For private use for free• Prepositions:

• Minimum of 500 MHz Processor• 3D video graphic card supporting 32-Bit colors• internet connection min 2000 bs• OS Windows XP or 2K• Also available for Mac OS and Linux

• Source: http://earth.google.com

Technology

Page 20: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 20

Rostock University, Chair for Geodesy and Geoinformatics

• Connected wireless with the server• Small displays• Small resources for data processing• Often more less transfer rate • Adopted client interfaces, e.g.

http://www.google.de/gmm• Special OS for mobile devices (Windows CE,

Mobile 5.0,…)• For WAP enabled devices• Mobile Devices:

• PDA, MDA, mobile phones, Smart phones, Blueberries

• Tablet PC’s• Cost intensive due to charges for mobile

connection

Internet GIS Mobile ClientsTechnology

Rostock University, Chair for Geodesy and Geoinformatics

• Connection between keyboard, monitor and mouse on the client side with GIS application on the server side

• Only transfer of keyboard press actions, mouse move events and screen content.

• Reduced computing performance necessary on the client side

• Central application server• Handle multiple tasks for multiple users• Example: Citrix, Microsoft Terminal Server

Technology

Terminal Server – Server based computing

Page 21: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 21

Rostock University, Chair for Geodesy and Geoinformatics

Spatial Data Infrastructure (SDI)Technology

Rostock University, Chair for Geodesy and Geoinformatics

Geospatial portal service

Page 22: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 22

Rostock University, Chair for Geodesy and Geoinformatics

Cascading servicesTechnology

Rostock University, Chair for Geodesy and Geoinformatics

Data sources

Technology

Page 23: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 23

Rostock University, Chair for Geodesy and Geoinformatics

User groups

• Internet: open, all user can participate, can contribute clients or server to the spatial data infrastructure (SDI).

• Intranet: physically separated network, with addresses in a different address space like the internet. Often is Intranet and Internet connected over a router (gateway).

• Extranet: Like Internet, but all participated IP-Adresses are registered as allowed

Technology

Rostock University, Chair for Geodesy and Geoinformatics

• city map info desk• standard real estatevalue

• nature protectionarea

• tourism• public info desks

• governing mayor• local public offices • land registerauthority

• building authority• environmentalagency

• EngineeringOffices

• Banks• stakeholderfor publicneeds

• communities

Geodata management

Intranet Internet Extranet

Who are the users

Technology

Page 24: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 24

Rostock University, Chair for Geodesy and Geoinformatics

Security in Internet-GIS

Encoded with protocolSecure Socket Layer (SSL)

Pass only registered IP

and/or protocols and MIME types

Userauthentication

username password

mirrored Web and/or Map Sever

centraldata backup

InternetExtranetIntranet

Technology

Rostock University, Chair for Geodesy and Geoinformatics

Functionality

• Each function can be realized in Internet GIS- but its different complex to implement

• Functions differentiated• by client types• by server types• by used technology

• Should be aligned to user demands• Should be differentiated by user

tasks (permission)• Start to implement simple functions• Arrange functions in groups

Function groups• Basic functions• Navigation functions• Layer functions• Editor functions• Query functions• Advanced analysis functions• Print functions• Style, 3D and customized functions• Im- and Export functions• Data management and work flow

functions• Functions for collaborative work

Functionality

Page 25: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 25

Rostock University, Chair for Geodesy and Geoinformatics

Navigation function

• Zoom• by zoom value (in -n, out +n)• by rectangle (rubber band box)• by scale• to a single layer or current selected layers• to single feature or current selected features• to search results

• Pan• to click point in the map• to the center of layer or features• by current GPS position• by constant value (e.g. half width of image)• in predefined celestial directions

• Show current GPS position• Drag the images during pan• Load only tiles or the whole image• Show coordinates of current position• Display of current map extent in reference map• History of used map settings

4512356.123 6012325.125

Functionality

Rostock University, Chair for Geodesy and Geoinformatics

Layer functions

• Switching on and off layers/themes• Alternatively or additive (background

maps)• Single checkboxes switch all

functions• Grouping of layers/themes• Hide layers by scale• Set dependencies on layers and/or

layer groups• Hide

• Complete legend• groups in legend• layer in legend• classes in legend

• Change order• Activate Layers for feature info

requests or editing

• Switching transparency of layers• Symbolize layer and group status

(visible, hided, queryable, actual…)• Load layer

• From a list of existing layers• Individual layers

• Show metadata of layers• Show search results in new layer• Load/Select Reference maps• Refresh

Functionality

Page 26: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 26

Rostock University, Chair for Geodesy and Geoinformatics

Editor functions

• Selection functions• By point, box, line, polygon• By intersection, within• Additive, exclusive selection

• Editing of attributive data• Attribute values• Context dependent input (selection)• Consistency tests• Tracing table relations

• Add, modify or delete map objects• On screen digitizing• Snapping functions• Pulling points, lines or complete

objects• Topology tools

• Construction functions• for points, lines or polygons• by angle, distances• by coordinates and differences• by intersection, parallel or

perpendicular lines• Subsidiary lines, grids

• History functions• store all changed features in its

previous versions• Only for limited time• Auto delete functions

2154km²Manh215487

125487km²Brand21548

171254km²Hue251415

AreaNameID

Chu i

Functionality

Rostock University, Chair for Geodesy and Geoinformatics

Search (Query) function

• Querying by spatial location• Point, box, line, polygon

• Querying by thematic attributes• Single value• Range• Combined with logical expressions• SQL Query• XPATH

• OGC compatible Requests• WMS GetFeatureInfo• WFS GetFeature

• Feature info for “move over” events• Thesaurus and Gazetteer query functions• Presentation in tables/lists

2154km²Berlin215487

125487km²Brand21548

171254km²MV251415

AreaNameID

?

Functionality

Page 27: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 27

Rostock University, Chair for Geodesy and Geoinformatics

Functionality

Advanced analysis functions

• Buffer• Layer intersections • Find by complex geographic location (Polygon)• Geocoding• Measurement of distances (ruler) and polygon length• Calculation of areas• Finding neighbours• Classification by attributes• Summarize attributes• Create charts and diagrams• Routing• Door to door schedule

Rostock University, Chair for Geodesy and Geoinformatics

Print functions

• The screen (Hotkeys: ALT-Print, CTRL-Print)

• Print functions of the browser

• Download current image and print externally (max current extent)

• Use export functions and print

• Preparation of print documents (PDF, PS)• Selection of print format (A4, A3…) and scale, both depends from each

other

• Style of print document (coordinate grid, legend, title, date, name, spatial reference information)

• More or less ability for customization

• Preview function

• Sending direct or for download

Functionality

Page 28: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 28

Rostock University, Chair for Geodesy and Geoinformatics

Style, 3D and customized functions

• Size of the map• Spatial reference system for current map display• Pilot navigation• Permalink (Link to this pages)• Create customized map annotations• Map animations• Choose user specific symbolization• Customize classification and colors

• 3D visualization• Bird view option

Functionality

Rostock University, Chair for Geodesy and Geoinformatics

• Attribute data only• Tagged (XML, GML, KML)• Untagged (TXT, CSV)• Vendor specific (Excels XLS, d-Base DBF)• Docs for publishing (Word DOC, Adobe PDF)

• Graphical data only• Legend export• Display resolution map images (GIF, JPEG, PNG)

• Complete geospatial data• GML, KML or text based and WKT• Vendor specific formats (ESRI SHP, …) supported by OGR• High resolution map images (TIF-TFW, Geo-TIFF) supported by GDAL

• Metadata related to layers or the view

Import and Export functions

Functionality

Page 29: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 29

Rostock University, Chair for Geodesy and Geoinformatics

Functionality

• Automated data maintenance• Redundancy checks• Registering objects of public interest• Management of cadastral documentation

• comparison of area in land registry documents with actually areas• address maintenance of land owner

• Statistic about thematic, spatial and temporal characteristic ofexisting or presented geodata

• Automated and semi-automated metadata capture functions• Generalisation of Geodata

• Show level of details• Compose workflows for Web Processing Services (WPS)

Data management and work flow functions (examples)

Rostock University, Chair for Geodesy and Geoinformatics

Functions for collaborative work and access management

• Login and logout• Change passwords and personal settings• Subscription to news letter• Alert functions• Subscription for Geo-RSS Feeds• Geowiki• Upload functions• Mailing (list) functions• Comment functions• History functions (metadata maintenance)

Functionality

Page 30: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 30

Rostock University, Chair for Geodesy and Geoinformatics

Products

Products

• Many products available• Commercial and open source products• Programs and libraries• Application development

• Stand alonee.g. HTML-ImageMapper, SVG Mapper, MapServer Workbench

• Internet basede.g. mapbuilder, Google Web Toolkit (GWT)

• MapServere.g. UMN-MapServer, Geoserver, deegree

• Geo web services with clients on server and/or client sidee.g. Google-Maps/Earth, Yahoo Maps, Microsoft Vista Road Map, Microsoft Virtual Earth

Rostock University, Chair for Geodesy and Geoinformatics

Proprietary Products (Map Server)

• Internet MapServer / Geodaten Server• Esri: ArcIMS http://www.esri.com/software/arcgis/arcims• Manifold: Internet Map Server http://www.manifold.net• Intergraph: GeoMedia Web Map http://www.intergraph.com/gmwm• MapInfo: MapXtreme http://www.mapinfo.de• Autodesk: MapGuide Server http://www.autodesk.de• GeoTask: GeoTask IMS• SICAD: Internet Suite http://www.aed-sicad.de• PCI Geomatics: Spans Web Server• Trisscape: MapExplorer

Products

Page 31: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 31

Rostock University, Chair for Geodesy and Geoinformatics

Products

ArcIMS (ESRI)

Rostock University, Chair for Geodesy and Geoinformatics

• Client-Applications• MapBender• kvwmap• uDig• MapViewSVG (Extensions for ArcView)• Manifold Webserver• WebView (Extensions for ArcView)• Geotools* (Java-Libraries)• JShape*• HTML ImageMapper (Extensions for ArcView)• ALOV Map* • iMapper* (Extensions for ArcView)• MapBureau (Flash-cards)• Google Earth• NASA World Wind

*Open Source / Free Software

Products

Internet-GIS Clients (selection)

Page 32: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 32

Rostock University, Chair for Geodesy and Geoinformatics

Products

Free Software (selection)

• Internet MapServer / Geodata Server• UMN-MapServer http://mapserver.gis.umn.edu• GeoServer http://docs.codehaus.org/display/GEOS/Home• Degree-framework http://deegree.sourceforge.net/• Server side libraries for Geodata access and analysis functions• Geotools (Java) http://geotools.codehaus.org• GEOS (C) http://geos.refractions.net• Proj4 (for coordinate transformations) http://proj.maptools.org• GDAL/OGR http://www.gdal.org/

• Geodatabase• PostGIS based on PostgreSQL

http://postgis.refractions.net• MySQL with spatial datatypes http://www.mysql.com

• Configuration tools and client builder• MapBender http://www.mapbender.org• Chameleon http://chameleon.maptools.org• Kvwmap http://www.kvwmap.de• MapStorer http://www.mapstorer.org• MapServer Work Bench http://msworkbench.sourceforge.net• Google Web Toolkit http://code.google.com/webtoolkit/

Rostock University, Chair for Geodesy and Geoinformatics

VorlagenHTML

<?php

PDF

HTML, SVGJavaScript

Info desksmapbender, chameleonJUMP, uDigHTML, Java

Vector graphic

Print medium

User dataMySQL

GeometryPostGIS

maplayoutA

pach

e W

eb S

erve

r

DB-EditorphpMy(Pg)Admin

HTML, JavaScript

Inte

rnet

(TC

P-IP

) SSL

http://www.freegis.org

degree

GRASS

GeoServer

System architecture with free software

shapetools

proj4

GDALOGR

GD

*.shpother

formats

PHP-MapScript

Products

Page 33: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 33

Rostock University, Chair for Geodesy and Geoinformatics

Unified Mapping Platform (JUMP)

• Include PostGIS layer• Source: http://www.jump-project.org

Products

Rostock University, Chair for Geodesy and Geoinformatics

• Based on Eclipse• Use of local and internet

resources• Ability to include variable

data sets and functions from web service resources

• Source: http://www.udig.org

Products

User friendly Internet GIS (uDig)

Page 34: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 34

Rostock University, Chair for Geodesy and Geoinformatics

• Very user friendly• Source: http://www.qgis.org

Products

Quantum GIS (QGIS)

Rostock University, Chair for Geodesy and Geoinformatics

Mapbender

• OWS Client for WMS and WFS

• Based on PHP, with HTML layer widgets

• permission management• http://www.mapbender.org

Products

Page 35: Ga1 1 lecture1

Dr.-Ing. Peter Korduan GI-Advanced

Internet-GIS 35

Rostock University, Chair for Geodesy and Geoinformatics

kvwmap

• Specialized for authority offices of municipalities, districts and counties

• Based on UMN-MapServer, phpMapScript, MySQL and PostGIS on the server side

• HTML, AJAX and SVG on the client side• Permission management• http://www.kvwmap.de

Products