+ All Categories
Home > Documents > Wireless GIS (w-GIS) for r eal time d ata logging

Wireless GIS (w-GIS) for r eal time d ata logging

Date post: 14-Jan-2016
Category:
Upload: draco
View: 27 times
Download: 0 times
Share this document with a friend
Description:
Wireless GIS (w-GIS) for r eal time d ata logging. Nitin K. Tripathi (Speaker) Asian Institute of Technology, Bangkok [email protected] Phisan Santitamnont , CU Pakorn Apaphant , GISTDA Prasad R. Bauchkar, AIT Vasan Choengsa-ard, AIT. - PowerPoint PPT Presentation
Popular Tags:
64
Wireless GIS (w-GIS) for real time data logging Nitin K. Tripathi (Speaker) Asian Institute of Technology, Bangkok [email protected] Phisan Santitamnont , CU Pakorn Apaphant , GISTDA Prasad R. Bauchkar, AIT Vasan Choengsa-ard, AIT Asian Institut e of Technolog y Chulalongkorn University Geo-Informatic s & Space Tech nology Develop ment Agency
Transcript
Page 1: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Wireless GIS (w-GIS) for real time data logging

Nitin K. Tripathi (Speaker)

Asian Institute of Technology, [email protected]

Phisan Santitamnont , CU

Pakorn Apaphant , GISTDA

Prasad R. Bauchkar, AIT

Vasan Choengsa-ard, AIT

Asian Institute of Technology

ChulalongkornUniversity

-Geo Informatic s & Space Tech

nology Develo pment Agency

Page 2: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Introduction

• Emerging technologies, Internet, Wireless communication and mobile computing device changing way of using GIS

• Growing demand for Internet due to real time information needs

• Traditional static GIS became Wireless and operations possible on the fly

• Wireless + Mobile Technology Ready-to-Use GIS

Page 3: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Issues

• Traditional GIS is in static environment -Limitation

• GIS analysis should be possible through any browser

(no GIS software needed)

• Real time GIS needs data acquisition, upload, update and retrieval directly from field

• Non-availability of comprehensive system for real time data updating

Page 4: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Trend

Mainframe GIS

Mainframe GIS

Desktop GIS

Desktop GIS

Internet GIS

Internet GIS

Wireless GIS

Wireless GIS

Time

Acc

essi

bilit

y

Page 5: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Wireless GIS GPRS Network Operator

Internet

TCP/IP access to GPRS network

Web Server+Dastabase+Applications

PDA + GPS+Digital camera+mobile phone

Page 6: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

- 3 Tiers Architecture

PDAWeb Browser

GPS Autoloading Program

Spatial Data

Repository

Web Application

GIS Data

Page 7: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Benefits - Open Source Software

• Cut down budget

• Opportunity for technology exploration

• On-the-job training and education

• Prototyping and demo

• Excellent tools for research and development

Page 8: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Minnesota MapServer

• Developed at UMN Remote Sensing Lab • Funded by NASA “Mission to Planet Earth”• Started as Arc/Info AML generation script• Built on top of standard Open-source projects like

GD, FreeType, Proj.4 and libTIFF, Shapelib• Implemented as a CGI program• Written in ANSI C• Source distribution : UNIX, Window

Page 9: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Interfacing with MapServer

Page 10: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Spatial Database Offerings

• ESRI ArcSDE (on top of several different DBs)

• Oracle Spatial• IBM DB2 Spatial Extender• Informix Spatial DataBlade• MS SQL Server (with ESRI SDE)• Geomedia on MS Access• PostGIS / PostgreSQL

Page 11: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

PostgreSQL/Post GIS = SFSQL Spatia l DB

• PostGIS spatially enables PostgreSQL by adding spatial objects, functions, and indexing.

• PostGIS aims to be an “OpenGIS Simple Features for SQL” compliant spatial database

• PostGIS is free software (GPL)• PostGIS follows the OpenGIS Simple Features

for SQL • PostGIS is an important component in open

and free GIS.• PostGIS is an important building block for all

future open source spatial projects.

Page 12: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

PostgreSQL/Post GIS = SFSQL Spatia l DB

• Why choose PostgreSQL/PostGIS?– No cost (open source)– Supports most of the SQL standard– Ability to add new data-types– No limit on column size– Easy to add custom functions– One of the only open, respected standards– Participation by the major GIS/DB organizations– Other spatial DB are at least partially compliant– SFSQL provides complex functionality required

by Web Feature Server / Web Map Server

Page 13: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Wireless Spatial Data Logger Process

MapServer RDBMS

PostgreSQL

+PostGIS

Raster file

Shape file

GIS Data

Wireless Network

Web Server

PHP

ProgramProgram

OUTPUT

SUBMIT DATA

GPS+

Attribute

Page 14: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Map Viewer Process

MapServer RDBMS

PostgreSQL

+PostGIS

Raster file

Shape file

GIS Data

Wireless Network

Web Server

PHP

ProgramProgram

OUTPUT

REQUEST

Page 15: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Spatial Relational Database Design

Page 16: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Hardware ProfileHardware Feature

Laser itouch P600 Pocket PC 2002

ipaq 3970 Pocket PC 2002

Compact Flash GPS Inbuilt Antenna GPS Receiver

Compact Flash Camera Mobile Device Camera

Extension Slot Extension for Compact Flash cards

Page 17: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Field Test

1. Locate point of interest

3. View result

2. Submit upload form

4. Query by point

Page 18: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Samples of user interaction and availablemaps

Page 19: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Using the tool

Page 20: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Field Test

Page 21: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Applications

Flood Monitoring

Forest Fire

Farm Management

Map Updating

Environment

Natural disaster and hazard management

Tourism

Page 23: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Contact Dr. Nitin K. TripathiAssociate

ProfessorAsian Institute of Technology, Bangkok, ThailandPhone : +66-2-5246392Email : [email protected]

Dr.-Ing. Phisan Santitamnont

Assistant ProfessorSurvey Engineering Department

Chulalongkorn University, Bangkok, Thailand Tel : +66 (0) 2218-6661

E-mail : [email protected]

Page 24: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Workshop on Wireless/Handheld Spatial

Data Logger Nitin K. Tripathi

Phisan Santitamnont

Prasad R. Bauchkar

Vasan Choengsa-ard

Asian Institute of Technology

Chulalongkorn University

The Asian Federation of Information Technology in Agriculture

Page 25: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Introduction Emerging technologies; Internet, Wireless communication

and mobile computing device changing way of using GIS

Traditional static GIS became Wireless and operations

possible on the fly

Growing demand for Internet due to real time information

needs

Wireless + Mobile Technology Ready-to-Use GIS

Page 26: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Mainframe GIS

Desktop GIS

Internet GIS

Wireless GIS

Time

Acc

essi

bilit

y

Page 27: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Problems Traditional GIS is in static environment

Real time GIS needs data acquisition, upload, update and

retrieval directly from field.

Non availability of system for real time data updating

GIS analysis should be possible through any browser

without GIS software installed

Page 28: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Internet GIS

Similar to the client-server architecture of the web

Users can access, manipulate and retrieve GIS data without necessity of GIS software.

GIS + WWW Internet GIS

Page 29: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Thick client (Client) : Display client request.

Client Side

Thin client ( Server) : Store information and executes client request

Server Side

Page 30: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Wireless GIS

Inexpensive hardware, standardized communication protocols and innovative software made possible to deploy GIS functionality in a mobile computing environment

Mobility + Wireless connectivity + GIS = Wireless GIS

Provide the facility to extract particular sets of information where it is needed

Page 31: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Mobile Switching Center

Web Hosts/Servers

A Simplified Cellular Network

Page 32: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

• Wireless Technologies

Third Generation (3G)

General Packet Radio Service (GPRS)

Code Division Multiple Access (CDMA)

Wireless Local Area Network (WLAN)

Page 33: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

• 3G

ITU specification for the third generation of mobile communications technology.

Bandwidth, up to 384 Kbps when a device is stationary or moving at pedestrian speed, 128 Kbps in a car, and 2 Mbps in fixed applications.

Work over wireless air interfaces such as GSM, TDMA, and CDMA.

• GPRS

Standard for wireless communications

Runs at speeds up to 115 kilobits per second

Page 34: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

• CDMA

A digital cellular technology that uses spread-spectrum techniques

CDMA does not assign a specific frequency to each user Instead, every channel uses the full available spectrum

• WLAN

A type of local-area network that uses high-frequency radio waves rather than wires to communicate between nodes

Page 35: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Open Source

Free to use – no licensing fees

Duplicate software and installed on any machine

Full Access to source code

Highly responsive to end-user requirements

Page 36: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

• Web Map Service (WMS)Produces maps of georeferenced data

Maps are rendered in a pictorial format such as PNG, GIF or JPEG,

GetCapabilities (required): Obtain service-level metadata, which is a machine-readable (and human-readable) description of the WMS's information content and acceptable request parameters

GetMap (required): Obtain a map image whose geospatial and dimensional parameters are well-defined

GetFeatureInfo (optional): Ask for information about particular features shown on a map.

Page 37: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

• Web Feature Service (WFS)

Retrieve geospatial data encoded in Geography Markup Language (GML) from multiple Web Feature Services

Support INSERT, UPDATE, DELETE, QUERY and DISCOVERY operations on geographic features using HTTP as the distributed computing platform

Client

Web Feature Service(WFS)

WFS Request WFS Response

Page 38: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Minnesota MapServer

• Originally developed as free map server software containing various freeware systems - Shapelib, FreeType, Proj.4, libTIFF etc.

• Runs under Windows and UNIX operating systems, supports various formats both raster and vector datasets.

• Relies on the CGI mode program, Map file and Template file.

Page 39: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Library SupportGD C library for the dynamic creation of images PNG, JPEG

PNG PNG support

Proj.4 Cartographic projection library

Freetype TrueType font support

OGR Simple Features Library, C++ open source library supports vector formats –ESRI Shape files, MapInfo tab, GML, Arc/Info coverage, DGN, PostgreSQL

GDAL Translator library supports raster geospatial data formats – TIFF/GeoTIFF, JPEG, Arc/Info Grid, ENVI ESRI header, ERDAS

Imagine.

Page 40: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Map file

• Presented as ASCII file. configures basic information for Minnesota Map Server mechanism such as map’s unit, projection and the path of the data.

• Used for object definition. Every mechanism is considered as object in Map file like map object, label object, layer object, projection object, legend object, class object and so forth.

Template file

• Required for rendering image on user's web browser

• HTML file with specially tagged replaceable parameters designated with square brackets.

• When the map server receives queries from users, it reads the Template file and generates map objects to reply to the users. The parameters in the square brackets would be replaced by the exact path of the output file.

Page 41: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

MapServer Using CGIWeb Browser

CGI-Request (Mapserv)

Minnesota MapServer (WMS)

PostgreSQL Geodatabase

MapFile

HTMLTemplate

File

DesiredMap

Spatial Database

The CGI mode program

The CGI mode program of Minnesota Map Server is called Mapserv – a component to store all freeware systems.

Map Server executable is called directly from CGI mode, and renders the entire HTML page based on parameters passed in the query string, and static configuration files stored on the web server.

Page 42: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Map File ExampleMAP

NAME "thai" STATUS ON EXTENT -231930.03916 459597.455047 1673801.76813 2365717.07906 SIZE 500 500 SHAPEPATH "/usr/local/apache/htdocs/Thailand/data/" SYMBOLSET "/usr/local/apache/htdocs/Thailand/etc/symbols.sym" FONTSET "/usr/local/apache/htdocs/Fonts/fonts.list" IMAGECOLOR -1 -1 -1 UNITS METERS IMAGETYPE JPEG

Page 43: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

WEB

TEMPLATE "/usr/local/apache/htdocs/indice/indice.html" IMAGEPATH "/usr/local/apache/htdocs/tmp/" IMAGEURL "/tmp/" HEADER QHead.html TEMPLATE main.html FOOTER QFoot.html

Page 44: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

LAYER NAME "province" STATUS DEFAULT DATA 'province' TYPE POLYGON UNITS METERS TEMPLATE "QProvince.html" CLASSITEM 'PV_NAME_E' LABELITEM 'PV_NAME_E‘ CLASS NAME "province" COLOR 255 187 169 OUTLINECOLOR 150 98 255 SIZE 1 ENDEND

Page 45: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

WMS Result

PNG, JPEG, GIF Query Map

Page 46: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

PostgreSQLObject-Relational DBMS

Uses a client-server model of communication

PostgreSQL can be extended by the user in many ways, for example by adding new Data types Functions Operators Aggregate functions Index methods Procedural languages

Page 47: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

PostGIS

Adds support for geographic objects to the PostgreSQL object-relational database

Spatially enables, the PostgreSQL server, allowing it to be used as a backend spatial database for geographic information systems

Page 48: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Spatial Data Logger• System Development

PHPPostgreSQL

Minnesota MapServer

Spatial Database

Client Interface Application Software Data Server

PostGIS

Page 49: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Software ProfileSoftware Function

Apache Server 2.0.47 HTTP Web Server

Minnesota MapServer 4.0 MapServer

PostgreSQL 7.3.5 RDBMS

PostGIS 0.7.5 PostgreSQL extend

PHP 4.3.2 Server Scripting Language

Webmin System Administration for Unix

Page 50: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Hardware ProfileHardware Feature

Laser itouch P600 Pocket PC 2002

ipaq 3970 Pocket PC 2002

Compact Flash GPS Inbuilt Antenna GPS Receiver

Compact Flash Camera Mobile Device Camera

Extension Slot Extension for Compact Flash cards

Page 51: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Prototype Development

PHP PostgreSQL

GIS Data

Minnesota Mapserver

PostGIS

Web Server

Application Server

Data Server

RequestWireless Network

HTML Pages

Query

Page 52: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

• System Flow

• CGI interfaces the client’s request with the apache web server which further sends it to PHP compiler.• PHP executes the request by invoking the necessary SQL sentences for updating, uploading and deleting the information into the PostgreSQL/PostGIS database.• The request is now retrieved into the database and ready to display through MapServer.• The PostGIS layer is connected with MapServer through the internal map file configuration providing geo-database access.

Page 53: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

• PostGIS Layer LAYER # This Layer is connected to the PosetgresSQL database table stationrid by postGIS CONNECTIONTYPE postgis NAME "stationrid" CONNECTION "user=postgres password=star123 dbname=test host=localhost port=5432" DATA "the_geom from stationrid" STATUS ON DUMP TRUE TYPE POINT TOLERANCE 16 TEMPLATE "QStationrid.html"

CLASSITEM “stat_name”LABELITEM “stat_name”

CLASS SYMBOL 3 COLOR 75 55 200 SIZE 7

LABELFONT toomtamCOLOR 50 255 55TYPE bitmapSIZE smallPOSITION AUTO

END

END

END

Page 54: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Upload Data Using Open GIS Function

<?php

$sid = $_GET["ID"];

$sname = $_GET["NAME"];

$lat = $_GET["XX"]; $lon = $_GET["YY"];

$con = pg_connect("host=localhost port=5432 dbname=test user=postgres password=star123");

$res = pg_exec("INSERT INTO stationrid(id,stat_name,the_geom,srid) VALUES($sid,'$sname',GeometryFromText('POINT($lat $lon)',23846),'$sid')"); pg_close($con);

?>

Page 55: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

ResultsThe prototype is publicly available on the Internet at :

http://203.159.10.15/bangkok/user.html

Available Actions

Page 56: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

• Samples of user interaction and available maps

Ratchathawi, Bangkok Map

Page 57: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Upload Data Query Data

Page 58: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

PostgreSQL Database

Database of Uploaded Points

Page 59: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Spatial Data Logger (SDL)

SDL Ready to use GIS in real time.

Page 60: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Field Verification

1. Locate point of interest 2. Submit upload form

3. View result 4. Query by point

Page 61: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Field Test

Page 62: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Applications

Flood Monitoring

Forest Fire

Map Updating

Environment

Natural disaster and hazard management

Tourism

Page 63: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Cost Estimation

• Software

• Hardware

No licensing fees for Open Source softwares

Freeware Softwares

Device Cost (Baht)

Laser P600 25000

Camera 6500

GPS 8000

Page 64: Wireless GIS  (w-GIS) for  r eal time  d ata  logging

Contact Dr. Nitin K. Tripathi

Associate ProfessorAsian Institute of Technology, Bangkok, ThailandPhone : +66-2-5246392Email : [email protected]

Dr.-Ing. Phisan Santitamnont

Assistant ProfessorSurvey Engineering Department

Chulalongkorn University, Bangkok, Thailand Tel : +66 (0) 2218-6661

E-mail : [email protected]


Recommended