Frederik Sdun wrote: > * Baruch Even <[email protected]> [01.10.2009 20:10]: >> Hi, >> >> Frederik Sdun wrote: >>> Hi, >>> >>> I try to package some maps for navit. Because I don't want to waste hard >>> disk space on the SHR server I want to use postinst and postrm and >>> download the maps from cloudmade.com [0]. >>> The problems: >>> * maps are really big and you might get problems if you don't use a >>> memory card >>> * navit needs a fixed directory for maps in the config file(see PATCH >>> #3) >>> * How should the versioning be done (cloudmade updates weekly) >>> >>> My ideas: >>> * The sze of the maps must be known before downloading >>> * figure out which partition has enough space left, else bail out >>> * create a link to /usr/share/navit/maps >>> * remove everything on postrm >>> >>> My new problems: >>> * My test package for andorra is empty >>> * Some fights against navit compilation >> >> Why bother packaging the maps? They change weekly and unless the repo is >> updated fast enough the users will be left behind. My thinking for this >> was to create a script that downloads the data for the user and updates >> it for him. >> >> Attached is the script I wrote, I'm not even sure at what state it is. I >> think it works. >> >> My plan for the script was to run it from if-up.d so that it will update >> whenever the user connects to the network, but that's pretty excessive. >> >> Baruch > > Your script is nice, but I don't want an external app. Either a package or we > can contribute a > plugin to navit for downloading maps from cloudmade? Anyone has > experience with this? >
You can package it as an additional package or even add it to the navit package. Unfortunately I have too many things in my hands and too little time to work on the script or its adoption anywhere. Baruch _______________________________________________ Shr-devel mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-devel
