tkurki / signalk-to-influxdb2

Apache License 2.0
6 stars 4 forks source link

Gpx format not working #60

Closed tkurki closed 7 months ago

tkurki commented 7 months ago

Even if there is position data

http://localhost:3000/signalk/v1/history/values?from=2024-04-02T18:53:20Z&to=2024-04-03T18:55:00Z&paths=navigation.position&resolution=60000

{
    "context": "vessels.urn:mrn:signalk:uuid:6e69b9a8-5512-433d-a2a1-acf80958916f",
    "range": {
        "from": "2024-04-02T18:53:20Z",
        "to": "2024-04-03T18:55Z"
    },
    "values": [
        {
            "path": "navigation.position",
            "method": "first"
        }
    ],
    "data": [
        [
            "2024-04-02T06:40:00.000Z",
            [
                null,
                null
            ]
        ],
        [
            "2024-04-02T23:20:00.000Z",
            [
                24.7366563,
                59.7249807
            ]
        ],
        [
            "2024-04-03T16:00:00.000Z",
            [
                null,
                null
            ]
        ]
    ]
}

gpx returns nothing

<gpx xmlns="http://www.topografix.com/GPX/1/1" version="1.1" creator="signalk-to-influxdb2">
<metadata>
<author>vessels.urn:mrn:signalk:uuid:6e69b9a8-5512-433d-a2a1-acf80958916f</author>
</metadata>
<trk> </trk>
</gpx>
tkurki commented 7 months ago

@JonyIvy is it working for you?