Copying obf map files for Osmand+

1,127 views
Skip to first unread message

Albert

unread,
Sep 24, 2017, 2:04:53 AM9/24/17
to Osmand

I installed Osmand and then downloaded from  my web browser a state map and copied it to a Osmand directory from Windows Explorer. ( WiFi connection is slow and sometimes may take hours or isn't able to downland maps from Osmand.)

Computer\C811\Internal Storage\osmand\osmand (An Osmand directory found from windows explorer)

Android OS filepath from Osmand Settings > General Settings > Data storage folder = /storage/sdcard0/osmand/osmand

Ok that works well as all I need to do is download an obf map files from http://download.osmand.net/rawindexes/  and copy it to the android via a usb cable and windows explorer. (file is downloaded as php file renamed to zip file and the obf map file is then extracted)

However when I upgraded Osmand+ I found I'm not able to find a filepath from Windows Explorer where to store  obf map files for Osmand+.

Osmand+ Settings > General Settings > Data storage folder = /data/data/net.osmand.plus/files/osmand

The file system filepath is Android OS (based on Linux) so essentially is Linux file system path. Not a Windows base file system path. I'm not certain why but I'm able to find a Osmand data storage folder from Windows, but not Osamd+.

Haven't yet figured a method to copy a obf map file from Windows  for Osmand+ to load and work with.

I think  root privileges are required to access filepath /data/data/net.osmand.plus/files/osmand from the Android OS and phone.

I want to be able to copy OBF map files from the Windows Explorer for Osmand+, same as when copying map files for Osmand.


Harry van der Wolf

unread,
Sep 24, 2017, 3:30:10 AM9/24/17
to osmand
The /data folder is a protected and "hidden from user" folder. Every app has its own /data/app and /data/data folder and only access to these 2 folders. You can NOT access those folders unless you have rooted your device. This is for safety to make sure that malware can't touch others programs folders and do nasty things.

Go into your OsmAnd settings and change the path to something else. The /data path is also on internal memory. If you have an SD-card for your maps then point the "data storage path" to your sd-card.

--
You received this message because you are subscribed to the Google Groups "Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osmand+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Manfred

unread,
Sep 24, 2017, 6:14:57 AM9/24/17
to Osmand
Hi!

I do this using Total Commander with FTP AddOn on my phone, and an FTP-Server on my PC, running Linux, via WLAN.
My phone is NOT rooted!

Regards
Manfred
Message has been deleted
Message has been deleted

Albert

unread,
Sep 24, 2017, 6:40:23 PM9/24/17
to Osmand


I ended up removing Osmand and now only have Osmand+ installed. Before uninstalling Osmand I did try to move the data folder to another location but nothing really happened.

Osmand files from an Android ES file manager (has root privileges) and Windows Explorer the Osmand data folder is in the same location with it's map files.

After uninstalling Osmand the same folders still exist and an Osmand data folder is still visiable at the same location in the Windows manager. I'm uncertain if it's just left over, never deleted after uninstalling,  or is being used by Osmand+ for it's map and data files.

From  Osmand+  it's Data Storage Folder = data/data/net.osmand.plus/osmand

From Windows Explorer I see Osmand data and map files from  Computer\C811\Internal Storage\osmand where previously when Osmand was installed data files were seen from Computer\C811\Internal Storage\osmand\osmand

From ES File Explorer/manager I'm able to find Osmand maps and data under sdcard0\osmand

and able to view data files from  sdcard0\osmand from the Windows Explorer path - Computer\C811\Internal Storage\osmand

However two adjacent state obf maps downloaded and copied to Computer\C811\Internal Storage\osmand and show up in the ES eXplorer running from the Android Osmand+ doesn't recognize these maps as if they don't exist. When trying to access an adjacent state Osmand+ prompts me to download it's map.

So apparently Osmand+ either isn't recognizing the download maps or has it's maps stored somewhere else as I previously had downloaded a state and world map from Osmand+


Harry van der Wolf

unread,
Sep 25, 2017, 2:43:17 AM9/25/17
to osmand
the folder /sdcard0/osmand is the same as /internal storage/osmand (or storage/emulated/0)
They are all aliases.

Android calls internal memory sdcard0 or simple sdcard or one of the above.

A real external sdcard is called /sdcard1 or /ext_sdcard or /storage/sdcard1 or /storage/ext_sdcard.

So your /sdcard0/osmand is the same as /Internal Storage/osmand

You won't be able to access /data/data/ with an external program or computer.

Secondly: the map osmand is pointing to is the "base" map.
OsmAnd does not tell you where the maps are stored. Osmand tells you where the data(!) is stored. So if Osmand is pointing to " data/data/net.osmand.plus/osmand", it means that the map obf files are under " data/data/net.osmand.plus/osmand/files"


I know it is a change of mind for windows users, but you have to get used to that :)

Did you ever had a look at the FAQs? See http://osmand.net/help-online#change_maps_dir



Albert

unread,
Sep 25, 2017, 5:42:59 AM9/25/17
to Osmand


No I haven't really looked at many faqs or much of the documentation for the Android phone for various reasons.

I'm still getting familiar with the Casio rugged phone which is my first touch phone with a lcd screen. Newer cell phones even though they have many new functions and features you can't find with the older cell phones I don't find them to be all that user friendly and  easy to use. One complaint is screens and apps keep popping up, some of which is advertising to get you to buy stuff.

I prefer to use devices such as a cell phone for more specific tasks and purposes and not to continually deal with changing screens, popup windows, popping up apps, ads, etc.

I'm still in the process of removing or disabling  unneeded apps and all the clutter. Possibly installing another gui that doesn't continually prompt me for things, switch to other apps, screens, etc.

As for Osmand,  Osmand+ is installed and running ok with my state and world map. I'm finding to be a good basic map application to run on a cell phone but  it's standard maps even though has a "topo" setting doesn't really produce topographical  maps. Back Country Topo would be a better choice for topographical maps. However with Back Country from what I've read doesn't have downloadable state or region maps. You first select an area with your finger from a touch screen and then download the area you selected. A large area can take up quite of bit of internal or sd card storage space.

My experience with mapping software's over the years has been with PC apps installed from a cd or dvd installed onto a laptop with GPS. Imo pc map apps are still  in a different class than Android devices and cell phones with map apps. However the mobile device apps seem to be catching up possibly replacing some of hand held gps devices built only for a singular purpose.

I guess it may depend on how much your into mapping. Partially because of the screen size smaller devices don't usually do as well for gps and mapping. A larger screen definitely has it's benefits when used for vehicle navigation.

However I have a Magellan Maestro and find it works perfectly for vehicle navigation. In many ways better than a laptop running mapping software. Turns on in a few second seconds producing a map screen with your current location. Has all the features necessary  when driving and navigating a vehicle.

 
 
Reply all
Reply to author
Forward
0 new messages