Geo2tag LBS platform training at FRUCT12

  • Upload
    osll

  • View
    471

  • Download
    1

Embed Size (px)

Citation preview

Geo2tag LBS platform seminarFRUCT'12

7/11/12, Oulu, Finland

Agenda

Architecture overview

Installation process

Source code overview

JSON interface

For client librarieshttp_reqiests

Jgeo

libgeo2tag (in progress)

Practice with Qt

Terms

GeotagSimplest element of data {time, coordinates, data}

ChannelGeotag aggregator, classification term

Session

User

Features

CurrentBasic geo-tagging

Plain and spacial filtration

Load balancing across set of (Db and web servers)

Will be published in 2012Exporters (wikimapia, google maps, OSM, 4square)

Channel aggregation

Multiservice databases

Installation (test system)

Add line to /etc/apt/sources.listdeb http://download.geo2tag.org/geo2tag_repo/testing binary_i386/

Import geo2tag repository key to your apt keyring:curl http://download.geo2tag.org/geo2tag_repo/geo2tag.key | sudo apt-key add -

Install packagessudo apt-get update

sudo apt-get install geo2tag

Installation (development environment)

Check you are in /etc/sudoers

Download installation script from github.comgeo2tag/scripts/install_devenv.sh

chmod a+x

Run and wait for installation

Resources

Main site http://geo2tag.org

Tracker http://jira.geo2tag.org:8080/

Sources https://github.com/OSLL/geo2tag

Support: [email protected]

Pulse server: pulse.geo2tag.org

Conceptual model

Data interfaceControl programDB

Internet

HTTP/JSON

Lighttpd

FastCGI

qsql

PostgreSQL

Query executorSerializersSpacial modelsDb connector

Data model

Geo2tag corechannel

channelchannelchannel

GeoTag- Coordinates- Link to content- channel- coordinates- time

GeoFilter- time- 2D/3D figure

geotaggeotaggeotag

geotag

geotag

JSon communication

Sample of JSon request/response

{ "errno" : 0, "channels" : [ "channel": { ... list of tags } ]}HTTP/1.1 200 OKPOST /service/filterCylinder

Error codes

http://geo2tag.org/index.php/Error_codes_list

Main scenario

login;

Get available channels

addChannel/subscribe

AddUser

loadTags

writeTag

quitSession

Testing with curl

src:geo2tag/scripts/check_platform.sh

Communication with geo2tag(practice)

Contacts

[email protected]@osll.spb.ru