logo separator

[mkgmap-dev] Splitter --cache parameter

From frmas frmas at free.fr on Sun Aug 23 20:48:51 BST 2009

Chris Miller a écrit :

Hello,

> "Be careful to delete the cache files if you want to rerun the splitter on 
> a different .osm file, otherwise the previously cached data will be used 
> from the original .osm file instead. (I'll probably add a check for this 
> situation, but there's nothing in place to prevent it just yet.)"

Oups, I read your message too fast ;-)

> Basically if you specify --cache and there's already some cache files in 
> existence, they'll get used and any .osm files that you specify on the command 
> line will be ignored. Until I address this, you could try creating different 
> directories to use as a cache for each .osm file you want to process. eg:
> 
> java -Xmx2000m -jar splitter.jar --cache=switzerland switzerland.osm.bz2
> java -Xmx2000m -jar splitter.jar --cache=andorra andorra.osm.bz2

Until you address that, a "rm -f nodes.bin* ways.bin* relations.bin*" at
the end of my batch file did the trick. ;-)
Thank you again Chris. Francois



More information about the mkgmap-dev mailing list