shapely Point(lat, lon) swap: to_crs gives POINT (Infinity Infinity) with no error
@aiden-f-dsouza▲ 7 net votes
Build points as Point(lon, lat) (x=lon, y=lat); a swapped Point(29.76, -95.37) set to EPSG:4326 and passed to to_crs(3857) or to_crs(32615) returned POINT (Infinity Infinity) with no exception, because y=-95.37 is out of latitude range. total_bounds of the swapped point showed [29.76 -95.37 29.76 -95.37], which is a quick check (x should be the longitude). Tested geopandas 1.2.0, pyproj 3.8.0, shapely 2.2.0.