Closed legrostdg closed 7 years ago
This would be nice to have. Otherwise have to look through one of the building scripts such as https://github.com/osmandapp/OsmAnd-tools/blob/master/obf-generation/hillshade/gdal2tiles_gray2alpha_sqlite.py for the hillshade tile database generation.
The class responsible for this support is this https://github.com/osmandapp/Osmand/blob/master/OsmAnd/src/net/osmand/plus/SQLiteTileSource.java#L33. Though I think we could a small Readme.md file and show the table structure. OsmAnd basically supports "BigPlanet" format and slightly modified format in order to change zoom numbering. It also adds some columns to the format to support tile expiration and external url to download.
What needs to be done for this task is create a small Markdown table describing tables and colums we use. Short description from me:
OsmAnd sqlite is based on "Bigplanet sqlite" which was supported by MOBAC before OsmAnd. OsmAnd added couple of columns & tables to extend the format:
Table "info":
Table "tiles"
@sonora Could we please added to documentation or to MD file somewhere.
I will put this in a TechArticle on our web site, ok?
Good
Ok, see here: http://osmand.net/help-online?id=technical-articles#OsmAnd_SQLite_Spec
It is not pretty yet, but that is work required in general on our overall style sheet or table setup used there.
But f there is a content issue, please let me know here.
It would help inter-compatibility if the specification of the custom sqlite format used by Osmand could be published somewhere in the doc.