RandomFractals / geo-data-viewer

Geo Data Analytics tool for VSCode IDE with kepler.gl support to generate and view maps πŸ—ΊοΈ without any Python 🐍, IPyWidgets βš™οΈ, pandas 🐼, Jupyter notebooks πŸ“š, or ReactJS βš›οΈ app code.
https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.geo-data-viewer
Apache License 2.0
413 stars 46 forks source link

Elevation data in gpx track leads to "swimming" track in map #140

Closed danielscherzer closed 2 years ago

danielscherzer commented 2 years ago

Thanks for your very usefull plugin!

When you load gpx track data that contains an tag (elevation info) the track stays not fixed to same map locations on panning the camera in the 2d or 3d view (swimming artifact). If you load the same track with removed tags everything is working as expected.

Example track once with and without tags: Example.zip

A simple workaround would be the option the ignore tags.

RandomFractals commented 2 years ago

@danielscherzer I can't reproduce what you are describing with the provided track gpx data files.

I loaded both of them into vscode v1.71.0 on Windows 10. What I see is a track displayed on the map. Some part of that track is in the water, but they both look the same to me when panning the map in 2d or 3d view. Both tracks move when panning the map, or zooming in and out.

gpx-tracks

So, I am not sure what you mean by the "swimming artifact". Please verify your gpx data points of that track or create a recording of the issue you encountered.

danielscherzer commented 2 years ago

So sorry. This was my fault. I somehow sent you twice the file without the elevation data. Following is the file with elevation data: withEle.zip I can see the swimming artifact best with the outdoor map style.

ArnaudTA commented 1 year ago

Hi I have the same issue, removing elevation <ele> solves it but it's a shame to have to remove it. Maybe an option that removes it when generating geojson would be good enough

RandomFractals commented 1 year ago

We'll revisit this issue and stripping out elevation if it's not supported in the latest version of keplergl library and UI in the next Geo data viewer extension and libraries update and new Pro version we plan to release in fall. See #153 for more info on that.