Closed hbeni closed 8 months ago
/data/EDRT.gpx
contains:
<?xml version="1.0" encoding="UTF-8"?>
<gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" creator="SkyVector" version="1.1" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
<rte>
<name>EDGX-EDRT</name>
<rtept lat="49.305000" lon="8.660000">
<name>EDGX</name>
<overfly>false</overfly>
</rtept>
<rtept lat="49.274973" lon="8.652283">
<name>SV001</name>
<overfly>false</overfly>
</rtept>
<rtept lat="49.333311" lon="8.557320">
<name>SV002</name>
<overfly>false</overfly>
</rtept>
<rtept lat="49.369542" lon="8.391838">
<name>SV003</name>
<overfly>false</overfly>
</rtept>
<rtept lat="49.493240" lon="8.295021">
<name>SV004</name>
<overfly>false</overfly>
</rtept>
<rtept lat="49.665983" lon="8.012810">
<name>SV005</name>
<overfly>false</overfly>
</rtept>
<rtept lat="49.787604" lon="7.654381">
<name>SV006</name>
<overfly>false</overfly>
</rtept>
<rtept lat="49.794253" lon="7.461433">
<name>SV007</name>
<overfly>false</overfly>
</rtept>
<rtept lat="49.725056" lon="7.319984">
<name>SV008</name>
<overfly>false</overfly>
</rtept>
<rtept lat="49.842986" lon="6.915550">
<name>SV009</name>
<overfly>false</overfly>
</rtept>
<rtept lat="49.853834" lon="6.841358">
<name>SV010</name>
<overfly>false</overfly>
</rtept>
<rtept lat="49.826157" lon="6.804966">
<name>SV011</name>
<overfly>false</overfly>
</rtept>
<rtept lat="49.845322" lon="6.766668">
<name>SV012</name>
<overfly>false</overfly>
</rtept>
<rtept lat="49.864167" lon="6.787833">
<name>EDRT</name>
<overfly>false</overfly>
</rtept>
</rte>
</gpx>
This fixes the issue for me:
diff --git a/Route.jl b/Route.jl
index 18513ef..3148330 100644
--- a/Route.jl
+++ b/Route.jl
@@ -28,7 +28,7 @@ module Route
files = Commons.findFile(fileName)
typeOfFileSelected = Nothing
for file in files
- if file[3] > date
+ if file[3] >= date
# Test the file
try
if idTypeOfFile > 0
Fixed by 1d8654299f36853f in master, thank you!
Today I tried to load the GPX export from SkyVector. The route is: https://skyvector.com/?ll=49.82894740601564,7.846984875039195&chart=301&zoom=5&fpl=%20EDGX%204916N00839E%204920N00833E%204922N00824E%204930N00818E%204940N00801E%204947N00739E%204948N00728E%204944N00719E%204951N00655E%204951N00650E%204950N00648E%204951N00646E%20EDRT
Command:
julia photoscenary.jl --route /data/EDRT.gpx -p /data/OrtoPhoto/test/ -s 4 --over 1 -r 10