Skip to content

Gps trace

image image image

Visualizing GPS Trace Data

Uncomment the following line to install leafmap if needed.

1
# %pip install "leafmap[maplibre]"
1
import leafmap.maplibregl as leafmap
1
2
3
data = (
    "https://github.com/opengeos/datasets/releases/download/vector/hike_gps_trace.csv"
)
1
2
3
4
m = leafmap.Map(style="3d-hybrid")
m.add_gps_trace(data, radius=5, add_line=True)
m.add_layer_control()
m

image