web-service based mobile geospatial application development using python
Post on 19-May-2015
575 Views
Preview:
DESCRIPTION
TRANSCRIPT
Strategic Research in
Advanced
Geotechnologies
Junjun Yin, DMC - DIT
www.StratAG.ie
Junjun Yin
Digital Media Centre
Dublin Institute of Technology
Web-service based Mobile Geospatial Application Development using Python
Location- and orientation aware Smart Phones
Wi-Fi GSM tower GPS satellite
N+x
+z +
y
GeoSpatial Information Retrieval for Mobile Devices
• Mobile Location Based Service (LBS)– User’s current location (latitude/longitude)– User’s facing direction (azimuth)
• Geospatial Queries in relation to user’s current locatio– Proximity query (Nearest-Neighbours)
• All the cafés around• All the point-of-interests around• …
• Information over load problem
Related applications
Target location
A
B
North
A
B
Lower point
Upper point
Bounding box
Bounding circle
Radius
Too much info!
GeoWands via Mobile Spatial Interaction
• Mobile Spatial Interaction– Spatial databases
• Spatial data storage• Spatial index for rapid data access
– Spatial operators• Topological operations• Intersection, contain, touch, etc.
– Human Interaction– Gesture– Visibility (field of view)
Spatial Database
Location & orientation aware mobile device
Internet
Wi-Fi
Data Warehouse
GSM tower GPS satellite
Mobile Positioning Module
Data Management Module
N+x
+z +
y
Mobile Orientation Module
Web Services Web Services
Application Server
Figure. The overall diagram for the system
Python for Web Service and Spatial Database
• Python for Web Service– SOAP– Restful style
• URL based Http request• XML/JSON (GeoJSON) output
– Turbo Gears/ Django
Example:http://threedq.webhop.org/POI/format=JSON&lat=53.3387
&lng=6.2675heading=44.0&tilt=20.8
{“Result”:{name:”Jacobs factory”coordinate:{
lat:” 53.3321”lng:” -6.2668”}}}
• Python for spatial databases– CX_Oracle– GEOS python bindings– Other open sources ported python bindings via SWIG
• VisiLibity framework for visibility calculations• GDAL for Digital Elevation Model (DEM) surface generation• GEOS for geospatial objects topological relationship determination
• Other python merits– PyS60 for Symbian devices
• A previous example use python on Navigator 6210
– Customized map tiles from OpenStreetMap (OSM) for offline and stylish usage
– And many more …
A case study on iPhone
Thanks!
top related