Importing a GPX file using XML commands
Hi Locus Support,
I am using Locus Map Classic 3.69.2 on an Android 13 phone.
Vector maps like OpenAndroMaps can be downloaded and imported by Firefox and by opening a specially coded html-page referring to a xml-file.
Is there also a similar feature to import a gpx-file ?
I tried the following code on the basis of the xml code for importing maps, but changed some parameters as a trial, here: "<after>import</after>"
<?xml version='1.0' encoding='UTF-8'?>
<locusActions>
<download>
<><!></>
<dest><![CDATA[//storage/emulated/0/DCIM/gpstrack.gpx]]></dest>
<after>import</after>
</download>
</locusActions>
The automatic download works fine, but the final import within Locus failed.
Does anybody know, if that feature works and what the correct parameter are like ?
Thanks in advance.
Hello,
please try <after>importData</after
More here: https://docs.locusmap.app/doku.php?id=manual:advanced:customization:actions
Regards,
Zdenek, Locus team
Hello,
please try <after>importData</after
More here: https://docs.locusmap.app/doku.php?id=manual:advanced:customization:actions
Regards,
Zdenek, Locus team
Replies have been locked on this page!