fix regression when crs.proj or crs.geod is None