Skip to content
UPEEC

GeoPandas and Shapely

pandas for geographic data (GeoPandas) built on geometry operations (Shapely).

Easy
Comments 0
import geopandas as gpd
wards = gpd.read_file("wards.geojson").to_crs(32643)   # UTM zone 43N
wards["area_km2"] = wards.area / 1e6

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.