gpstest icon indicating copy to clipboard operation
gpstest copied to clipboard

Support local map tiles (OSMDroid)

Open gdt opened this issue 3 years ago • 16 comments

The f-droid build at least seems to use on-line OSM tiles. This needs internet, and is a privacy leak. (It's minor if they are from openstreetmap.org.)

Add mapsforge, so that users can display maps without proprietary OS components, and without a privacy violation. Look in the mapsforge directory of the sd card for maps, so they can be shared with others. See OpenTracks OSM provider and SatStat for apps that do this.

gdt avatar Jun 21 '21 20:06 gdt

@gdt Yes, allowing users to load their own map tiles for the OSMDroid variant is a good idea. It currently uses MapTiler free tier, which tends to get exhausted - see https://github.com/barbeau/gpstest/issues/316. So if you try near the beginning of the month it should work, but will eventually stop working when the quota is reached.

barbeau avatar Jun 22 '21 17:06 barbeau

Thanks. MapTiler's privacy policy looks good, but still it would be nice if the README.md explained that the users location is implicitly sent to third-party servers when clicking the map tab.

gdt avatar Jun 22 '21 22:06 gdt

I'm not sure if it is really possible, but I would say a lot of fdrodid users have OSMAnd installed, as it's probably the best foss navigation app, maybe it would be possible to reuse its offline maps too?

cleveHEX avatar Jun 23 '21 06:06 cleveHEX

Good point about osmand, but that has come up for discussion in many other apps that want offline map capability. The short story is that the format is somewhat complicated and more importantly there is no library that will render it that can be included. I specifically mentioned mapsforge because there is an embeddable library to do what is needed, which is to have some app that is only wanting a map incidentally or as a background layer to display it easily.

Yes, there is data duplication, but in my case I have OsmAnd maps for a lot of places (because if I am there navigation is very important) and I have a mapsforge map for smaller area, currently the 6 states of the US northeast, 620 MiB.

So if you can do the work in the OsmAnd world to have a library that is usable within apps that reads the obf files, and does more or less what mapsforge does, definitely lots of people would be very interested in considering it.

gdt avatar Jun 23 '21 11:06 gdt

but still it would be nice if the README.md explained that the users location is implicitly sent to third-party servers when clicking the map tab.

@gdt Good point, I updated the GPSTest privacy policy to reflect this - https://github.com/barbeau/gpstest/wiki/Privacy-Policy.

barbeau avatar Jun 25 '21 18:06 barbeau

This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!

stale[bot] avatar Oct 23 '21 18:10 stale[bot]

Hey @stale, this is still a valid issue.

gdt avatar Oct 23 '21 22:10 gdt

Hi, Thanks for using OpenStreetMap ! Please, don't forget to credit it by adding "© OpenStreetMap contributors" as required by the license (osm.org/copyright)

Thanks !

AntoninDelFabbro avatar Mar 01 '22 11:03 AntoninDelFabbro

This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!

stale[bot] avatar Sep 17 '22 18:09 stale[bot]

Set it P1, it is. Ping @barbeau

AntoninDelFabbro avatar Sep 17 '22 19:09 AntoninDelFabbro

This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!

stale[bot] avatar Apr 06 '23 14:04 stale[bot]

Uh oh, don't do that buddy, it's still in violation of OSM licence.

AntoninDelFabbro avatar Apr 06 '23 14:04 AntoninDelFabbro

This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!

stale[bot] avatar Oct 24 '23 04:10 stale[bot]

Not stale

barbeau avatar Oct 24 '23 10:10 barbeau

This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!

stale[bot] avatar May 11 '24 21:05 stale[bot]

@stale Bot considered harmful! Written in Beautiful Handwriting even.

gdt avatar May 11 '24 22:05 gdt