MovnaTeam / movna

Open-source training application.
GNU General Public License v3.0
0 stars 1 forks source link

Investigate a medium-term solution for querying map tiles #29

Open ronw98 opened 1 year ago

ronw98 commented 1 year ago

It seems open-street maps tile api is not made to be used by 3rd party apps and might abruptly cut-out any non-OSM to avoid server overloads. The app needs a reliable source of tiles.

The goal of this issue is to look for a free/cheap solution for hosting map tiles.

Possible solution:

BriceCroix commented 1 year ago

My plan is first to contact OSM servers mainteners to ask the permission to use their servers. It is written somewhere on their website that they may grant their permission. We could argument that, as you already handled caching tiles, movna will not bother them too much.

I would also like to investigate fully-local solution, it should be possible to instanciate a local tile server on the smartphone, using osm data available at https://wiki.openstreetmap.org/wiki/Downloading_data , we could consider extracting a small portion of the data in order not to have a big application, with tools such as this https://extract.bbbike.org/

I don't really know yet, we'll discuss this later.

BriceCroix commented 1 year ago

It is possible to download small patches of open street-map here, if we decide to do a small local tile server we could let the user choose the countries they want to have https://download.geofabrik.de/