I have a 3.3GB .osm file and I'm trying to convert it to .map with Osmosis with the following
osmosis --read-xml mexico.osm --mapfile-writer file=mexico.map
but I get the java.lang.OutOfMemoryError
, I guess because of the file size.
Is there another way to convert it?