mirror of
https://github.com/rasterio/rasterio.git
synced 2026-02-01 14:34:43 +00:00
Remove deprecated RESAMPLING enum
This commit is contained in:
parent
034e35de99
commit
ebc5afefa6
@ -4,7 +4,6 @@ from __future__ import absolute_import
|
||||
from __future__ import division
|
||||
|
||||
from math import ceil
|
||||
import warnings
|
||||
|
||||
from affine import Affine
|
||||
import numpy as np
|
||||
@ -17,11 +16,6 @@ from rasterio.env import ensure_env
|
||||
from rasterio.transform import guard_transform
|
||||
|
||||
|
||||
RESAMPLING = Resampling
|
||||
warnings.warn(
|
||||
"RESAMPLING is deprecated, use Resampling instead.", DeprecationWarning)
|
||||
|
||||
|
||||
@ensure_env
|
||||
def transform(src_crs, dst_crs, xs, ys, zs=None):
|
||||
"""Transform vectors from source to target coordinate reference system.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user