Hello Simon,




Could you use the OBF format, and possibly reuse (for now) the pre-generated filesĀ 
You are asking whether I can completely start over again, stop using the library libosmscout and start writing another library? Well I don't feel like doing that but feel free to do it.

The uncompressed OBF files are a bit less than 2x the corresponding ZIP file.
For detailed countries (so huge OBF), the OSMAND project has split those countries in regions.
The generated binary files are usually smaller than the obf file

In addition, I remember a very recent discussion about privacy concerns if the maps are shared among applications.
That is, a third-party app could check what tiles are cached, thus figure out where the user has been.
I could not find the exact discussion and Google search in my e-mails did not help.
I would say that this is not a huge concern for the vector maps, because they cover a whole country.
Thus, the privacy would be for an app that was forbidden to find the location (no access to GPS, neither the MCC/MNC SIM details).
But still, the app can easily deduce the country anyway simply from GEOIP.
OSMScout doesn't use tiles to render the map, it takes the binary file and renders in memory.

I think that having a way to support shared OBF files, so apps can reuse them, would be a big win.
If an app needs OpenStreetMap maps for a non-cached region, then the service that deals with the OBF files
would ask the user "Hey, you are trying to view the maps for Poland, shall we download these?".
Sure but why does it need to be obf? the osmscout files could be used in a similar way

Simos

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to     : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp

Reply via email to