-
-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
offline maps #122
Comments
This is not possible yet with the map rendering library I use. But they are working on it. |
👋 @westnordost, just found your app - so cool. Mapbox has offline downloads. are you working with any of my colleagues? |
Yeah, that's pretty nice, nice job. However, the rendering library I use is tangram-es, they chase behind in terms of features. |
I preloaded the quests in the area I wanted to tag, closed the app foolishly. When I reached the area the quest where there but no highways etc so I couldn't add tags. Later I entered an internet cafe for a coffee and started the app. On leaving I Thanks John |
There should be a working cache. You can change the cache size in the settings. I have no further control over the cache other than (letting the user) specify the size of it (i.e. when what gets deleted from the cache). |
So its a documentation issue. If the cache is set large enough it is possible to work off line. Don't you love documentation things? Thanks John |
One thing to look at would be to use the maps present in OsmAnd~. I'm not sure how feasible that is, but it would allow people to save space once this is unblocked. |
Just FYI, tangram-es does have functionality to use Of course you can use |
Ah interesting, I did not realize that the implementation was finished already. If you permit, I'd ask you a few questions regarding this but I'll just email you, don't want to litter this issue (or a tangram issue) with general questions about mbtiles. |
Hi, The cache feature is OK, but not really useful for example in the use case of a long car journey, using street-complete to pass the time. I do use the cache, but the cache concept is pretty limited. Osmand's offline files (OBF) files and a vector renderer are really really needed. A pre-rendered tile-based solution will be too large, and wont work in this case. Its also not easy for an end user to specify the zones required for the cache, even for shorter journeys. Currently I have to zoom in to each area, and then wait for it to download, then zoom to another area. If I have more than one application that requires tiles, my device fills up. I'm more than happy to point streetcomplete at the required obf files, and to duplicate those, as they are quite small (especially if this can be done from SD). |
Seconding @mycae on this one. It would especially be useful if you could point StreetComplete to OsmAnd~'s offline maps, so that you don't need to duplicate them. |
See #243 for thoughts about osmand relationship. |
Can somebody point be to the Osmand offline file format (OBF?) Is this mapsforge format or what exactly? |
It's a compressed propitiatory format. Even one version of OSMand cannot handle the .obf file from a different version. Recently they have added height data which caused yet another revision of the .obf format. They are created by map creator but again you need the right version to match the version of OSMand. I wouldn't recommend using it. Cheerio John |
#243 isn't at all what I'm looking for. My suggestion is merely that it should read the same map files, and allow you to specific a custom location. That would allow you to not have duplicates. |
osmand uses its own map data files in .obf format and it isn't particularly stable for one version to the next. It's a known issue for people wanting to create their own files. The version of map creator has to align with the version of osmand. |
Osmand has very llimited map download count, with fees for additional downloads. If one would decide to rely on data from other app then maps.me seems to be a better idea (though anyway using data from other app and trying to keep up with potential changes seems like a very bad idea). |
@matkoniecz There is an Osmand~ version (available from F-droid) that doesn't have that limitation, only google play version has it. |
Are we saying that OsmAnd limits the number of maps installed on a device? |
There are two versions a free one and a paid one. The free one limits you to 12 downloads and one of these really needs to the the world overview. If you are updating the local area you really need to update the map from time to time, OSMand on a good day updates once a month. So not an ideal solution. |
the limit applies do downloads, not number of stored obf files, though. And it's only imposed on the app, not downloading manually from http://download.osmand.net/list.php Also, IIRC the free beta version of osmand has no download limit |
OsmAnd+ and OSM Live Subscription --- the world's your oyster (updated HOURLY) Maps & GPS Navigation OsmAnd+ – Android Apps on Google Play |
and the version without limits is here: https://f-droid.org/repository/browse/?fdid=net.osmand.plus as advertised on osmand github page |
@krzyk |
There are various reasons why osmand or its data files are no solution for streetcomplete. So in my opinion we do not have to discuss this app (which I like a lot and bought plus version and live subscription) in this issue further. |
I can really recommend "Tileless Maps" ( https://github.com/TilelessMap/TilelessMap ). It uses vector instead of raster images. The databases are based on postgis and have the twkb format. |
Okay, but this would mean switching to a completely different rendering library, as far as I see. So this is not really realistic. |
New issue for Tileless Maps: #971 |
Is there any chance to use StreetComplete offline, without Internet-connection abroad. I have osmand installed on my phone and it works fine with all local osm-data. Can I use this ore something similar (e.g. downloading an area first, uploading information later when back home), to work with Street-Complete? |
The quests can be downloaded beforehand and solving them works offline. The map however is online only. What you can do is to (increase the map cache in the settings and) pan the area in different zoom levels where you want to go before you go there. With a little bit of luck, most map tiles will still be in the cache by the time you get there.
Am 18. November 2018 12:53:26 MEZ schrieb GITMichaelK <[email protected]>:
…Is there any chance to use StreetComplete offline, without
Internet-connection abroad. I have osmand installed on my phone and it
works fine with all local osm-data. Can I use this ore something
similar (e.g. downloading an area first, uploading information later
when back home), to work with Street-Complete?
|
This ticket somewhat went down in priority for me after I experienced that mobile Internet is quite available in less developed countries, often faster and cheaper than in Germany. Speaking of South Asia in particular. May I ask where you want to go?
Am 18. November 2018 12:53:26 MEZ schrieb GITMichaelK <[email protected]>:
…Is there any chance to use StreetComplete offline, without
Internet-connection abroad. I have osmand installed on my phone and it
works fine with all local osm-data. Can I use this ore something
similar (e.g. downloading an area first, uploading information later
when back home), to work with Street-Complete?
|
Tobias: Thank you for the program, your effort and response. I've read something about
without seeing the map; this is a mess for me and not really practical. Same with the method to increase the cache: I could not find an acceptable solution to work with.
Sure, rural areas (villages, litlle towns) in Bavaria. Please don't believe, that here is Internet service everywhere. I experienced last year f.e. Russia, Chile, Greece and Spain, almost no issue there. Here is different ... I'd appreciate, if you could increase the priority for this feature again! |
A comment streetcomplete is quite happy off line its the image tiles that
are the problem. Even these if you zoom in they will remain in the cache
so for small areas you can work offline.
What would be nice is the ability to overlay something like osmand behind
streetcomplete.
Cheerio John
…On Sun, 18 Nov 2018, 6:53 am GITMichaelK ***@***.*** wrote:
Is there any chance to use StreetComplete offline, without
Internet-connection abroad. I have osmand installed on my phone and it
works fine with all local osm-data. Can I use this ore something similar
(e.g. downloading an area first, uploading information later when back
home), to work with Street-Complete?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#122 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACUNawxUUhvR9tnac--vaSzEJ4WVRbm-ks5uwUo5gaJpZM4M-GVr>
.
|
I fully agree
OSMand is already available (on my phone) and those maps are updated regularly. To use these as tiles for the StreetComplete-tasks would be the preferred way to solve this (at least in my eyes ;) ). |
OSMand maps were pointed out above to be no good choice due to frequent format changes, moreover downloads are limited in 1 of the 2 versions. What about Mapsforge? It's a stable format, so maintenance effort is limited, map files are offered by many distributors like openandromaps, so StreetComplete is not depending on 1 map supplier, and it is used by many apps like Locus and OruxMaps, so map files exist on many phones. Maybe it's easier to turn the idea upside down, i.e. not making StreetComplete using map files of other apps (weren't filesystem access restrictions changed in Android versions again and again?), but making other apps using StreetComplete? Maybe it's easy to offer different "flavors" of StreetComplete that work as addon within different map apps like Locus or OSMand. These "flavors" do not need to take care about map rendering, GPS position aquisition etc. but just the core feature set, i.e. load & display quests and send the answers. For users, it becomes more convenient, as they do have only one app open for casual mapping instead of steadily changing between 2 apps. |
Even if I don't see any issue with OSMand, I'm really interested to have an offline-usage for StreetComplete. May be, you can give a try to Vespucci by SimonPoole, ref. "Going completely offline with Vespucci". |
Seen the version 11, still without offline-mode. Is there any chance to get it or should I forget abou it? |
This issue is open, it means that it is waiting for someone to implement it. In general, in open source projects you can either implement it by yourself or wait for someone else to do this. There are ways to increase chance for someone working on it, but comments with complaints usually have an opposite effect. For people unable to significantly help GitHub has nice feature that allows to express interest in the feature - reactions allowing to add +1 without sending spurious notifications. |
Poland In Krakow forest within city has big spots without mobile data availability (and at times without even ability to make phone calls). Forest nearby city is completely without mobile data, the same for some rural areas. For quests this is not a problemb at all, current caching is sufficient. But often one needs some context provided by map to answer question and lack of preloading map tiles makes it impossible. For example one of my UX testing sessions was initially going well, then most of it was cancelled as we reached forest without mobile data (Ojców near Kraków). |
It seems that mbtiles are a good idea - supported in mapzen and fairly standard so in case of switching rendering library not all work will be lost. But I wonder about how people are going to get mbtiles (or other data). Reusing Osmand/mapsme data is not feasible (would require constant chasing format changes). I am dubious about possibility of providing our own data. And relying on third party providers (some exist) will cause problems once they disappear. Obviously, it is possible to provide scripts to generate mbtiles (or other format), but how many people will be able to do this? |
MBTiles is just a standard for the format in which a DB table must be in order to be readable (for a library like tangram-es).
So, not people need to get MBTiles, but the app will download an area tile-by-tile into a database table in the right format, downloading from the same source as usual.
The user will have an option in the app to download a certain area for offline use, which downloads the quests (already the case) and the background map. Then, they also need an option to manage their downloaded areas so that they can delete them if they don't need or anymore.
In total, I consider the UX design and UI work the larger part of this feature.
…On August 23, 2019 4:38:51 PM GMT+02:00, Mateusz Konieczny ***@***.***> wrote:
It seems that mbtiles are a good idea - supported in mapzen and fairly
standard so in case of switching rendering library not all work will be
lost.
But I wonder about how people are going to get mbtiles (or other data).
Reusing Osmand/mapsme data is not feasible (would require constant
chasing format changes). I am dubious about possibility of providing
our own data. And relying on third party providers (some exist) will
cause problems once they disappear.
Obviously, it is possible to provide scripts to generate mbtiles (or
other format), but how many people will be able to do this?
|
Very nice that this was implemented 🥇. Will try it out. |
This is a feature request: As it seems, StreetComplete only uses online map tiles & a local cache. It would be nice if it could use downloaded offline maps, like used by e.g. osmand.
The text was updated successfully, but these errors were encountered: