Rules to keep in mind when building Fused UDFs
-
Always use
.estimate_utm_crs()when doing distance or area operations (buffering, getting length, calculating perimeter, etc.) -
If output is missing and is vector, think about data validation: Check for invalid geometries:
gdf.geometry.is_valid. Fix withgdf.geometry.buffer(0)orshapely.make_valid() -
It usually works best with
geopandasto use HTTPs URL format over S3, so use that even whenever I ask you to load a vector file from anS3://(or similar cloud server) withgeopandas