Thanks everyone. I’m happy to report success with osmosis. I managed to chop the england.osm file into 4 (different sized) fragments, largest fragment size = 313KB. (I actually figured this out late last night before Lambertus’ post, using the example he quotes as a model, but it was too late then to stick something up here.)

The good news for me is that both the osmosis step and the subsequent mkgmap step now both run easily on my smaller machine, taking about 5 mins each. This is much more convenient than borrowing the larger machine each time I want to make a map. Also, I don’t like the rendering of the cloudmap “error edition”, which I also tried.

I have to say that I’m a little concerned to discover that the main tool we have for doing this (mkgmap) is designed such that it doesn’t scale. In the context of a continually growing database this doesn’t seem very sensible design. The osmosis command line is very clunky too; mine was 194 characters long even using command abbreviations. There must be some limit on command line length in Windows cmd, don’t know what it is off the top of my head; in DOS it was 127 chars. If in due course more fragments are needed… But this should be easy to fix (eg accept the command line args from a file). Or fragment the fragments in 2 (or more) osmosis steps…

I think it would be useful to update the http://wiki.openstreetmap.org/index.php/OSM_Map_On_Garmin page to reference osmosis explicitly and make the chopping up step clearer, and maybe remove references to osmcut at least for Windows systems. As a newbie I lack the confidence to do this myself (not even sure how to edit wiki pages). I would not have found osmosis without help from this forum.

Two final things: I built my map using the --gmapsupp option on mkgmap, and I copy the gmapsupp.img file to the GPS either using “USB mass storage” mode, or by taking the SD card out and putting into a card reader on my PC.

  1. Lambertus hints that sendmap might send the mkgmap output files directly without needing to combine them - is this correct?

  2. I’ve been taking the SD card out because I’m a bit concerned that the micro-USB port on the GPS (it’s an Etrex legend HCx) doesn’t look very robust and might not survive too much connecting and disconnecting of the cable. Is this a known problem?