Cannot Find Maps Generated by OSM2Garmin

129 views
Skip to first unread message

Sanramonrover

unread,
Mar 21, 2014, 12:26:41 PM3/21/14
to osm2garm...@googlegroups.com
I am very new to OSM but since Garmin has stopped producing maps that will fit my Garmin GPS60C, I am trying it.  It looks promising!
I processed the Canada region twice. The first time the program seemed to stop at 98%, but the EXIT sign was on.  The second time it made 100% and the EXIT sign was on.
Now I want to import the maps into Garmin BaseCamp or Mapsource.  However, using Windows File Explorer there is no directory under USERS where the maps should have been stored.  Also there is no installer.bat file to be seen.
How else can I find and install the region into Base Camp?
Thanks

Frantisek Mantlik

unread,
Mar 21, 2014, 6:23:46 PM3/21/14
to osm2garm...@googlegroups.com
Dear user,

you can find location of maps on your computer easily:

1. Start Osm2garmin application. Do not re-start processing of your maps!
2. Open the Options dialog (click on the globe toolbar icon).
3. Select the "Processing parameters" tab.
4. "Maps directory" field shows exact location of your maps. Each region can be found in a subdirectory of the Maps directory.

To install given region to Mapsource/BaseCamp, simply run "install.bat" from the region directory.

Sanramonrover

unread,
Mar 21, 2014, 8:50:54 PM3/21/14
to osm2garm...@googlegroups.com
Thank you Frantisek, I did that and see that those are the places the maps should be.  But there are no directories, and Windows File Explorer cannot find them either.  Now when I try to reopen OSM2Garmin, I get a constant error "JVM Creation Failed".  So I cannot look at that again.

Sanramonrover

unread,
Mar 21, 2014, 8:58:18 PM3/21/14
to osm2garm...@googlegroups.com
I did manage to open OSM2Garmin, only after rebooting the computer.  This is where my maps directory Should be:
C:\Users\Fred\AppData\Roaming\osm2garmin\dev/maps/
but there are no directories such as /AppData.......

Perhaps OSM2Garmin did not completely finish creating the maps?


On Friday, March 21, 2014 10:26:41 AM UTC-6, Sanramonrover wrote:

Frantisek Mantlik

unread,
Mar 22, 2014, 11:34:18 AM3/22/14
to osm2garm...@googlegroups.com
On many Windows versions the AppData folder is hidden You have to enable Hidden and System files in Folder options in order to be able to access it. 

Sanramonrover

unread,
Mar 22, 2014, 12:01:34 PM3/22/14
to osm2garm...@googlegroups.com
Thank you again Frantisek,
Now I have searched for hidden files.  I did find subdirectory called \AppData\  with many entries pertaining to Windows, etc.  But there is no subdirectory inside \AppData\  called Roaming.

Is OSM2Garmin supposed to create this subdirectory \Roaming\ ?

On another problem I see this message at the top of the OSM2Garmin screen< Only 1334 mb of memory available. Address indexes will NOT be generated - at least 1800 mb would be needed. Help
So I followed the help directions to change the config file using Notepad.  But either Windows or the computer will not allow me to save it as a .conf file into the OSM2Garmin directory.  It will only allow it to be saved as a TXT file.  Even when I change the extension to .conf, it adds .TXT after the.conf.  It will not copy and paste the new config file in place of the original.

I am the administrator account on this computer, and it is the only account on this computer.
I apologize for so many questions and problems!
Regards, Fred G


On Friday, March 21, 2014 10:26:41 AM UTC-6, Sanramonrover wrote:

Frantisek Mantlik

unread,
Mar 22, 2014, 3:40:59 PM3/22/14
to osm2garm...@googlegroups.com
Roaming is the folder created by system at user creation time. Osm2garmin, like many other applications, makes it's subfolder inside this folder. If you can't find this folder, you are most probably searching in a wrong AppData folder.

Concerning the change of config file, please note the following:

1. Windows will not get you more than about 1300 Mbytes of memory if at least one of the following is true:
- your Windows installation is a 32 bit version
- your Java installation is a 32 bit version.
Most Internet browsers install automatically 32-bit version of Java on both 32-bit and 64-bit Windows. You will be most probably required to install 64-bit version manually.
You can find information about Windows and Java version which Osm2garmin runs on in the About dialog.

2.  Before updating config file, it is a good idea to give a try to a change of the Osm2Garmin starting command first. Follow the example in the FAQ section of the manual.

3. It is not enough to be an administrator in Windows to be able to edit the config file. You have to run the editor (notepad) in elevated mode. The easiest way to achieve this is to select "Run as administrator" context menu option when starting Windows Explorer and open the file from the elevated explorer window.

Sanramonrover

unread,
Mar 22, 2014, 7:08:53 PM3/22/14
to osm2garm...@googlegroups.com
I guess I do not know enough about computers and programs to make OSM2Garmin work.  I do not know when the directory \Roaming\ should be created, and by what program.  I cannot find such a directory anywhere on my computer, even looking with the File Explorer search hidden items.

From your advice I was able to open Notepad with the elevated mode.  I have not yet changed the config file with this method.  Maybe it would do no good anyway.
I did try changing the start command, by right clicking on the desktop icon, and adding [ -J-Xmx2000m] (no brackets, and with 1 or 2 spaces before -J-XmX2000m) into Target: "C:\Program Files (x86)\osm2garmin_1.2\bin\osm2garmin.exe", and tried it also in Start in: "C:\Program Files (x86)\osm2garmin_1.2".  Neither made the program run at all!

And every time OSM2Garmin fails, and I try to restart it from the desktop icon, I get error [JVM Creation Failed]. I have to reboot the computer to start the program again.

Because I see OSM2Garmin stored in C/ProgramFiles(x86)/OSM2Garmin_1.2, I believed it is running on the 64bit system. Also Java is stored in C/ProgramFiles(x86)/Java/jre7, so I thought it was running on 64 bit.

I had hoped to be able to use OSM2Garmin and appreciate your patient help.  I am sick of Garmin because their older maps that I have (City Select North America v7 and MetroGuide Canada v4) will not load into MapSource or Base Camp on my new computer running Windows 8.1.  As well, I understand their new map product City Navigator has map segments too large to run in my Garmin GPSMap60C.
Regards, Fred G

On Friday, March 21, 2014 10:26:41 AM UTC-6, Sanramonrover wrote:

Frantisek Mantlik

unread,
Mar 22, 2014, 8:16:44 PM3/22/14
to osm2garm...@googlegroups.com
Fred, I am sorry for your problems. Sometimes it is a pain to make the staff working. It is not the fault of the Osm2Garmin software, that it's configuration can be difficult. It is given by the nature of Java support for programs with big memory requirements.

I would like to draw your attention to the fact that the Program files (x86) directory is intended mainly for non-64bit programs. The Osm2garmin software itself is not 32/64bit sensitive because it is a native Java application, but Java itself is and 32-bit Java is installed in this directory.

My recommendation to you in your situation is to find a friend of you who is experienced Windows user and will be able to help you with the setup of the proper environment for the software on your computer.

Sanramonrover

unread,
Mar 22, 2014, 9:00:31 PM3/22/14
to osm2garm...@googlegroups.com
Thank you again Frantisek.  I had no doubts that OSM2Garmin was at fault, but either my own knowledge, or the idiocies of Windows and such!  I will try to find someone locally who can assist me.
Regards, Fred


On Friday, March 21, 2014 10:26:41 AM UTC-6, Sanramonrover wrote:
Reply all
Reply to author
Forward
0 new messages