This object is in archive! 
locusaction does not replace existing files
Solved
When a locusaction downloads a .zip file and decompress it, it seems that if some files inside the zip already exist, they are not replaced. I do this to replace 3° SRTM with 1° SRTM (or to update existing outdated 1° SRTM):
<?xml version="1.0" encoding="UTF-8"?>
<locusActions>
<download>
<><![></>
<dest><![CDATA[/data/srtm/srtm-alps-fr.zip]]></dest>
<after>extract|deleteSource|refreshMap</after>
</download>
</locusActions>
In fact, this seems to work if the new file has a different size (e.g. replace 3° SRTM with 1°), but not if it has the same size (e.g. update existing 1° SRTM).
In fact, this seems to work if the new file has a different size (e.g. replace 3° SRTM with 1°), but not if it has the same size (e.g. update existing 1° SRTM).
Hello,
thanks for the bug report. The issue really seems to be in the app not overwriting existing files with the same size.
I'm made a fix (but not tested it), so please give it a try with the next Locus Map version. Thanks
Menion
Hello,
thanks for the bug report. The issue really seems to be in the app not overwriting existing files with the same size.
I'm made a fix (but not tested it), so please give it a try with the next Locus Map version. Thanks
Menion
Replies have been locked on this page!