2. Location Based Services
● LBS = using geographical context
– Indoor services
– Mobile healthcare
– City information
● Transport
● Traffic
● ...
2
India, Feb 2013
3. Geo-tagging
● Def: the process of adding geographical
identification metadata to various media:
– Photo, video
– Web-pages,
– SMS, QR-codes
– files
3
India, Feb 2013
4. Terminology
● Tag – tuple <t, L, B, H, data>,
– t – time
– B,L,H – coordinates
– data – text data ~1K
● Channel – classifier for group of tags
4
India, Feb 2013
5. Main features of tagging system
● Access to tags
● Classification
● Filtering
● Session and User management
● Massive data processing
5
India, Feb 2013
6. Channels and tags
LBS Platform
Tag
Channel
Канал
Channel Tag
Tag Channel
Tag
- time
- coordinates
- data (link) Channel
Filtration
- time
- radius
- figure (2D or 3D)
6
India, Feb 2013
7. Geo2tag architecture
clients
Session cache
cache System cache
android
Query engine
JSON
web Session manager
Qt-based backend
HP
database
embedded Cluster/cloud
infrastructure
Indexer BLOBs
Libraries:
jgeo, http_reqs
7
India, Feb 2013
8. Development resources
● http://geo2tag.org
● http://india.geo2tag.org
● http://geo2tag.org/index.php/API_description
● https://github.com/geo2tag
● http://geo2tag.atlassian.net
8
India, Feb 2013
9. JSON/REST API
Command:
– Service URL
– Function
– Parameters
Example
http://india.geo2tag.org/service/login?{json}
– Json: '{"login":"Mark","password":"test"}
9
India, Feb 2013
10. Invoking by curl
$ curl -d '{"login":"Mark","password":"test"}'
http://india.geo2tag.org/service/login
10
India, Feb 2013
11. Command security
● Plain commands (version, build,...)
● Session management
– login
– closeSession
● Authorized commands
– With session token
11
India, Feb 2013
12. Session workflow
● Check version
● Acquire session token
● … R/W tags, channels
● Close session
12
India, Feb 2013
13. Login
● /login
– login
– password
13
India, Feb 2013
14. User management
● /addUser
– login
– password
– Email
● /deleteUser
– login
14
India, Feb 2013
15. Channel Management
● /addChannel
– name
– description
– url
– radius
● /owned
● /subscribe
● /subscribed
15
India, Feb 2013
16. Working with tags
● /writeTag
– channel
– description
– {coordinates}
– time
– title
● /loadTags
– latitude
– longitude
– radius
–
16
India, Feb 2013
17. Contacts
geo2tag-maintainer@fruct.org
17
India, Feb 2013