sudapy.viz.maps¶
Quick map visualization: export vector or raster data to PNG or interactive HTML.
sudapy.viz.maps ¶
Quick map visualization helpers.
Supports exporting vector or raster data to PNG (static) or HTML (interactive).
quick_map ¶
Create a quick visualization of a vector or raster dataset.
The output format is determined by the extension of out:
.png/.jpg- static image (requires matplotlib)..html- interactive Leaflet map (requires folium).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
src
|
PathLike
|
Input vector or raster file path. |
required |
out
|
PathLike
|
Output image/HTML path. |
required |
title
|
str | None
|
Optional title for the map. |
None
|
Returns:
| Type | Description |
|---|---|
Path
|
Path to the generated output. |