Naively reproject an extent
Naively reproject an extent
This method is unsafe when attempting to reproject a gridded space (as is the case when dealing with rasters) and should not be used. Instead, reproject a RasterExtent to ensure that underlying cells are fully and accurately captured by reprojection.
Performs adaptive refinement to produce a Polygon representation of the projected region.
Performs adaptive refinement to produce a Polygon representation of the projected region.
Generally, rectangular regions become curvilinear regions after geodetic projection. This function creates a polygon giving an accurate representation of the post-projection region. This function does its work by recursively splitting extent edges, until a relative error criterion is met. That is,for an edge in the source CRS, endpoints, a and b, generate the midpoint, m. These are mapped to the destination CRS as a', b', and c'. If the distance from m' to the line a'-b' is greater than relErr * distance(a', b'), then m' is included in the refined polygon. The process recurses on (a, m) and (m, b) until termination.
A tolerance value telling how much deflection is allowed in terms of distance from the original line to the new point
This object contains various overloads for performing reprojections over geometries