View Single Post
Posts: 2,006 | Thanked: 3,351 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#1176
Originally Posted by quixote View Post
But even though I have all the tiles I want downloaded to /home/user/MyDocs/.maps/OpenStreetMap I, it simply won't display anything unless it can access a connection.
When I go to Menu > options > map > map layers, I see it's set to use "OSM Mapnik."...
What am I doing wrong?
(I do have the latest update, version .35-and-so-on. I'm using N900.)
Edited to add: I think I'm getting closer: I should probably modify map_config.conf? But if so, how? This is the mapnik entry and possible changes:

Code:
[[mapnik]]                                 [[local]]
  label=OSM Mapnik                       =local
  url="http://c.tile.openstreetmap.org/"  ="file:///home/user/MyDocs/.maps/OpenStreetMap\ I/"      ????
  type=png
  max_zoom=18
  min_zoom=0
  folder_prefix=OpenStreetMap I
  coordinates=osm
Quick reply...
Theoretically, you don't need to modify anything to make it use local tiles. Just make sure that sqlite option in Modrana is turned off, I guess, so that it would not look for a database file? And there is no need to change 'url="http://c.tile.openstreetmap.org/"' in the map_config.conf; thanks to 'folder_prefix=OpenStreetMap I', it already knows where to take the tiles from. Also, could you go into the folder /home/user/MyDocs/.maps/OpenStreetMap\ I/ and check the folder structure?
Best wishes.
 

The Following 2 Users Say Thank You to Wikiwide For This Useful Post: