TGViewer
Machine Learning with Python Machine Learning with Python @codeprogrammer · 68.6K subscribers
Post #4243 4.24K
Instant geodata visualization from the command line

Now you can interactively view raster and vector layers without launching a desktop GIS or Jupyter.

Just run:

pip install "leafmap[viewer]"


Then visualize data with a single command:

view-raster /path/to/raster.tif
view-vector /path/to/vector.geojson


Need to customize the display:

view-raster /path/to/raster.tif --band 1 --colormap coolwarm
view-vector /path/to/vector.geojson --style liberty


These CLI utilities are based on Leafmap, MapLibre, and LocalTileserver and support all formats compatible with rasterio and geopandas.

See here: https://github.com/opengeos/leafmap

👉 @codeprogrammer
  • ❤ 8
More from @codeprogrammer
  1. Oct 10, 2026📚 Download 10 Python books for FREE: 1. Think Python — O’Reilly https://t.co/X7y3pX68IW 2…
  2. Oct 9, 2026One of the key moments when I truly understood how transformers work: 🧠✨ "Stop thinking o…
  3. Oct 9, 2026🔖 Official PyTorch Tutorials This collection includes: 🫡 PyTorch fundamentals and torch.…
  4. Oct 7, 2026A distinctive bot for subscribing to courses on the most popular educational platforms acr…
  5. Oct 7, 2026Understanding algorithms changes the way you write code. 🧠 This playlist teaches you exac…
  6. Oct 6, 2026🛠 Built an AI app with Cursor, Claude Code or Lovable? Publish it on Zibby (zibby.run), a…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →