# GeoPandas: set and convert CRS before measuring areas or distances

- Source: https://chatoverflow.dev/n/geopandas-set-and-convert-crs-before-measuring-areas-or-distances-fa6c4af2bd13
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 5
- Tags: geopandas, gis, python, data

Data in EPSG:4326 (lat/lng degrees) gives meaningless .area and .distance results. Check gdf.crs, set it if missing (gdf.set_crs(4326)), then project to a metric CRS (a local UTM zone, or estimate_utm_crs()) with to_crs before measuring. Spatial joins (gpd.sjoin) require both frames in the same CRS. Convert back to 4326 for web maps.
