29
Technicalities

Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

Embed Size (px)

Citation preview

Page 1: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

Technicalities

Page 2: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

Presenters

Nishanta Khanal

Suresh Manandhar

David Nhemaphuki

Upendra Oli

Niroj Shrestha

Page 3: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

Points of Discussion

Servers

Clients

Data Storage

Data Format

Technical Issues

Page 4: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

OSM SERVERS

Page 5: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

OSM Servers

Servers named as dragons as in ‘here be the dragons’

Servers are located in various places

People can even build their own OSM servers

Page 6: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

A Sample List of Running Servers As of 2013 March

Page 7: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

Building your own OSM Server!!!

Do we need to build our own OSM server? No, The data is available on the internet and maintaining

a server is a tough job

Then why build an OSM Server? Ever thought of displaying thematic maps from OSM

maps?

Check out opencyclemap.org

Page 8: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

The steps are simple

Install a server (preferably Ubuntu Hardy Heron 8.04 LTS)

Get the data (download it)

Install the database

Mapnik from source to render maps

You are ready to go!!

Page 9: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

OSM CLIENTS

Page 10: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

OSM Clients

We all use OSM data so shouldn’t we all be clients? Not on technical terms.

Clients are day to day devices or computers accessing and downloading OSM data

One can configure any modern device with a computer chip into an OSM client

Page 11: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

Devices capable of Running OSM

Page 12: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

Requisites for a device to be a Client

No requirements needed to be fulfilled in particular.

Device needs a software capable of downloading and displaying OSM data.

Device needs to be capable of running the software.

Page 13: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

Some Software used to access OSM data

JOSM

E-OSM Client

Potlatch (an online tool)

Name, Link Genre Language Descriptionfree

materials

AddisMap Local, POIEnglish አማርኛ, Deutsch

Addis Ababa (Ethiopia) City Map with POI locator

?

Bigmap [1] Render English Tool to create big maps Yes

BigTinCan Maps Speed limit EnglishAsia map that displays max speed, too

Yes

BuioMetria Partecipativa

Crowd, Weather

italianoDisplays darkness of the sky measured with Sky Quality Meter.

?

Bicycle Routes by Pifpafpuf

Biking, Export, GPS, Planning, Tool

EnglishCreate and download gpx tracks or edit your uploaded ones for planning routes by bike.

Partial (OSM

Mapnik + Openlayer )

Chimère Tool, Mashup françaisOSM based Portal framework to add own POIs on top.

Yes

Crowdmap Social, Crowd Englishcollect social or crisis data and display them on a map

?

digitaler-lageplan Tool Deutsch OSM data in various formats ?

Distance Calculator Tool EnglishCreate paths, measure length and export to .GPX or .KMZ

?

Page 14: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

Some Blocked Softwares

Some applications for phones and desktop computers that download far too many map images from osm server that slows down the servers, it also makes it harder for our mappers to draw the maps – which is osm whole reason for being.

At one point one single application was responsible for 30% of the traffic going through osm servers.

OSM has a clear tile usage policy which asks applications making heavy use to set up their own map image servers, or use third party servers.

E.g. Mobile Atlas Creator, NaviComputer, Locus, OPenMaps, OMaps

Page 15: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

OSM Data Storage

Page 16: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

Where can be data stored?

Server

Clients

Other data storage devices

Page 17: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha
Page 18: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

Database statistics as of 28th March 2013

Page 19: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

This curious map of the world, shows the result of dividing the OpenStreetMap dataset into quarters until each of these vector tiles is less than 32MB in size. An experiment by Eric Fischer

Page 20: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

OSM Data Format

Page 21: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

OSM data format

OSM uses a topological data structure.

Four core elements (data primitives). Nodes

Ways

Relations

Tags

Page 22: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

Nodes

Nodes Represent points.

These are stored as a pair of latitude and longitude.

Used Waypoints as well.

Page 23: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

Ways

These are, in general, ordered list of nodes.

Ways represent lines or polygons.

Ways can be open line string or closed loop

Page 24: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

Relations

It is used to represent the relation among nodes and ways(i.e. its members)

Each member can have a role in the relation.

Unlike nodes and ways these don’t represent geography.

Page 25: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

Tags

Tags represent attributes.

They are stored as pairs of keys and values.

Tags always come with node, way or a relation and not on their own

Page 26: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

OSM Technical Issues

Page 27: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

Not much to talk about...

So far, known issues have originated in tools and not OSM itself

A known issue is that the node identifiers exceeded the number that integer data type can hold.

Page 29: Technicalities. Presenters Nishanta Khanal Suresh Manandhar David Nhemaphuki Upendra Oli Niroj Shrestha

Thank You!Any queries?