Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gpx format not working #60

Closed
tkurki opened this issue Apr 3, 2024 · 1 comment · Fixed by #61
Closed

Gpx format not working #60

tkurki opened this issue Apr 3, 2024 · 1 comment · Fixed by #61

Comments

@tkurki
Copy link
Owner

tkurki commented Apr 3, 2024

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
Copy link
Owner Author

tkurki commented Apr 3, 2024

@JonyIvy is it working for you?

tkurki added a commit that referenced this issue Apr 3, 2024
Fixes #60, broken with previous refactoring.
@tkurki tkurki mentioned this issue Apr 3, 2024
@tkurki tkurki closed this as completed in #61 Apr 3, 2024
tkurki added a commit that referenced this issue Apr 3, 2024
Fixes #60, broken with previous refactoring.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant