View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1851
Originally Posted by otsaloma View Post
Regarding Yandex, they use elliptical Mercator, in which the conversion between latitude/longitude coordinates and Mercator
coordinates differs from the more common spherical Mercator, but the zoom levels and tiling logic is otherwise the same. See discussion at the Poor Maps thread, formulas at OpenStreetMap wiki and my implementation at GitHub.
Interesting! Looks like I will have to rework the map rendering a bit to make use of the projection fix as it is currently heavily based on the assumption that all layers use the web Mercator projection.

Also I guess overlays fall out of the window with these layers, at least without reprojecting the tile images.

Originally Posted by marmistrz View Post
I'm unable to rebuild mapnik anymore. So I can't really fix the bad path. The build silently fails, see https://garage.maemo.org/builder/fre...log.FAILED.txt

Run standalone, the g++-4.6 command returns 1 without printing anything as well.
That sucks! :-( This reminds me - any idea whats the status of updating the ancient toolchain in the Maemo Autobuilder ? I think that would help quite a bit with stuff like this and have heard something about this being planned but have no idea how far it is.

Originally Posted by zod View Post
Last month I wanted to cache tiles for several areas and best tool I found was Mobile Atlas Creator (older versions also allow you to download gmaps) .
Perl script attached that converts from RMaps/Big Planet SQLite format used in MOBAC to Modrana's SQLite. Actually its modified Beermad's script.
Cool, thanks! Can I add it to the modRana page about import scripts ?

BTW, is there a specification of the format somewhere ? I have recently rewritten the modRana tile storage code to a standalone module Python module, so it is now much easier to add support for new tile storage formats. So provided that the format is not too complicated it could be possible to support it directly in the modRana tile storage code. Users would then just drop their RMaps/Big Planet SQLite tile bundles to the respective layer folder and modRana would detect the bundles and query them when looking for tiles.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 5 Users Say Thank You to MartinK For This Useful Post: