I have a geopandas GeoDataframe representing the continental US states. I want to transform all the coordinates to a different coordinate system with non-trivial mapping.
My plan was to do something like (this is just a simple test, not the real transform):
from shapely.ops import transform
def id_func(x, y):
return x-10, y
alabama = conus.iloc[0]
alabama.geometry = transform (id_func, alabama.geometry)
This doesn't work, the values of conus.geometry seem to be unchanged.
Any hints?