We are a small Over 100 8 years of More than team of 10 contributors developing 1 million active users
What is OsmAnd Live
● ○ MB ● 10 minutes ● 15 minutes
Build an incremental update
● Map ○ Route graph POI ● ○ Transport Address
● ○ ○ ○ ● ○ ○
Requirements
OsmAnd.net ● ● 2x ○ < 5 minutes ●
How we do it
How we do it OsmAnd.net Generic approach how to generate delta maps 1. Generate complete map �ith �our primiti�es before and after including all possibl� changed primiti�es 2. Compare complete maps and generate delta map 3. Split delta map b� regions and ser�e them
How we do it OsmAnd.net Approach how to store and serve 1. Generating maps e�er� 10 minutes �ill produce 240 delta maps daily and 1000 delta maps monthly 2. E�er� missing delta map could cause map errors Solution: Group delta maps b� day and b� month � e�cl last da� � - - Clients keep ma�imum 5-7 maps per month per region
How we do it OsmAnd.net Overpass query to retrieve �complete� data [timeout:3600][maxsize:2000000000] [date:\"$END_DATE\"]; or [date:\"$START_DATE\"]; ( node(changed:\"$START_DATE\",\"$END_DATE\"); way(changed:\"$START_DATE\",\"$END_DATE\"); relation(changed:\"$START_DATE\",\"$END_DATE\"); )->.a; (way(bn.a);.a) ->.a; // retrieve all ways for all nodes (relation(bn.a);.a) ->.a; // retrieve all relations for all nodes (relation(bw.a);.a) ->.a; // retrieve all relations for all ways (way(r.a);.a) ->.a; // retrieve all members for all relations (node(w.a);.a) ->.a; // retrieve all nodes for all ways .a out geom meta;
Tools
Tools OsmAnd.net O�erpass - tool to retrie�e data ● ○ Quick � 5x speed to appl� changes� - 20% , � 3x to retrie�e data� - 33% Retrie�es all historical data in the past, possible to replay data ○ ● OsmAnd)apCreator Generation target �orld file ○ ○ Comparison obf and delta generation ○ Split b� region Combine b� da� / month ○
Donations to OpenStreetMap Contributors
Donations to OpenStreetMap Contributors OsmAnd.net OsmAnd Live is a paid feature ● 50% to the OsmAnd Team 50% to OS) contributors �e�er�bod� could register� ● Since 2016: We paid out 22.632 BTC Awards for contribution: All contributors ranked b� 7 groups ● ● Each group recei�es same amount
Future of data
Future of data OsmAnd.net All projects around OpenStreet)ap are built on open data ● OsmAnd uses OpenStreetMap, Wikipedia, Wikivoyage ● Each portion of data deser�es o�n format ● ● Each application deser�es o�n deri�ed format obf ○ ○ o�erpass ○ osm.�ml, pbf, o5c...
Future of data OsmAnd.net Each format has same lifec�cle ● Con�ert ○ Distribute ○ ○ Update E�tra GEO Features ● ○ Partition b� countries ○ Incremental and distributed do�nloads
Future of data OsmAnd.net Possible affected formats / application ● OBF / OsmAnd ○ O�erpass / O�erpass Quer� Engine ○ ○ Postgis / )apnik ○ O�erpass / Acha�i Postgis �osm2pgsql� / OS) Validation tool ○ TIFF + DE) data / An� router tool ○ ○ Wikimedia data / An� end user application
Technology proposal
Technology proposal OsmAnd.net Can �e build an application network that �ill support: Registr� of data �ith License / o�ner information ● Aka torrent distributed do�nloads ● ● Partition data b� geo bbo� Supports data streaming and delta updates ● Ha�e an eas� to use ser�er and desktop client ●
Let’s build it together
Thank you!
Recommend
More recommend