[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gpxlogger with depth storing
From: |
Владимир Калачихин |
Subject: |
Re: gpxlogger with depth storing |
Date: |
Mon, 7 Nov 2022 11:39:20 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 |
06.11.2022 23:29, Gary E. Miller пишет:
gpx has no field for depth. It can include other XML schemas, so you
need to identify one that allows depth that gpxlogger can use. Then
changing the code is easy.
Today, there is apparently only one documented scheme left to store
depth. This is a Garmin extensions:
https://www8.garmin.com/xmlschemas/GpxExtensions/v3/GpxExtensionsv3.xsd
To use this scheme, you must add to the gpx header line:
'
xmlns:gpxx="http://www8.garmin.com/xmlschemas/GpxExtensions/v3"
',
and add shema location to xsi:schemaLocation:
'
xsi:schemaLocation="http://www.topografix.com/GPX/1/1
http://www.topografix.com/GPX/1/1/gpx.xsd
https://www8.garmin.com/xmlschemas/GpxExtensions/v3
https://www8.garmin.com/xmlschemas/GpxExtensions/v3/GpxExtensionsv3.xsd"
'
and after this add to trkpt:
'
<extensions>
<gpxx:TrackPointExtension>
<gpxx:Depth>${depth}/gpxx:Depth>
</gpxx:TrackPointExtension>
</extensions>
'
Here is a plugin for SignalK, similar to the gpxlogger, that does this:
https://github.com/VladimirKalachikhin/naiveGPXlogger
Or you could ask the GPX people to add depth to their schema.
They are silent.
Владимир Калачихин
- gpxlogger with depth storing, Владимир Калачихин, 2022/11/05
- Re: gpxlogger with depth storing, Gary E. Miller, 2022/11/06
- Re: gpxlogger with depth storing,
Владимир Калачихин <=
- Re: gpxlogger with depth storing, Greg Troxel, 2022/11/07
- Re: gpxlogger with depth storing, Gary E. Miller, 2022/11/07
- Re: gpxlogger with depth storing, Владимир Калачихин, 2022/11/07
- Re: gpxlogger with depth storing, Владимир Калачихин, 2022/11/21
- Re: gpxlogger with depth storing, Gary E. Miller, 2022/11/21
- Re: gpxlogger with depth storing, Gary E. Miller, 2022/11/30