Open Raruto opened 11 months ago
Thanks! I'd really much rather expose a method like getGpxData rather than having a feature with magical meaning, would that be possible?
expose a method like getGpxData rather than having a feature with magical meaning
I was trying to keep it simple (and quickly testable)
From my point of view rte
features are quite similar:
Also regarding data portability I'd rather prefer find a fairly common way of handling this.
It's already quite easy to build an out-of-spec geojson (or at least without relying on other external libraries).
If implemented here (as a static information) you'd at least be pretty sure that it's a quite valid thing
Anyway, i think the final decision is up to you..
👋 Raruto
Hi Tom,
here's a draft based on: https://github.com/placemark/togeojson/issues/111#issuecomment-1577380801, that is, add a dedicated "empty" feature identified by the
"_gpxType": "metadata"
property:Let me know, so I'll eventually update the tests accordingly.
👋 Raruto