hi, is there a way to generate tiles for hi resolution devices like sony xperia z which is 1920x1080. the existing tiles are way too small that can't see the fonts and roads at all. asked 10 Sep '13, 13:30 old guy aseerel4c26 ♦ |
i managed to setup my tile server with osm and mapnik and set the tile image scale to 2. the tiles are now more readable as the roads and fonts are doubled in size. however the text are being clipped here and there if they exceeded the tile, and the roads are getting too big in lower zoom levels (say below 10). seems has a lot of works to do on the styling on text size, word wrapping and road size. but that likely the right way to go i guess? answered 11 Sep '13, 05:43 old guy 2
Using an internet search engine with "osm tiles retina" gives you a bunch of hits where hi-res tiles are topic already ... and there are already solutions in the real web world. Maybe you can find a solution for your concrete problem?
(11 Sep '13, 08:33)
stephan75
searched for days already and not particularly useful to a native app. some closer directions are either use cloudmade hi-res tiles or gen-it-yourself. which is what i am heading now.
(11 Sep '13, 08:54)
old guy
|
My mobile has a resolution of about 250 dpi and I am having to work round it by putting my device to zoom 15, going online to let it download the maps for that zoom level, then putting it offline forcing it to magnify the level 15 tiles at zoom 16 and 17. That works, but it is clumsy so I'll be interested to hear a "proper" answer to this too. answered 10 Sep '13, 15:37 harg @harg thanks for the info. i am working on an app using osmdroid. that would be too much work and not quite suitable for phones with small storages. and i am heading with 320dpi and above so that's not quite feasible to me i think. can't make it all the way through zoom level 13/14 up to 17/18.
(11 Sep '13, 05:39)
old guy
|
For info - are you talking about the tiles that are viewable via the www.openstreetmap.org website here, or some other website or application?
@SomeoneElse thanks for reply. i am working on an app with osmdroid. as it only draws the tiles per its real pixels, features drawn on a 256x256 tile is way too small to be readable on a 720p or HD devices.
In case you do not want to "generate" tiles yourself … currently there are lyrk's high-res tiles available (signup/fee needed if you want to use them). Example comparision (not sure if that will show correctly on a high res device, you can see the high resolution of the tiles by using your browser's zoom).