Closed burritojustice closed 4 years ago
Work in progress :rocket:
Grazie, @roberto-butti !
Glad you figured out transform
/ tf
. We'll just need to map it to the extension detection we use for .csv
and .geojson
so we can autodetect it in upload
here xyz upload -f my.gpx
https://github.com/heremaps/here-cli/blob/master/src/here-xyz.ts#L1375
Let me know if you have any questions!
cc @Naitik333
Thank you for the suggestion @burritojustice . In my "spare time", at the moment I'm focused on trasform just to understand the logic under the hood and how is structured the code. Once I will have a consolidated geojson from transform I can shift my focus on detection and upload.
"Here" the Pull Request: https://github.com/heremaps/here-cli/pull/179 #179
this is looking good in the latest build!
GPX is a popular format for recording running and biking data.
A well thought out library for converting GPX to GeoJSON (made by the Studio team) is here.
https://github.com/roberto-butti/fit-geojson-vuejs
The resulting output would look like this:
https://xyz-space-invader.netlify.com/?space=m5pmsnx1&token=AFbjoHrBlTB2K5_gqvcP_S8&basemap=xyz-pixel-dark&buildings=0&label=&colors=range&points=0&lines=0&outlines=0&highlight=0&places=0&roads=1&water=0&property=ele&palette=temperature&paletteFlip=true&rangeFilter=4&sort=values&hideOutliers=false#12.719989900291463/37.7560/-122.4353