Splitting output files into 4Gb chunks

Former Member
Former Member
I use the cycling maps from velomap.org on my Edge 1000. I've installed the velomap for Europe into Basecamp, but if I select more than about 1/3 of the tiles on the map for installation to the SD card in the Edge 1000, Basecamp complains that the result will exceed 4Gb and refuses to proceed. Instead of having to manually select subsets of the tiles on the map, install, rename installed file, select a different subset, install, rename, etc...it would be useful if I could just select the tiles I want, even if the result exceeds 4Gb, and Basecamp automatically handles splitting the output into multiple files <4Gb in size.
  • You can copy the maps directly to the SD card (you don't need to use Basecamp for that).

    If your computer has a SD card reader, copying to the microSD card in that will be much faster (this might matter if you are copying multigigabyte files).

    I get Openstreetmap maps from the following website. One advantage is that it lets you create maps for just the region you need. Select "Enable manual tile selection" and then click on the rectangles on the map.

    http://garmin.openstreetmap.nl/
  • Former Member
    0 Former Member over 9 years ago
    You can copy the maps directly to the SD card (you don't need to use Basecamp for that).

    Actually, no. If I unzip the velomap Europe files and use gmt.exe to generate a gmapsupp.img, the resulting file is 12.2Gb in size, much larger than the FAT32 file system can support. If I copy all the individual map tile img files to the SD card, the Edge 1000 stops loading them after the first couple of dozen tiles, as I can see by looking at map information to see which maps are enabled. Hence my question about Basecamp being able to automatically split a selection that would result in a file > 4Gb.

    If your computer has a SD card reader, copying to the microSD card in that will be much faster (this might matter if you are copying multigigabyte files).

    Yes, I do that as a matter of course. Why on earth do Garmin GPSs still only support USB1, given that USB2 has been around for over 15 years and USB3 for almost half that long.

    I get Openstreetmap maps from the following website. One advantage is that it lets you create maps for just the region you need. Select "Enable manual tile selection" and then click on the rectangles on the map.

    http://garmin.openstreetmap.nl/

    Yes, I've used those maps in the past. But being able to select map tiles is the same functionality that I have in Basecamp once I have the Europe maps installed.
  • Actually, no. If I unzip the velomap Europe files and use gmt.exe to generate a gmapsupp.img, the resulting file is 12.2Gb in size, much larger than the FAT32 file system can support. If I copy all the individual map tile img files to the SD card, the Edge 1000 stops loading them after the first couple of dozen tiles, as I can see by looking at map information to see which maps are enabled.

    12.2 GB is much bigger than I've ever seen for map files. That seems really odd to me.

    How many individual files are you talking about? It wouldn't surprise me that only a dozen or so map files are supported.

    Do you really need all of Europe?

    It seems like you might not be using the simplest way to get maps on to your device.

    Yes, I do that as a matter of course. Why on earth do Garmin GPSs still only support USB1, given that USB2 has been around for over 15 years and USB3 for almost half that long.

    The 800 supports "USB 2.0 full speed", which is a 12Mbits/s transfer rate (the same transfer rate for USB 1.1). The only situation where the speed matters is transferring large maps, which is something that most people aren't doing frequently (one can always set it up to copy the map while you sleep). Normally, there's no reason that a higher speed is that useful.

    http://support.hp.com/my-en/document/c00022531

    Yes, I've used those maps in the past. But being able to select map tiles is the same functionality that I have in Basecamp once I have the Europe maps installed.

    I'm assuming you are doing this using "Maps -> Install Maps on device -> MapInstall" in Basecamp.

    I suspect that the Basecamp ability to select map tiles is mostly to support devices with very little memory and that only support one map.

    That website creates one img file containing the tiles you've selected. One issue with the img files from there us the internal names and map ID numbers are always the same. You might need to use another program (JaVaVa's device manager) to change them so you can enable multiple maps from that site.

    There are other sources for maps. This splits northern Europe into 3 files.

    http://www.openfietsmap.nl/downloads/europe

    What region are you trying to create a map for?
  • I think OP's map is similar to pr based on OSM maps which are not custom maps, but maps that have been converted to Garmin's map format. There is or was a tile limit as well as a size limit for maps in Garmin's format on devices. The size limit is 4 GB. The tile limit I am unsure of 2000?, 4000?, something like that.

    I believe the OP wants a feature in the Map download code that would provide the option of having the software automatically split a large map or multiple maps into multiple <= 4 GB files.

    My only concern would be how devices handle > 4 GB of map data. I am not sure if all the maps were enabled whether the devices could successfully navigate from one file to another. A user may have to disable one file and enable the next for proper function. In such a case, one would probably want overlap of the map areas, which would be best handled by the user rather than computer.

    Perhaps someone has experience with this?
  • I believe the OP wants a feature in the Map download code that would provide the option of having the software automatically split a large map or multiple maps into multiple <= 4 GB files.

    Yes, he wants such a feature. It seems reasonable to expect he won't get it.

    Presumably, what he really needs is an appropriate map installed on his device. There are other ways of doing that.

    Lots of people use these devices in Europe and the US without the issues the OP is having. There are lots of sources for OSM maps in the Garmin format.

    My only concern would be how devices handle > 4 GB of map data. I am not sure if all the maps were enabled whether the devices could successfully navigate from one file to another. A user may have to disable one file and enable the next for proper function. In such a case, one would probably want overlap of the map areas, which would be best handled by the user rather than computer.

    Perhaps someone has experience with this?


    It's possible that there could be a problem if his routes cross over two separate maps. But without more information, we don't know if that's a concern.

    The website below allows you to create maps for just the region you need. Which would avoid the possible two map problem.

    http://garmin.openstreetmap.nl

    There are other ways of getting maps than whatever approach the OP is using (an approach that seems overly cumbersome and isn't working anyway). There is no indication that it's necessary to use that approach.

    Maybe, it makes more sense to do something else.
  • Former Member
    0 Former Member over 9 years ago
    What I've found is the following:

    1. If I remove the SD card from the GPS and put it in an SD card reader, Basecamp rocognises it but complains and won't proceed if the number of map tiles selected for install would exceed 4Gb.

    2. If I leave the SD card in the Edge 1000 and connect it via a USB cable, so that both the internal storage and SD card are mapped as separate drives, Basecamp asks if I want to transfer *all* the maps I have in Basecamp to the Edge 1000, and automatically handles splitting them to keep file sizes under 4Gb. As you can see from the file timestamps, the whole process took over 14 hours:

    27/11/2015 01:55 PM 1,617,690,624 velomap_australia-oceania_06.11.2015.img
    27/11/2015 05:24 PM 3,177,185,280 velomap_europe_07.10.2015.img
    27/11/2015 08:59 PM 3,264,217,088 velomap_europe_07.10.2015 2.img
    28/11/2015 12:16 AM 2,989,490,176 velomap_europe_07.10.2015 3.img
    28/11/2015 03:45 AM 3,159,359,488 velomap_europe_07.10.2015 4.img


    The 800 supports "USB 2.0 full speed", which is a 12MB/s transfer rate (the same transfer rate for USB 1.1).

    Actually, the max data transfer rate for USB 1.1 is 12Mbit/s, not 12MB/s, and the max transfer rate for USB 2.0 is 480Mbit/s. That's a 30:1 speed ratio, which, very co-incidentally, is also the speed ratio I see between copying maps to the SD card when it is in an SD card reader, and copying maps to the SD card when it is still in the Edge 1000. If you look at the timestamps on the files above written by Basecamp and work out how long each of the Europe files took to write, the transfer rate is less than 300KB/s, whereas I get about 12MB/s going via the SD card reader...