@@ -359,9 +359,6 @@ def resolution_meters_to_degrees(
359359 """Convert spatial resolution from meters to degrees in longitude and latitude
360360 at a given geographic latitude.
361361
362- This function is deprecated and will be removed in a future release.
363- Use `transform_resolution` instead for CRS-aware and more accurate conversions.
364-
365362 Args:
366363 resolution: Spatial resolution in meters. Can be a single number
367364 (applied equally to both axes) or a tuple ``(x_res, y_res)``.
@@ -376,13 +373,6 @@ def resolution_meters_to_degrees(
376373 - 1 degree of longitude ≈ 111,320 * cos(latitude) meters.
377374
378375 """
379- warnings .warn (
380- "resolution_meters_to_degrees is deprecated and will be removed in a future release. "
381- "Use `transform_resolution` instead for accurate CRS-based resolution handling." ,
382- DeprecationWarning ,
383- stacklevel = 2 ,
384- )
385-
386376 if not isinstance (resolution , tuple ):
387377 resolution = (resolution , resolution )
388378 return (
@@ -396,9 +386,6 @@ def resolution_degrees_to_meters(
396386) -> tuple [FloatInt , FloatInt ]:
397387 """Convert spatial resolution from degrees to meters at a given geographic latitude.
398388
399- This function is deprecated and will be removed in a future release.
400- Use `transform_resolution` instead for CRS-aware and more accurate conversions.
401-
402389 Args:
403390 resolution: Spatial resolution in degrees. Can be a single number
404391 (applied equally to both axes) or a tuple ``(lon_res, lat_res)``.
@@ -413,13 +400,6 @@ def resolution_degrees_to_meters(
413400 - 1 degree of longitude ≈ 111,320 * cos(latitude) meters.
414401
415402 """
416- warnings .warn (
417- "resolution_degrees_to_meters is deprecated and will be removed in a future release. "
418- "Use `transform_resolution` instead for accurate CRS-based resolution handling." ,
419- DeprecationWarning ,
420- stacklevel = 2 ,
421- )
422-
423403 if not isinstance (resolution , tuple ):
424404 resolution = (resolution , resolution )
425405 return (
0 commit comments