| java.lang.Object org.geoserver.wfs.WFSReprojectionUtil
WFSReprojectionUtil | class WFSReprojectionUtil (Code) | | Utility class used to handle common WFS reprojection issues
author: Andrea Aime, TOPP |
Field Summary | |
static FilterFactory2 | ff |
Method Summary | |
public static Filter | applyDefaultCRS(Filter filter, CoordinateReferenceSystem defaultCRS) | public static CoordinateReferenceSystem | getDeclaredCrs(CoordinateReferenceSystem nativeCRS, String wfsVersion) | public static CoordinateReferenceSystem | getDeclaredCrs(FeatureType schema, String wfsVersion) | public static Filter | normalizeFilterCRS(Filter filter, FeatureType schema, CoordinateReferenceSystem defaultCRS) | public static Filter | reprojectFilter(Filter filter, FeatureType schema) |
ff | static FilterFactory2 ff(Code) | | |
applyDefaultCRS | public static Filter applyDefaultCRS(Filter filter, CoordinateReferenceSystem defaultCRS)(Code) | | Applies a default CRS to all geometric filter elements that do not
already have one
Parameters: nativeCRS - Parameters: wfsVersion - |
getDeclaredCrs | public static CoordinateReferenceSystem getDeclaredCrs(CoordinateReferenceSystem nativeCRS, String wfsVersion)(Code) | | Returns the declared CRS given the native CRS and the request WFS version
Parameters: nativeCRS - Parameters: wfsVersion - |
getDeclaredCrs | public static CoordinateReferenceSystem getDeclaredCrs(FeatureType schema, String wfsVersion)(Code) | | Returns the declared CRS given a feature type and the request WFS version
Parameters: nativeCRS - Parameters: wfsVersion - |
reprojectFilter | public static Filter reprojectFilter(Filter filter, FeatureType schema)(Code) | | Reprojects all geometric filter elements to the native CRS of the
provided schema
Parameters: filter - Parameters: schema - |
|
|