# Mapillary layer in OsmAnd

**URL:** <https://forum.mapillary.com/t/mapillary-layer-in-osmand/390>\
**Category:** Contributing and equipment\
**Created:** [March 7, 2016, 9:51am UTC](https://forum.mapillary.com/t/mapillary-layer-in-osmand/390 "2016-03-07T09:51:50Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![tryl](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/tryl/32/62_2.png) [@tryl](https://forum.mapillary.com/u/tryl)\
**Post date:** [March 7, 2016, 9:51am UTC](https://forum.mapillary.com/t/mapillary-layer-in-osmand/390/1 "2016-03-07T09:51:50Z")

</div>

Is it possible to use a Mapillary layer in OsmAnd? More specifically, a layer showing where there have been mapped.

OsmAnd is an Android app, that can use both online and offline OSM data. Is is very flexible and can both record a GPX track and show it along with other GPX tracks.

Combining this feature with a Mapillary layer, would allow me to always see where it would be best to map next. While mapping a virgin area OsmAnd works great, but if it is e.g. only mapped roughly, I end up redoing a lot of mapping.

---

<div class="post-metadata">

**Author:** ![moenk](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/moenk/32/68240_2.png) [@moenk](https://forum.mapillary.com/u/moenk)\
**Post date:** [March 7, 2016, 12:28pm UTC](https://forum.mapillary.com/t/mapillary-layer-in-osmand/390/2 "2016-03-07T12:28:53Z")

</div>

I’d also like to have something like this. I even startet to code a “mapradar” using the API together with OpenLayers but the result was not so convincing. An app with a pseudo 3D view like in Ingress showing roads to be captured would be perfect, but a web map with GPS would also do.  
Quite often I reallized later that if I had taken another way it would have been possible to get an unactured road, but in that moment I didn’t know because there is nothing like a “mapradar”.

---

<div class="post-metadata">

**Author:** ![DaCor](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/dacor/32/68295_2.png) [@DaCor](https://forum.mapillary.com/u/DaCor)\
**Post date:** [March 7, 2016, 9:10pm UTC](https://forum.mapillary.com/t/mapillary-layer-in-osmand/390/3 "2016-03-07T21:10:25Z")

</div>

In the app, when’s taking photos, clicking on the map icon.

That should be what you are looking for if I understand correctly

---

<div class="post-metadata">

**Author:** ![tryl](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/tryl/32/62_2.png) [@tryl](https://forum.mapillary.com/u/tryl)\
**Post date:** [March 8, 2016, 8:51am UTC](https://forum.mapillary.com/t/mapillary-layer-in-osmand/390/4 "2016-03-08T08:51:03Z")

</div>

Besides from a bug, so it only shows in a tiny square, it lacks showing my current trace and it keeps the camera running. But I could take the time to file that bug and make some change requests. But a layer OsmAnd could use would be nice. Perhaps I should look into setting my own rendering server up - I am completely new on that area though.

---

<div class="post-metadata">

**Author:** ![moenk](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/moenk/32/68240_2.png) [@moenk](https://forum.mapillary.com/u/moenk)\
**Post date:** [March 8, 2016, 11:24am UTC](https://forum.mapillary.com/t/mapillary-layer-in-osmand/390/5 "2016-03-08T11:24:24Z")

</div>

I’d rather like to have something like the map in here: [https://www.mapillary.com/map/places/85633111](https://www.mapillary.com/map/places/85633111) - on fullscreen and on high zoom level updated every some seconds to current location.

---

<div class="post-metadata">

**Author:** ![ligfietser](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/ligfietser/32/917_2.png) [@ligfietser](https://forum.mapillary.com/u/ligfietser)\
**Post date:** [March 9, 2016, 3:01pm UTC](https://forum.mapillary.com/t/mapillary-layer-in-osmand/390/6 "2016-03-09T15:01:07Z")

</div>

I only know an out-dated Mapillary layer in osmand:  
[http://a.tiles.mapillary.com/{0}/{1}/{2}](http://a.tiles.mapillary.com/%7B0%7D/%7B1%7D/%7B2%7D)

Those tiles are not updated since a year or so…

A different approach is making GPX tracks with a python script:

> [@Python tool for download gpx from sequences](http://forum.mapillary.com/t/python-tool-for-download-gpx-from-sequences/228):
>
> I’m writing a tool for download gps traces extracted from the sequences. look the script here [mapillary\_tools/download\_gpx\_from\_sequences.py at master · dalacost/mapillary\_tools · GitHub](https://github.com/dalacost/mapillary_tools/blob/master/python/download_gpx_from_sequences.py) by the moment it works ok. tell me if you would like to have a new functionality.

With OsmandMapcreator I create a separate map from these GPX traces:

1. import those tracks with JOSM, give them an existing tag that you dont need, for instance piste:type=downhill
2. Convert the map.osm to map.obf with OsmandMapcreator,  
[OsmAndMapCreator - OpenStreetMap Wiki](http://wiki.openstreetmap.org/wiki/OsmAndMapCreator)
3. Copy map.obf to the osmand folder on your device.

---

<div class="post-metadata">

**Author:** ![jaakkoh](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/jaakkoh/32/235_2.png) [@jaakkoh](https://forum.mapillary.com/u/jaakkoh)\
**Post date:** [March 15, 2016, 1:42am UTC](https://forum.mapillary.com/t/mapillary-layer-in-osmand/390/7 "2016-03-15T01:42:27Z")

</div>

This has been discussed and filed as an issue in Github since last September at [https://github.com/mapillary/mapillary\_issues/issues/1366](https://github.com/mapillary/mapillary_issues/issues/1366) .

I (still) think that it’s an important feature that allows much more flexibility than the map-in-camera feature of the app for both planning and execution of mapillarying. On top of that the updating of the TMS layer that already exists but has simply not been updated since nearly a year ago allows all kinds of interesting analysis, which is not really possibly with the camera-in-app and that would be easier with this TMS layer than, say, downloading Mapillary images to JOSM and then working with that.

---

<div class="post-metadata">

**Author:** ![moenk](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/moenk/32/68240_2.png) [@moenk](https://forum.mapillary.com/u/moenk)\
**Post date:** [March 16, 2016, 9:55am UTC](https://forum.mapillary.com/t/mapillary-layer-in-osmand/390/8 "2016-03-16T09:55:58Z")

</div>

A daily updated TMS layer would be great, where I need to sign for the petition? 😉

---

<div class="post-metadata">

**Author:** ![tryl](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/tryl/32/62_2.png) [@tryl](https://forum.mapillary.com/u/tryl)\
**Post date:** [March 16, 2016, 10:12am UTC](https://forum.mapillary.com/t/mapillary-layer-in-osmand/390/9 "2016-03-16T10:12:49Z")

</div>

They are starting it up, if you look at the defect. But it will always be good to go in and say “Great! I am looking forward to this too”, so they know the efford is highly requested 😄

---

<div class="post-metadata">

**Author:** ![moenk](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/moenk/32/68240_2.png) [@moenk](https://forum.mapillary.com/u/moenk)\
**Post date:** [March 16, 2016, 10:27am UTC](https://forum.mapillary.com/t/mapillary-layer-in-osmand/390/10 "2016-03-16T10:27:05Z")

</div>

To sum it up: Please make a map that shows a dark streets layer with an overlayer showing already mapped tracks as green tracks and that centers to GPS position every some seconds. I need a map radar for my tablet to drive the roads not mapped yet. Thanks!

---

<div class="post-metadata">

**Author:** ![moenk](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/moenk/32/68240_2.png) [@moenk](https://forum.mapillary.com/u/moenk)\
**Post date:** [March 21, 2016, 1:44pm UTC](https://forum.mapillary.com/t/mapillary-layer-in-osmand/390/11 "2016-03-21T13:44:51Z")

</div>

Did it by myself now: [http://r.geo.hu-berlin.de/~moenkemt/mapillary/mapradar.html](http://r.geo.hu-berlin.de/~moenkemt/mapillary/mapradar.html)

---

<div class="post-metadata">

**Author:** ![Harry](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/harry/32/82_2.png) [@Harry](https://forum.mapillary.com/u/Harry)\
**Post date:** [March 21, 2016, 2:20pm UTC](https://forum.mapillary.com/t/mapillary-layer-in-osmand/390/12 "2016-03-21T14:20:33Z")

</div>

Nice work 😄  
Some comments for improvement:

- Make a button to start and end GPS updating
- Don’t update zoomlevel when you update position

---

<div class="post-metadata">

**Author:** ![Harry](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/harry/32/82_2.png) [@Harry](https://forum.mapillary.com/u/Harry)\
**Post date:** [March 21, 2016, 4:32pm UTC](https://forum.mapillary.com/t/mapillary-layer-in-osmand/390/13 "2016-03-21T16:32:37Z")

</div>

I took the liberty to make some changes. I hope that is ok  
[http://www.re-invent.nu/mapillary/index.html](http://www.re-invent.nu/mapillary/index.html)

---

<div class="post-metadata">

**Author:** ![moenk](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/moenk/32/68240_2.png) [@moenk](https://forum.mapillary.com/u/moenk)\
**Post date:** [March 21, 2016, 5:44pm UTC](https://forum.mapillary.com/t/mapillary-layer-in-osmand/390/14 "2016-03-21T17:44:08Z")

</div>

Sure, the code is also on GitHub, feel free to do whatever you like to. In fact it is just some code snippets I put together to fit my needs.  
I’d rather like to use the new geolocation functions of OpenLayers3 as in this example [http://openlayers.org/en/v3.14.2/examples/geolocation.html](http://openlayers.org/en/v3.14.2/examples/geolocation.html) and this will be the next thing before adding more controls.

---

<div class="post-metadata">

**Author:** ![Harry](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/harry/32/82_2.png) [@Harry](https://forum.mapillary.com/u/Harry)\
**Post date:** [March 21, 2016, 6:50pm UTC](https://forum.mapillary.com/t/mapillary-layer-in-osmand/390/15 "2016-03-21T18:50:41Z")

</div>

What is the advantage over the html5 geolocation function?

---

<div class="post-metadata">

**Author:** ![moenk](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/moenk/32/68240_2.png) [@moenk](https://forum.mapillary.com/u/moenk)\
**Post date:** [March 22, 2016, 1:12pm UTC](https://forum.mapillary.com/t/mapillary-layer-in-osmand/390/16 "2016-03-22T13:12:52Z")

</div>

I don’t know - but when I use the OL3 framework then I think it is logic for me to use the feature provided in that. My version is now updated with the supposed changes under the same link.

---

<div class="post-metadata">

**Author:** ![katrin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/katrin/32/251_2.png) [@katrin](https://forum.mapillary.com/u/katrin)\
**Post date:** [March 23, 2016, 9:19am UTC](https://forum.mapillary.com/t/mapillary-layer-in-osmand/390/17 "2016-03-23T09:19:57Z")

</div>

We are actually working on a “route planner” for Mapillary which would allow you to choose e.g. “get me from A to B along the roads least mapped”. Or most mapped, for those who are looking for routes that they can preview. Still needs some work before releasing though.

---

<div class="post-metadata">

**Author:** ![JackTheRipper](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/jacktheripper/32/106_2.png) [@JackTheRipper](https://forum.mapillary.com/u/JackTheRipper)\
**Post date:** [March 23, 2016, 4:28pm UTC](https://forum.mapillary.com/t/mapillary-layer-in-osmand/390/18 "2016-03-23T16:28:32Z")

</div>

@katrin, if you want someone to test it out on a real road trip, let me know!

---

<div class="post-metadata">

**Author:** ![JackTheRipper](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/jacktheripper/32/106_2.png) [@JackTheRipper](https://forum.mapillary.com/u/JackTheRipper)\
**Post date:** [March 23, 2016, 4:44pm UTC](https://forum.mapillary.com/t/mapillary-layer-in-osmand/390/19 "2016-03-23T16:44:14Z")

</div>

BTW, a useful feature for that route planner would be an adjustable “age limit” so that someone could select (e.g., via a slider) how much weight to put on older sequences when selecting a route. That is, I could select that sequences older than 6 months receive an increased priority (also adjustable) for a planned route to get updated photos.

Of course, this would be for a version 3.x or something like that, not the initial release!

---

<div class="post-metadata">

**Author:** ![katrin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/katrin/32/251_2.png) [@katrin](https://forum.mapillary.com/u/katrin)\
**Post date:** [March 24, 2016, 1:48pm UTC](https://forum.mapillary.com/t/mapillary-layer-in-osmand/390/20 "2016-03-24T13:48:46Z")

</div>

@JackTheRipper thanks for the input! I’ll write down this idea, indeed it would be useful. Also, we hope to provide you something to test soon! 🙂

[Next page](https://forum.mapillary.com/t/mapillary-layer-in-osmand/390.md?page=2)
