Uses of Interface
org.geotools.api.referencing.crs.CoordinateReferenceSystem
-
-
Uses of CoordinateReferenceSystem in org.geotools.api.coverage
Methods in org.geotools.api.coverage that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
Coverage. getCoordinateReferenceSystem()
Returns the coordinate reference system to which the objects in its domain are referenced. -
Uses of CoordinateReferenceSystem in org.geotools.api.data
Fields in org.geotools.api.data declared as CoordinateReferenceSystem Modifier and Type Field Description protected CoordinateReferenceSystem
Query. coordinateSystem
Coordinate System associated with this queryprotected CoordinateReferenceSystem
Query. coordinateSystemReproject
Reprojection associated associated with this queryMethods in org.geotools.api.data that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
Query. getCoordinateSystem()
Get the coordinate system to use as an override for features retrieved by this Query.CoordinateReferenceSystem
Query. getCoordinateSystemReproject()
If reprojection has been requested, this returns the coordinate system that features retrieved by this Query will be reprojected into.CoordinateReferenceSystem
ResourceInfo. getCRS()
Returns the coordinate reference system of this resource if known.Methods in org.geotools.api.data with parameters of type CoordinateReferenceSystem Modifier and Type Method Description void
Query. setCoordinateSystem(CoordinateReferenceSystem system)
Provide an override coordinate system to apply to features retrieved by this Query.void
Query. setCoordinateSystemReproject(CoordinateReferenceSystem system)
Request that features retrieved by this Query be reprojected into the given coordinate system. -
Uses of CoordinateReferenceSystem in org.geotools.api.feature
Methods in org.geotools.api.feature with parameters of type CoordinateReferenceSystem Modifier and Type Method Description GeometryAttribute
FeatureFactory. createGeometryAttribute(Object geometry, GeometryDescriptor descriptor, String id, CoordinateReferenceSystem crs)
Creates a geometry attribute. -
Uses of CoordinateReferenceSystem in org.geotools.api.feature.type
Methods in org.geotools.api.feature.type that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
FeatureType. getCoordinateReferenceSystem()
The coordinate reference system of the feature.CoordinateReferenceSystem
GeometryDescriptor. getCoordinateReferenceSystem()
The coordinate reference system in which these geometries are defined.CoordinateReferenceSystem
GeometryType. getCoordinateReferenceSystem()
The coordinate reference system in which geometries are defined.Methods in org.geotools.api.feature.type with parameters of type CoordinateReferenceSystem Modifier and Type Method Description GeometryType
FeatureTypeFactory. createGeometryType(Name name, Class<?> binding, CoordinateReferenceSystem crs, boolean isIdentifiable, boolean isAbstract, List<Filter> restrictions, AttributeType superType, InternationalString description)
Creates a geometric attribute type. -
Uses of CoordinateReferenceSystem in org.geotools.api.geometry
Methods in org.geotools.api.geometry that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
Bounds. getCoordinateReferenceSystem()
Returns the envelope coordinate reference system, ornull
if unknown.CoordinateReferenceSystem
Position. getCoordinateReferenceSystem()
The coordinate reference system in which the coordinate is given.Methods in org.geotools.api.geometry with parameters of type CoordinateReferenceSystem Modifier and Type Method Description BoundingBox
BoundingBox. toBounds(CoordinateReferenceSystem targetCRS)
Transforms this box to the specified CRS and returns a new bounding box for the transformed shape.BoundingBox
BoundingBox3D. toBounds(CoordinateReferenceSystem targetCRS)
Transforms this box to the specified CRS and returns a new bounding box for the transformed shape. -
Uses of CoordinateReferenceSystem in org.geotools.api.referencing.crs
Subinterfaces of CoordinateReferenceSystem in org.geotools.api.referencing.crs Modifier and Type Interface Description interface
CompoundCRS
A coordinate reference system describing the position of points through two or more independent coordinate reference systems.interface
DerivedCRS
A coordinate reference system that is defined by its coordinate conversion from another coordinate reference system but is not a projected coordinate reference system.interface
EngineeringCRS
A contextually local coordinate reference system.interface
GeneralDerivedCRS
A coordinate reference system that is defined by its coordinate conversion from another coordinate reference system (not by a datum).interface
GeocentricCRS
A 3D coordinate reference system with the origin at the approximate centre of mass of the earth.interface
GeodeticCRS
A coordinate reference system associated with a geodetic datum.interface
GeographicCRS
A coordinate reference system based on an ellipsoidal approximation of the geoid; this provides an accurate representation of the geometry of geographic features for a large portion of the earth's surface.interface
ImageCRS
An engineering coordinate reference system applied to locations in images.interface
ProjectedCRS
A 2D coordinate reference system used to approximate the shape of the earth on a planar surface.interface
SingleCRS
Abstract coordinate reference system, consisting of a single Coordinate System and a single Datum (as opposed to Compound CRS).interface
TemporalCRS
A 1D coordinate reference system used for the recording of time.interface
VerticalCRS
A 1D coordinate reference system used for recording heights or depths.Methods in org.geotools.api.referencing.crs that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
CRSAuthorityFactory. createCoordinateReferenceSystem(String code)
Returns an arbitrary coordinate reference system from a code.CoordinateReferenceSystem
CRSFactory. createFromWKT(String wkt)
Creates a coordinate reference system object from a string.CoordinateReferenceSystem
CRSFactory. createFromXML(String xml)
Creates a coordinate reference system object from a XML string.CoordinateReferenceSystem
GeneralDerivedCRS. getBaseCRS()
Returns the base coordinate reference system.Methods in org.geotools.api.referencing.crs that return types with arguments of type CoordinateReferenceSystem Modifier and Type Method Description List<CoordinateReferenceSystem>
CompoundCRS. getCoordinateReferenceSystems()
The ordered list of coordinate reference systems.Methods in org.geotools.api.referencing.crs with parameters of type CoordinateReferenceSystem Modifier and Type Method Description CompoundCRS
CRSFactory. createCompoundCRS(Map<String,?> properties, CoordinateReferenceSystem... elements)
Creates a compound coordinate reference system from an ordered list ofCoordinateReferenceSystem
objects.DerivedCRS
CRSFactory. createDerivedCRS(Map<String,?> properties, CoordinateReferenceSystem baseCRS, Conversion conversionFromBase, CoordinateSystem derivedCS)
Creates a derived coordinate reference system. -
Uses of CoordinateReferenceSystem in org.geotools.api.referencing.operation
Methods in org.geotools.api.referencing.operation that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
Conversion. getSourceCRS()
Returns the source CRS.CoordinateReferenceSystem
CoordinateOperation. getSourceCRS()
Returns the source CRS.CoordinateReferenceSystem
Transformation. getSourceCRS()
Returns the source CRS.CoordinateReferenceSystem
Conversion. getTargetCRS()
Returns the target CRS.CoordinateReferenceSystem
CoordinateOperation. getTargetCRS()
Returns the target CRS.CoordinateReferenceSystem
Transformation. getTargetCRS()
Returns the target CRS.Methods in org.geotools.api.referencing.operation with parameters of type CoordinateReferenceSystem Modifier and Type Method Description MathTransform
MathTransformFactory. createBaseToDerived(CoordinateReferenceSystem baseCRS, ParameterValueGroup parameters, CoordinateSystem derivedCS)
Creates a parameterized transform from a base CRS to a derived CS.CoordinateOperation
CoordinateOperationFactory. createOperation(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS)
Returns an operation for conversion or transformation between two coordinate reference systems.CoordinateOperation
CoordinateOperationFactory. createOperation(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, OperationMethod method)
Returns an operation using a particular method for conversion or transformation between two coordinate reference systems.Set<CoordinateOperation>
CoordinateOperationFactory. findOperations(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS)
Returns all the available operations for conversion or transformation between two coordinate reference systems. -
Uses of CoordinateReferenceSystem in org.geotools.appschema.feature
Methods in org.geotools.appschema.feature with parameters of type CoordinateReferenceSystem Modifier and Type Method Description GeometryAttribute
AppSchemaFeatureFactoryImpl. createGeometryAttribute(Object value, GeometryDescriptor descriptor, String id, CoordinateReferenceSystem crs)
Create a new geometry attribute, even for null id. -
Uses of CoordinateReferenceSystem in org.geotools.coverage
Fields in org.geotools.coverage declared as CoordinateReferenceSystem Modifier and Type Field Description protected CoordinateReferenceSystem
AbstractCoverage. crs
The coordinate reference system, ornull
if there is none.Methods in org.geotools.coverage that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
AbstractCoverage. getCoordinateReferenceSystem()
Returns the coordinate reference system to which the objects in its domain are referenced.Constructors in org.geotools.coverage with parameters of type CoordinateReferenceSystem Constructor Description AbstractCoverage(CharSequence name, CoordinateReferenceSystem crs, PropertySource propertySource, Map<?,?> properties)
Constructs a coverage using the specified coordinate reference system. -
Uses of CoordinateReferenceSystem in org.geotools.coverage.grid
Methods in org.geotools.coverage.grid that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
GeneralGridGeometry. getCoordinateReferenceSystem()
Returns the "real world" coordinate reference system.CoordinateReferenceSystem
GridCoverageBuilder. getCoordinateReferenceSystem()
Returns the current coordinate reference system.CoordinateReferenceSystem
GridCoverage2D. getCoordinateReferenceSystem2D()
Returns the two-dimensional part of this grid coverage CRS.CoordinateReferenceSystem
GridGeometry2D. getCoordinateReferenceSystem2D()
Returns the two-dimensional part of this grid geometry CRS.protected CoordinateReferenceSystem
GridCoverageFactory. getDefaultCRS(int dimension)
Returns the default coordinate reference system to use when no CRS were explicitly specified by the user.CoordinateReferenceSystem
GridGeometry2D. reduce(CoordinateReferenceSystem crs)
Reduces the specified CRS to a two-dimensional one.Methods in org.geotools.coverage.grid with parameters of type CoordinateReferenceSystem Modifier and Type Method Description GridCoverage2D
GridCoverageFactory. create(CharSequence name, RenderedImage image, CoordinateReferenceSystem crs, MathTransform gridToCRS, GridSampleDimension[] bands, GridCoverage[] sources, Map<?,?> properties)
Constructs a grid coverage from the specified image and "grid to CRS" transform.GridCoverage2D
GridCoverageFactory. create(CharSequence name, WritableRaster raster, CoordinateReferenceSystem crs, MathTransform gridToCRS, double[] minValues, double[] maxValues, Unit<?> units, Color[][] colors, RenderingHints hints)
Constructs a grid coverage from the specified raster and "grid to CRS" transform.GridCoverage2D
GridCoverageFactory. create(CharSequence name, WritableRaster raster, CoordinateReferenceSystem crs, MathTransform gridToCRS, GridSampleDimension[] bands)
Constructs a grid coverage from the specified raster and "grid to CRS" transform.CoordinateReferenceSystem
GridGeometry2D. reduce(CoordinateReferenceSystem crs)
Reduces the specified CRS to a two-dimensional one.void
GridCoverageBuilder. setCoordinateReferenceSystem(CoordinateReferenceSystem crs)
Sets the coordinate reference system to the specified value.Constructors in org.geotools.coverage.grid with parameters of type CoordinateReferenceSystem Constructor Description AbstractGridCoverage(CharSequence name, CoordinateReferenceSystem crs, PropertySource propertySource, Map<?,?> properties)
Constructs a grid coverage using the specified coordinate reference system.AbstractGridCoverage(CharSequence name, CoordinateReferenceSystem crs, GridCoverage[] sources, PropertySource propertySource, Map<?,?> properties)
Constructs a grid coverage with sources.GeneralGridGeometry(GridEnvelope gridRange, PixelInCell anchor, MathTransform gridToCRS, CoordinateReferenceSystem crs)
Constructs a new grid geometry from a grid range and a math transform mapping pixel center or corner.GeneralGridGeometry(GridEnvelope gridRange, MathTransform gridToCRS, CoordinateReferenceSystem crs)
Constructs a new grid geometry from a grid range and a math transform mapping pixel center.GridGeometry2D(GridEnvelope gridRange, PixelOrientation anchor, MathTransform gridToCRS, CoordinateReferenceSystem crs, Hints hints)
Constructs a new grid geometry from a math transform.GridGeometry2D(GridEnvelope gridRange, PixelInCell anchor, MathTransform gridToCRS, CoordinateReferenceSystem crs, Hints hints)
Constructs a new grid geometry from a math transform.GridGeometry2D(GridEnvelope gridRange, MathTransform gridToCRS, CoordinateReferenceSystem crs)
Constructs a new grid geometry from a grid range and a math transform. -
Uses of CoordinateReferenceSystem in org.geotools.coverage.grid.io
Fields in org.geotools.coverage.grid.io declared as CoordinateReferenceSystem Modifier and Type Field Description protected CoordinateReferenceSystem
AbstractGridCoverage2DReader. crs
crs for this coverageMethods in org.geotools.coverage.grid.io with parameters of type CoordinateReferenceSystem Modifier and Type Method Description protected static double[]
AbstractGridCoverage2DReader. getResolution(GeneralBounds envelope, Rectangle2D dim, CoordinateReferenceSystem crs)
This method is responsible for computing the resolutions in for the provided grid geometry in the provided crs.Constructors in org.geotools.coverage.grid.io with parameters of type CoordinateReferenceSystem Constructor Description GroundControlPoints(List<TiePoint> tiePoints, CoordinateReferenceSystem crs)
ReadResolutionCalculator(GridGeometry2D requestedGridGeometry, CoordinateReferenceSystem nativeCrs, double[] fullResolution)
-
Uses of CoordinateReferenceSystem in org.geotools.coverage.grid.io.imageio.geotiff
Methods in org.geotools.coverage.grid.io.imageio.geotiff that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
GeoTiffMetadata2CRSAdapter. createCoordinateSystem(GeoTiffIIOMetadataDecoder metadata)
This method creates aCoordinateReferenceSystem
object from the metadata which has been set earlier.Constructors in org.geotools.coverage.grid.io.imageio.geotiff with parameters of type CoordinateReferenceSystem Constructor Description CRS2GeoTiffMetadataAdapter(CoordinateReferenceSystem crs)
Constructs a parser using the default set of symbols and factories. -
Uses of CoordinateReferenceSystem in org.geotools.coverage.io
Methods in org.geotools.coverage.io that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
CoverageSource. getCoordinateReferenceSystem()
abstract CoordinateReferenceSystem
CoverageSource.TemporalDomain. getCoordinateReferenceSystem()
abstract CoordinateReferenceSystem
CoverageSource.VerticalDomain. getCoordinateReferenceSystem()
abstract CoordinateReferenceSystem
CoverageSource.SpatialDomain. getCoordinateReferenceSystem2D()
CoordinateReferenceSystem
SpatialRequestHelper.CoverageProperties. getCrs2D()
CoordinateReferenceSystem
SpatialRequestHelper.CoverageProperties. getGeographicCRS2D()
Methods in org.geotools.coverage.io with parameters of type CoordinateReferenceSystem Modifier and Type Method Description void
SpatialRequestHelper.CoverageProperties. setCrs2D(CoordinateReferenceSystem crs2d)
void
CoverageReadRequest. setDomainSubset(Rectangle rasterArea, MathTransform2D gridToWorldTrasform, CoordinateReferenceSystem crs)
void
SpatialRequestHelper.CoverageProperties. setGeographicCRS2D(CoordinateReferenceSystem geographicCRS2D)
-
Uses of CoordinateReferenceSystem in org.geotools.coverage.io.impl
Methods in org.geotools.coverage.io.impl that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
DefaultCoverageSource. getCoordinateReferenceSystem()
CoordinateReferenceSystem
DefaultGridCoverageResponse. getCoordinateReferenceSystem()
-
Uses of CoordinateReferenceSystem in org.geotools.coverage.io.netcdf
Methods in org.geotools.coverage.io.netcdf that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
NetCDFReader. getCoordinateReferenceSystem()
CoordinateReferenceSystem
NetCDFReader. getCoordinateReferenceSystem(String coverageName)
-
Uses of CoordinateReferenceSystem in org.geotools.coverage.io.netcdf.crs
Methods in org.geotools.coverage.io.netcdf.crs that return CoordinateReferenceSystem Modifier and Type Method Description static CoordinateReferenceSystem
ProjectionBuilder. buildCRS(Map<String,?> props, ParameterValueGroup parameters, Ellipsoid ellipsoid)
Build a ProjectedCoordinateReferenceSystem
parsing Conversion parameters and Ellipsoidstatic CoordinateReferenceSystem
ProjectionBuilder. createProjection(String projectionName, String code, Double semiMajor, Double inverseFlattening, Map<String,Double> params)
Quick method to create aCoordinateReferenceSystem
instance, given the OGC ProjectionName, such as "lambert_conformal_conic_2sp"), a custom code number for it, the semiMajor, the inverseFlattening (when infinity, assuming the reference ellipsoid is a spheroid), and the Projection Params through amap (as an instance: <"central_meridian",-95>) static CoordinateReferenceSystem
NetCDFProjection. lookForDatasetCRS(NetcdfDataset dataset)
Look for a dataset globalCoordinateReferenceSystem
definition provided through a spatial_ref global attribute.static CoordinateReferenceSystem
NetCDFProjection. lookForVariableCRS(NetcdfDataset dataset, CoordinateReferenceSystem defaultCrs)
static CoordinateReferenceSystem
NetCDFProjection. lookForVariableCRS(NetcdfDataset dataset, CoordinateReferenceSystem defaultCrs, Map<String,Object> crsProperties)
Look for a CoordinateReferenceSystem defined into a variablestatic CoordinateReferenceSystem
NetCDFProjection. lookupForCustomEpsg(CoordinateReferenceSystem crs)
Check if any custom EPSG maps the provided crs and return that onestatic CoordinateReferenceSystem
NetCDFProjection. parseProjection(NetcdfDataset dataset)
Look for a SPATIAL_REF global attribute and parsing it (as WKT) to setup aCoordinateReferenceSystem
static CoordinateReferenceSystem
NetCDFProjection. parseProjection(Variable var)
Extract the georeferencing projection information from the specified variable and setup aCoordinateReferenceSystem
instancestatic CoordinateReferenceSystem
NetCDFProjection. parseProjection(Variable var, NetCDFProjection.CRSParser crsParser)
Extract the georeferencing projection information from the specified variable and setup aCoordinateReferenceSystem
instancestatic CoordinateReferenceSystem
NetCDFProjection. parseProjection(Variable var, NetCDFProjection.CRSParser crsParser, Map<String,Object> crsProperties)
Extract the georeferencing projection information from the specified variable and setup aCoordinateReferenceSystem
instanceMethods in org.geotools.coverage.io.netcdf.crs with parameters of type CoordinateReferenceSystem Modifier and Type Method Description NetCDFCoordinateReferenceSystemType.NetCDFCoordinate[]
NetCDFCoordinateReferenceSystemType. getCoordinates(CoordinateReferenceSystem crs)
Return the set ofNetCDFCoordinateReferenceSystemType.NetCDFCoordinate
s for the current NetCDF CRS type, taking into account a reference crs.static CoordinateReferenceSystem
NetCDFProjection. lookForVariableCRS(NetcdfDataset dataset, CoordinateReferenceSystem defaultCrs)
static CoordinateReferenceSystem
NetCDFProjection. lookForVariableCRS(NetcdfDataset dataset, CoordinateReferenceSystem defaultCrs, Map<String,Object> crsProperties)
Look for a CoordinateReferenceSystem defined into a variablestatic CoordinateReferenceSystem
NetCDFProjection. lookupForCustomEpsg(CoordinateReferenceSystem crs)
Check if any custom EPSG maps the provided crs and return that onestatic NetCDFCoordinateReferenceSystemType
NetCDFCoordinateReferenceSystemType. parseCRS(CoordinateReferenceSystem crs)
Return a properNetCDFCoordinateReferenceSystemType
depending on the input OGCCoordinateReferenceSystem
instance. -
Uses of CoordinateReferenceSystem in org.geotools.coverage.io.util
Methods in org.geotools.coverage.io.util that return CoordinateReferenceSystem Modifier and Type Method Description static CoordinateReferenceSystem
Utilities. getMercator2SPProjectedCRS(double standardParallel, double centralMeridian, double natOriginLat, GeographicCRS sourceCRS, Hints hints)
Simple utility method which allows to build a Mercator2SP Projected CRS given the set of required parameters.Methods in org.geotools.coverage.io.util with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static GridCoverage
Utilities. compute(Object input, int imageIndex, boolean needTransformation, boolean isEmptyRequest, boolean useJAI, ImageReadParam imageReadParam, boolean useMultithreading, GridSampleDimension[] sampleDimensions, ImageReaderSpi imageReaderSpi, String coverageName, GridCoverageFactory coverageFactory, MathTransform raster2Model, CoordinateReferenceSystem coordinateReferenceSystem, GeneralBounds envelope2D)
Compute the coverage request and produce a grid coverage.static GridCoverage
Utilities. createCoverage(ImageReaderSpi spi, Object input, int imageIndex, ImageReadParam imageReadParam, boolean useJAI, boolean useMultithreading, boolean newTransform, GridSampleDimension[] sampleDimensions, String coverageName, GridCoverageFactory coverageFactory, MathTransform raster2Model, CoordinateReferenceSystem coordinateReferenceSystem, GeneralBounds coverageEnvelope2D)
This method creates the GridCoverage2D from the underlying file given a specified envelope, and a requested dimension.static GridCoverage
Utilities. createCoverageFromImage(GridCoverageFactory coverageFactory, String coverageName, int imageIndex, PlanarImage image, MathTransform raster2Model, CoordinateReferenceSystem spatialReferenceSystem2D, GeneralBounds coverageEnvelope2D, GridSampleDimension[] sampleDimensions)
Creates aGridCoverage
for the providedPlanarImage
using theMathTransform
that was provided for this coverage.static GeneralBounds
Utilities. evaluateRequestedParams(GridEnvelope originalGridRange, ReferencedEnvelope baseEnvelope2D, CoordinateReferenceSystem spatialReferenceSystem2D, MathTransform originalGridToWorld, GeneralBounds requestedEnvelope, Rectangle sourceRegion, Rectangle requestedDim, MathTransform2D readGridToWorld, ReferencedEnvelope wgs84BaseEnvelope2D)
Evaluates the requested envelope and builds a new adjusted version of it fitting this coverage envelope.static GeneralBounds
Utilities. getIntersection(ReferencedEnvelope baseEnvelope2D, CoordinateReferenceSystem spatialReferenceSystem2D, GeneralBounds requestedEnvelope2D, Rectangle requestedDim, MathTransform2D readGridToWorld, ReferencedEnvelope wgs84BaseEnvelope2D)
Returns the intersection between the base envelope and the requested envelope. -
Uses of CoordinateReferenceSystem in org.geotools.coverage.processing
Fields in org.geotools.coverage.processing declared as CoordinateReferenceSystem Modifier and Type Field Description CoordinateReferenceSystem
OperationJAI.Parameters. crs
The two dimensional coordinate reference system for all sources and the destinationGridCoverage2D
.Methods in org.geotools.coverage.processing with parameters of type CoordinateReferenceSystem Modifier and Type Method Description protected Map<String,?>
OperationJAI. getProperties(RenderedImage data, CoordinateReferenceSystem crs, InternationalString name, MathTransform gridToCRS, GridCoverage2D[] sources, OperationJAI.Parameters parameters)
Prepares the properties to be given to the coverage created by thederiveGridCoverage
method.Coverage
Operations. resample(Coverage source, CoordinateReferenceSystem crs)
Resamples a coverage to the specified coordinate reference system.Coverage
Operations. resample(GridCoverage source, CoordinateReferenceSystem crs, GridGeometry gridGeometry, Interpolation interpolationType)
Resamples a grid coverage to the specified coordinate reference system and grid geometry.Coverage
Operations. resample(GridCoverage source, CoordinateReferenceSystem crs, GridGeometry gridGeometry, Interpolation interpolationType, double[] backgroundValues)
Resamples a grid coverage to the specified coordinate reference system and grid geometry.protected void
OperationJAI. resampleToCommonGeometry(GridCoverage2D[] sources, CoordinateReferenceSystem crs2D, MathTransform2D gridToCrs2D, Hints hints)
Resamples all sources grid coverages to the same two-dimensional geometry before to apply the OperationJAI.operation. -
Uses of CoordinateReferenceSystem in org.geotools.coverage.processing.operation
Fields in org.geotools.coverage.processing.operation with type parameters of type CoordinateReferenceSystem Modifier and Type Field Description static ParameterDescriptor<CoordinateReferenceSystem>
Resample. COORDINATE_REFERENCE_SYSTEM
The parameter descriptor for the coordinate reference system. -
Uses of CoordinateReferenceSystem in org.geotools.coverage.util
Methods in org.geotools.coverage.util that return CoordinateReferenceSystem Modifier and Type Method Description static CoordinateReferenceSystem
CoverageUtilities. getCRS2D(Coverage coverage)
Returns a two-dimensional CRS for the given coverage.static CoordinateReferenceSystem
CoverageUtilities. getHorizontalCRS(Coverage coverage)
Returns a two-dimensional horizontal CRS for the given coverage. -
Uses of CoordinateReferenceSystem in org.geotools.data
Methods in org.geotools.data that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
PrjFileReader. getCoordinateReferenceSystem()
Return the Coordinate Reference System retrieved by this reader.CoordinateReferenceSystem
DefaultResourceInfo. getCRS()
CoordinateReferenceSystem
MapInfoFileReader. getCRS()
Get CoordinateReferenceSystenMethods in org.geotools.data with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static SimpleFeatureType
DataUtilities. createSubType(SimpleFeatureType featureType, String[] properties, CoordinateReferenceSystem override)
Create a derived FeatureTypestatic SimpleFeatureType
DataUtilities. createSubType(SimpleFeatureType featureType, String[] properties, CoordinateReferenceSystem override, String typeName, URI namespace)
Create a derived FeatureTypevoid
DefaultResourceInfo. setCRS(CoordinateReferenceSystem crs)
-
Uses of CoordinateReferenceSystem in org.geotools.data.complex
Fields in org.geotools.data.complex declared as CoordinateReferenceSystem Modifier and Type Field Description protected CoordinateReferenceSystem
DataAccessMappingFeatureIterator. reprojection
Reprojected CRS from the source simple features, or nullMethods in org.geotools.data.complex with parameters of type CoordinateReferenceSystem Modifier and Type Method Description List<Feature>
NestedAttributeMapping. getFeatures(Object source, Object foreignKeyValue, List<Object> idValues, CoordinateReferenceSystem reprojection, Object feature, List<PropertyName> selectedProperties, boolean includeMandatory, int resolveDepth, Integer resolveTimeOut)
Get the maching built features that are stored in this mapping using a supplied link valueList<Feature>
NestedAttributeMapping. getFeatures(Object foreignKeyValue, CoordinateReferenceSystem reprojection, Feature feature, int resolveDepth, Integer resolveTimeOut)
Get the maching built features that are stored in this mapping using a supplied link valueList<Feature>
NestedAttributeMapping. getInputFeatures(Object caller, Object foreignKeyValue, List<Object> idValues, Object feature, CoordinateReferenceSystem reprojection, List<PropertyName> selectedProperties, boolean includeMandatory)
Get matching input features that are stored in this mapping using a supplied link value.protected abstract void
AbstractMappingFeatureIterator. initialiseSourceFeatures(FeatureTypeMapping mapping, Query query, CoordinateReferenceSystem crs)
protected void
DataAccessMappingFeatureIterator. initialiseSourceFeatures(FeatureTypeMapping mapping, Query query, CoordinateReferenceSystem targetCRS)
boolean
DataAccessMappingFeatureIterator. isReprojectionCrsEqual(CoordinateReferenceSystem source, CoordinateReferenceSystem target)
-
Uses of CoordinateReferenceSystem in org.geotools.data.complex.config
Methods in org.geotools.data.complex.config that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
NonFeatureTypeProxy. getCoordinateReferenceSystem()
-
Uses of CoordinateReferenceSystem in org.geotools.data.complex.feature.type
Methods in org.geotools.data.complex.feature.type that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
FeatureTypeProxy. getCoordinateReferenceSystem()
CoordinateReferenceSystem
GeometryTypeProxy. getCoordinateReferenceSystem()
Methods in org.geotools.data.complex.feature.type with parameters of type CoordinateReferenceSystem Modifier and Type Method Description AttributeType
FeatureTypeRegistry. getAttributeType(Name typeName, XSDTypeDefinition xsdType, CoordinateReferenceSystem crs)
AttributeDescriptor
FeatureTypeRegistry. getDescriptor(Name descriptorName, CoordinateReferenceSystem crs)
-
Uses of CoordinateReferenceSystem in org.geotools.data.complex.filter
Methods in org.geotools.data.complex.filter with parameters of type CoordinateReferenceSystem Modifier and Type Method Description void
XPath. setCRS(CoordinateReferenceSystem crs)
-
Uses of CoordinateReferenceSystem in org.geotools.data.crs
-
Uses of CoordinateReferenceSystem in org.geotools.data.csv
Methods in org.geotools.data.csv that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
CSVFileState. getCrs()
Methods in org.geotools.data.csv with parameters of type CoordinateReferenceSystem Modifier and Type Method Description void
CSVFileState. setCrs(CoordinateReferenceSystem crs)
Constructors in org.geotools.data.csv with parameters of type CoordinateReferenceSystem Constructor Description CSVFileState(File file, URI namespace, String typeName, CoordinateReferenceSystem crs)
-
Uses of CoordinateReferenceSystem in org.geotools.data.db2
Methods in org.geotools.data.db2 that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
DB2SQLDialect. createCRS(int srid, Connection cx)
CoordinateReferenceSystem
DB2SQLDialectBasic. createCRS(int srid, Connection cx)
CoordinateReferenceSystem
DB2SQLDialectPrepared. createCRS(int srid, Connection cx)
-
Uses of CoordinateReferenceSystem in org.geotools.data.geojson.store
Methods in org.geotools.data.geojson.store that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
GeoJSONDataStore. getCrs()
Methods in org.geotools.data.geojson.store with parameters of type CoordinateReferenceSystem Modifier and Type Method Description void
GeoJSONDataStore. setCrs(CoordinateReferenceSystem crs)
-
Uses of CoordinateReferenceSystem in org.geotools.data.hana
Methods in org.geotools.data.hana that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
HanaDialect. createCRS(int srid, Connection cx)
-
Uses of CoordinateReferenceSystem in org.geotools.data.joining
Methods in org.geotools.data.joining with parameters of type CoordinateReferenceSystem Modifier and Type Method Description List<Feature>
JoiningNestedAttributeMapping. getFeatures(Object caller, Object foreignKeyValue, List<Object> idValues, CoordinateReferenceSystem reprojection, Object feature, List<PropertyName> selectedProperties, boolean includeMandatory, int resolveDepth, Integer resolveTimeOut)
Get the maching built features that are stored in this mapping using a supplied link valueList<Feature>
JoiningNestedAttributeMapping. getInputFeatures(Object caller, Object foreignKeyValue, List<Object> idValues, Object feature, CoordinateReferenceSystem reprojection, List<PropertyName> selectedProperties, boolean includeMandatory)
Get matching input features that are stored in this mapping using a supplied link value.DataAccessMappingFeatureIterator
JoiningNestedAttributeMapping. initSourceFeatures(JoiningNestedAttributeMapping.Instance instance, Name featureTypeName, CoordinateReferenceSystem reprojection, List<PropertyName> selectedProperties, boolean includeMandatory, int resolveDepth, Integer resolveTimeOut, Transaction transaction)
Initialise a new iterator (for polymorphism, there could be multiple per instance) -
Uses of CoordinateReferenceSystem in org.geotools.data.memory
Methods in org.geotools.data.memory that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
CollectionSource. getCRS()
Constructors in org.geotools.data.memory with parameters of type CoordinateReferenceSystem Constructor Description CollectionSource(Collection<T> collection, CoordinateReferenceSystem crs)
-
Uses of CoordinateReferenceSystem in org.geotools.data.mongodb
Methods in org.geotools.data.mongodb that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
MongoFeature. getOriginalCRS()
-
Uses of CoordinateReferenceSystem in org.geotools.data.mongodb.complex
Methods in org.geotools.data.mongodb.complex with parameters of type CoordinateReferenceSystem Modifier and Type Method Description List<Feature>
MongoNestedMapping. getFeatures(Object source, Object foreignKeyValue, List<Object> idValues, CoordinateReferenceSystem reprojection, Object feature, List<PropertyName> selectedProperties, boolean includeMandatory, int resolveDepth, Integer resolveTimeOut)
-
Uses of CoordinateReferenceSystem in org.geotools.data.ogr
Methods in org.geotools.data.ogr with parameters of type CoordinateReferenceSystem Modifier and Type Method Description ReferencedEnvelope
OGR. toEnvelope(Object extent, CoordinateReferenceSystem crs)
-
Uses of CoordinateReferenceSystem in org.geotools.data.ogr.jni
Methods in org.geotools.data.ogr.jni with parameters of type CoordinateReferenceSystem Modifier and Type Method Description ReferencedEnvelope
JniOGR. toEnvelope(Object extent, CoordinateReferenceSystem crs)
-
Uses of CoordinateReferenceSystem in org.geotools.data.oracle
Methods in org.geotools.data.oracle that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
OracleDialect. createCRS(int srid, Connection cx)
-
Uses of CoordinateReferenceSystem in org.geotools.data.postgis
Methods in org.geotools.data.postgis that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
PostGISDialect. createCRS(int srid, Connection cx)
Using PostGIS table spatial_ref_sys to determine authority name and code of sridCoordinateReferenceSystem
PostGISPSDialect. createCRS(int srid, Connection cx)
-
Uses of CoordinateReferenceSystem in org.geotools.data.shapefile
Methods in org.geotools.data.shapefile with parameters of type CoordinateReferenceSystem Modifier and Type Method Description void
ShapefileDataStore. forceSchemaCRS(CoordinateReferenceSystem crs)
This method is used to force the creation of a .prj file. -
Uses of CoordinateReferenceSystem in org.geotools.data.store
-
Uses of CoordinateReferenceSystem in org.geotools.data.transform
Constructors in org.geotools.data.transform with parameters of type CoordinateReferenceSystem Constructor Description Definition(String name, Expression source, Class binding, CoordinateReferenceSystem crs)
Creates a new transformed propertyDefinition(String name, Expression source, Class binding, CoordinateReferenceSystem crs, InternationalString description)
Creates a new transformed property -
Uses of CoordinateReferenceSystem in org.geotools.data.vpf
Methods in org.geotools.data.vpf that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
VPFFeatureClass. getCoordinateReferenceSystem()
CoordinateReferenceSystem
VPFFeatureType. getCoordinateReferenceSystem()
CoordinateReferenceSystem
VPFLibrary. getCoordinateReferenceSystem()
Returns the coordinate reference system appropriate for this library. -
Uses of CoordinateReferenceSystem in org.geotools.data.wfs.internal
Methods in org.geotools.data.wfs.internal that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
WFSClient. getDefaultCRS(QName typeName)
Methods in org.geotools.data.wfs.internal with parameters of type CoordinateReferenceSystem Modifier and Type Method Description ReferencedEnvelope
WFSClient. getBounds(QName typeName, CoordinateReferenceSystem targetCrs)
static boolean
WFSConfig. invertAxisNeeded(String axisOrder, CoordinateReferenceSystem crs)
Checks if axis flipping is needed comparing axis order requested for the DataStore with query crs. -
Uses of CoordinateReferenceSystem in org.geotools.data.wfs.internal.parsers
Methods in org.geotools.data.wfs.internal.parsers with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static SimpleFeatureType
EmfAppSchemaParser. parse(Configuration wfsConfiguration, QName featureName, URL schemaLocation, CoordinateReferenceSystem crs, Map<QName,Class<?>> mappedBindings)
Parses the FeatureType pointed out by theschemaLocation
URL and returns it.static SimpleFeatureType
EmfAppSchemaParser. parseSimpleFeatureType(QName featureName, URL schemaLocation, CoordinateReferenceSystem crs, Configuration wfsConfiguration, Map<QName,Class<?>> mappedBindings)
static SimpleFeatureType
EmfAppSchemaParser. parseSimpleFeatureType(Configuration configuration, QName featureTypeName, URL schemaLocation, CoordinateReferenceSystem crs)
static SimpleFeatureType
EmfAppSchemaParser. parseSimpleFeatureType(Configuration wfsConfiguration, QName featureName, URL schemaLocation, CoordinateReferenceSystem crs, Map<QName,Class<?>> mappedBindings)
Parses the FeatureType pointed out by theschemaLocation
URL and returns a subset consisting only of the simple attributes found on the original schema. -
Uses of CoordinateReferenceSystem in org.geotools.data.wfs.internal.v1_x
Methods in org.geotools.data.wfs.internal.v1_x that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
FeatureTypeInfoImpl. getCRS()
-
Uses of CoordinateReferenceSystem in org.geotools.data.wfs.internal.v2_0
Methods in org.geotools.data.wfs.internal.v2_0 that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
FeatureTypeInfoImpl. getCRS()
-
Uses of CoordinateReferenceSystem in org.geotools.feature
Fields in org.geotools.feature declared as CoordinateReferenceSystem Modifier and Type Field Description protected CoordinateReferenceSystem
AttributeTypeBuilder. crs
Methods in org.geotools.feature that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
AttributeBuilder. getCRS()
CoordinateReferenceSystem
AttributeBuilder. getCRS(Object geom)
CoordinateReferenceSystem
TypeBuilder. getCRS()
Methods in org.geotools.feature with parameters of type CoordinateReferenceSystem Modifier and Type Method Description GeometryAttribute
AbstractFeatureFactoryImpl. createGeometryAttribute(Object value, GeometryDescriptor descriptor, String id, CoordinateReferenceSystem crs)
AttributeTypeBuilder
AttributeTypeBuilder. crs(CoordinateReferenceSystem crs)
TypeBuilder
TypeBuilder. crs(CoordinateReferenceSystem crs)
void
AttributeBuilder. setCRS(CoordinateReferenceSystem crs)
Sets the coordinate reference system of the built feature.void
AttributeTypeBuilder. setCRS(CoordinateReferenceSystem crs)
void
TypeBuilder. setCRS(CoordinateReferenceSystem crs)
static boolean
FeatureTypes. shouldReproject(SimpleFeatureType schema, CoordinateReferenceSystem crs)
Tells if there is any work to be done for reprojection, i.e. if there are any CRS that differ but are compatible.static SimpleFeatureType
FeatureTypes. transform(SimpleFeatureType schema, CoordinateReferenceSystem crs)
Forces the specified CRS on all geometry attributesstatic SimpleFeatureType
FeatureTypes. transform(SimpleFeatureType schema, CoordinateReferenceSystem crs, boolean forceOnlyMissing)
Forces the specified CRS on geometry attributes (all or some, depends on the parameters).static SimpleFeatureType
FeatureTypes. transform(SimpleFeatureType schema, CoordinateReferenceSystem crs, boolean forceOnlyMissing, boolean onlyIfCompatible)
Forces the specified CRS on geometry attributes (all or some, depends on the parameters). -
Uses of CoordinateReferenceSystem in org.geotools.feature.simple
Fields in org.geotools.feature.simple declared as CoordinateReferenceSystem Modifier and Type Field Description protected CoordinateReferenceSystem
SimpleFeatureTypeBuilder. defaultCrs
default coordinate reference system of the typeMethods in org.geotools.feature.simple that return CoordinateReferenceSystem Modifier and Type Method Description protected CoordinateReferenceSystem
SimpleFeatureTypeBuilder. decode(String srs)
Decodes a srs, supplying a useful error message if there is a problem.CoordinateReferenceSystem
SimpleFeatureTypeBuilder. getCRS()
The fallback coordinate reference system that will be applied to any geometric attributes added to the type without their own coordinate reference system specified.Methods in org.geotools.feature.simple with parameters of type CoordinateReferenceSystem Modifier and Type Method Description void
SimpleFeatureTypeBuilder. add(String name, Class<?> binding, CoordinateReferenceSystem crs)
Adds a new geometric attribute w/ provided name, class, and coordinate reference system.SimpleFeatureTypeBuilder
SimpleFeatureTypeBuilder. crs(CoordinateReferenceSystem crs)
Sets the crs of the next attribute added to the feature type.static SimpleFeatureType
SimpleFeatureTypeBuilder. retype(SimpleFeatureType original, CoordinateReferenceSystem crs)
Create a SimpleFeatureType with the same content; just updating the geometry attribute to match the provided coordinate reference system.void
SimpleFeatureTypeBuilder. setCRS(CoordinateReferenceSystem crs)
Sets the coordinate reference system of the next attribute being added. -
Uses of CoordinateReferenceSystem in org.geotools.feature.type
Fields in org.geotools.feature.type declared as CoordinateReferenceSystem Modifier and Type Field Description protected CoordinateReferenceSystem
GeometryTypeImpl. CRS
Methods in org.geotools.feature.type that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
FeatureTypeImpl. getCoordinateReferenceSystem()
CoordinateReferenceSystem
GeometryDescriptorImpl. getCoordinateReferenceSystem()
CoordinateReferenceSystem
GeometryTypeImpl. getCoordinateReferenceSystem()
Methods in org.geotools.feature.type with parameters of type CoordinateReferenceSystem Modifier and Type Method Description GeometryType
FeatureTypeFactoryImpl. createGeometryType(Name name, Class<?> binding, CoordinateReferenceSystem crs, boolean isIdentifiable, boolean isAbstract, List<Filter> restrictions, AttributeType superType, InternationalString description)
Constructors in org.geotools.feature.type with parameters of type CoordinateReferenceSystem Constructor Description GeometryTypeImpl(Name name, Class binding, CoordinateReferenceSystem crs, boolean identified, boolean isAbstract, List<Filter> restrictions, AttributeType superType, InternationalString description)
-
Uses of CoordinateReferenceSystem in org.geotools.filter.function
Fields in org.geotools.filter.function with type parameters of type CoordinateReferenceSystem Modifier and Type Field Description static Parameter<CoordinateReferenceSystem>
NorthFix. SOURCE_CRS
static Parameter<CoordinateReferenceSystem>
NorthFix. TARGET_CRS
-
Uses of CoordinateReferenceSystem in org.geotools.filter.spatial
Methods in org.geotools.filter.spatial with parameters of type CoordinateReferenceSystem Modifier and Type Method Description protected Geometry
ReprojectingFilterVisitor. reproject(Object value, CoordinateReferenceSystem propertyCrs)
Helper method to reproject a geometry.Constructors in org.geotools.filter.spatial with parameters of type CoordinateReferenceSystem Constructor Description DefaultCRSFilterVisitor(FilterFactory factory, CoordinateReferenceSystem defaultCrs)
FunctionReprojector(CoordinateReferenceSystem propertyCrs, Function delegate)
ReprojectingFilterVisitor(FilterFactory factory, FeatureType featureType, CoordinateReferenceSystem targetCrs)
-
Uses of CoordinateReferenceSystem in org.geotools.filter.v1_0
Methods in org.geotools.filter.v1_0 with parameters of type CoordinateReferenceSystem Modifier and Type Method Description void
OGCBBOXTypeBinding. setCRS(CoordinateReferenceSystem crs)
Setter for crs. -
Uses of CoordinateReferenceSystem in org.geotools.gce.grassraster
Methods in org.geotools.gce.grassraster that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
JGrassMapEnvironment. getCoordinateReferenceSystem()
Read thecrs
from the location.Methods in org.geotools.gce.grassraster with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static GridCoverage2D
JGrassUtilities. buildCoverage(String name, double[][] dataMatrix, double n, double s, double w, double e, CoordinateReferenceSystem crs, boolean matrixIsRowCol)
Creates acoverage
from a double[][] matrix and the necessary geographic Information.JGrassRegion
JGrassRegion. reproject(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, boolean lenient)
Reprojects aregion
. -
Uses of CoordinateReferenceSystem in org.geotools.gce.grassraster.core
Methods in org.geotools.gce.grassraster.core that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
GrassBinaryRasterReadHandler. getCrs()
Reads the crs definition for the map.CoordinateReferenceSystem
GrassBinaryRasterWriteHandler. getCrs()
Reads the crs definition for the map. -
Uses of CoordinateReferenceSystem in org.geotools.gce.imagemosaic
Methods in org.geotools.gce.imagemosaic that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
ImageMosaicReader. getCoordinateReferenceSystem()
CoordinateReferenceSystem
ImageMosaicReader. getCoordinateReferenceSystem(String coverageName)
CoordinateReferenceSystem
MosaicConfigurationBean. getCrs()
CoordinateReferenceSystem
SpatialRequestHelper.CoverageProperties. getCrs2D()
CoordinateReferenceSystem
SpatialRequestHelper.CoverageProperties. getGeographicCRS2D()
CoordinateReferenceSystem
SpatialRequestHelper. getReferenceCRS(boolean useAlternativeIfAvailable)
Methods in org.geotools.gce.imagemosaic with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static boolean
Utils. isSupportedCRS(GridCoverage2DReader reader, CoordinateReferenceSystem crs)
Check if the provided reader is a MultiCRS Reader and it can support the specified crs.static ReferencedEnvelope
Utils. reprojectEnvelope(ReferencedEnvelope sourceEnvelope, CoordinateReferenceSystem targetCRS, ReferencedEnvelope targetReferenceEnvelope)
static Geometry
Utils. reprojectEnvelopeToGeometry(ReferencedEnvelope sourceEnvelope, CoordinateReferenceSystem targetCRS, ReferencedEnvelope targetReferenceEnvelope)
Reprojects an envelope using theProjectionHandler
machinery.void
MosaicConfigurationBean. setCrs(CoordinateReferenceSystem crs)
void
SpatialRequestHelper.CoverageProperties. setCrs2D(CoordinateReferenceSystem crs2d)
void
SpatialRequestHelper.CoverageProperties. setGeographicCRS2D(CoordinateReferenceSystem geographicCRS2D)
-
Uses of CoordinateReferenceSystem in org.geotools.gce.imagemosaic.catalog.oracle
Fields in org.geotools.gce.imagemosaic.catalog.oracle declared as CoordinateReferenceSystem Modifier and Type Field Description protected CoordinateReferenceSystem
AbstractFeatureTypeMapper. coordinateReferenceSystem
the coordinateReferenceSystem for the geometryMethods in org.geotools.gce.imagemosaic.catalog.oracle that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
AbstractFeatureTypeMapper. getCoordinateReferenceSystem()
CoordinateReferenceSystem
FeatureTypeMapper. getCoordinateReferenceSystem()
Get the coordinate Reference System -
Uses of CoordinateReferenceSystem in org.geotools.gce.imagemosaic.catalogbuilder
Methods in org.geotools.gce.imagemosaic.catalogbuilder that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
MosaicBeanBuilder. getCrs()
Methods in org.geotools.gce.imagemosaic.catalogbuilder with parameters of type CoordinateReferenceSystem Modifier and Type Method Description void
MosaicBeanBuilder. setCrs(CoordinateReferenceSystem crs)
-
Uses of CoordinateReferenceSystem in org.geotools.gce.imagemosaic.egr
Constructors in org.geotools.gce.imagemosaic.egr with parameters of type CoordinateReferenceSystem Constructor Description ROIExcessGranuleRemover(Rectangle rasterBounds, int tileWidth, int tileHeight, CoordinateReferenceSystem targetCRS)
-
Uses of CoordinateReferenceSystem in org.geotools.gce.imagepyramid
Methods in org.geotools.gce.imagepyramid that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
ImagePyramidReader. getCoordinateReferenceSystem(String coverageName)
-
Uses of CoordinateReferenceSystem in org.geotools.geojson.feature
Methods in org.geotools.geojson.feature that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
FeatureCollectionHandler. getCRS()
CoordinateReferenceSystem
FeatureHandler. getCRS()
CoordinateReferenceSystem
CRSHandler. getValue()
CoordinateReferenceSystem
FeatureJSON. readCRS(InputStream input)
Reads a coordinate reference system from GeoJSON.CoordinateReferenceSystem
FeatureJSON. readCRS(Object input)
Reads a coordinate reference system from GeoJSON.Methods in org.geotools.geojson.feature with parameters of type CoordinateReferenceSystem Modifier and Type Method Description void
FeatureHandler. setCRS(CoordinateReferenceSystem crs)
String
FeatureJSON. toString(CoordinateReferenceSystem crs)
Writes a coordinate reference system as GeoJSON returning the result as a string.void
FeatureJSON. writeCRS(CoordinateReferenceSystem crs, OutputStream output)
Writes a coordinate reference system as GeoJSON.void
FeatureJSON. writeCRS(CoordinateReferenceSystem crs, Object output)
Writes a coordinate reference system as GeoJSON. -
Uses of CoordinateReferenceSystem in org.geotools.geometry
Methods in org.geotools.geometry that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
Envelope2DArchived. getCoordinateReferenceSystem()
Returns the coordinate reference system in which the coordinates are given.CoordinateReferenceSystem
GeneralBounds. getCoordinateReferenceSystem()
Returns the coordinate reference system in which the coordinates are given.CoordinateReferenceSystem
GeneralPosition. getCoordinateReferenceSystem()
Returns the coordinate reference system in which the coordinate is given.CoordinateReferenceSystem
Position1D. getCoordinateReferenceSystem()
Returns the coordinate reference system in which the coordinate is given.CoordinateReferenceSystem
Position2D. getCoordinateReferenceSystem()
Returns the coordinate reference system in which the coordinate is given.CoordinateReferenceSystem
Position3D. getCoordinateReferenceSystem()
Returns the coordinate reference system in which the coordinate is given.Methods in org.geotools.geometry with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static void
AbstractPosition. checkCoordinateReferenceSystemDimension(CoordinateReferenceSystem crs, int expected)
Convenience method for checking coordinate reference system validity.Position
TransformedPosition. inverseTransform(CoordinateReferenceSystem crs)
Returns a new point with the same coordinates than this one, but transformed in the given CRS.void
Envelope2DArchived. setCoordinateReferenceSystem(CoordinateReferenceSystem crs)
Set the coordinate reference system in which the coordinate are given.void
GeneralBounds. setCoordinateReferenceSystem(CoordinateReferenceSystem crs)
Sets the coordinate reference system in which the coordinate are given.void
GeneralPosition. setCoordinateReferenceSystem(CoordinateReferenceSystem crs)
Set the coordinate reference system in which the coordinate is given.void
Position1D. setCoordinateReferenceSystem(CoordinateReferenceSystem crs)
Set the coordinate reference system in which the coordinate is given.void
Position2D. setCoordinateReferenceSystem(CoordinateReferenceSystem crs)
Set the coordinate reference system in which the coordinate is given.void
Position3D. setCoordinateReferenceSystem(CoordinateReferenceSystem crs)
Set the coordinate reference system in which the coordinate is given.void
TransformedPosition. setCoordinateReferenceSystem(CoordinateReferenceSystem crs)
Sets the coordinate reference system in which the coordinate is given.BoundingBox
Envelope2DArchived. toBounds(CoordinateReferenceSystem targetCRS)
Constructors in org.geotools.geometry with parameters of type CoordinateReferenceSystem Constructor Description Envelope2DArchived(CoordinateReferenceSystem crs)
Constructs an initially empty envelope with the defined CRS.Envelope2DArchived(CoordinateReferenceSystem crs, double x, double y, double width, double height)
Constructs two-dimensional envelope defined by the specified coordinates.Envelope2DArchived(CoordinateReferenceSystem crs, Rectangle2D rect)
Constructs two-dimensional envelope defined by an otherRectangle2D
.GeneralBounds(Rectangle2D rect, CoordinateReferenceSystem crs)
Constructs two-dimensional envelope defined by aRectangle2D
.GeneralBounds(GridEnvelope gridRange, PixelInCell anchor, MathTransform gridToCRS, CoordinateReferenceSystem crs)
Creates an envelope for a grid range transformed to an envelope using the specified math transform.GeneralBounds(CoordinateReferenceSystem crs)
Constructs an empty envelope with the specified coordinate reference system.GeneralBounds(CoordinateReferenceSystem crs, double xMin, double yMin, double width, double height)
Constructs an empty envelope with the specified coordinate reference system.GeneralPosition(CoordinateReferenceSystem crs)
Constructs a position using the specified coordinate reference system.Position1D(CoordinateReferenceSystem crs)
Constructs a position with the specified coordinate reference system.Position2D(CoordinateReferenceSystem crs)
Constructs a position with the specified coordinate reference system.Position2D(CoordinateReferenceSystem crs, double x, double y)
Constructs a 2D position from the specified ordinates in the specified CRS.Position3D(CoordinateReferenceSystem crs)
Constructs a position with the specified coordinate reference system.Position3D(CoordinateReferenceSystem crs, double x, double y, double z)
Constructs a 2D position from the specified ordinates in the specified CRS.TransformedPosition(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, Hints hints)
Creates a new position which will contains the result of coordinate transformations fromsourceCRS
totargetCRS
. -
Uses of CoordinateReferenceSystem in org.geotools.geometry.jts
Fields in org.geotools.geometry.jts declared as CoordinateReferenceSystem Modifier and Type Field Description protected CoordinateReferenceSystem
ReferencedEnvelope. crs
The coordinate reference system, ornull
.Methods in org.geotools.geometry.jts that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
ReferencedEnvelope. getCoordinateReferenceSystem()
Returns the coordinate reference system associated with this envelope.static CoordinateReferenceSystem
JTS. getCRS(Geometry geometry)
Get the CRS of a geometry, stored inGeometry.getUserData()
(as aCoordinateReferenceSystem
directly, or as aMap<Class,Value>
) or as a non-zeroGeometry.getSRID()
.Methods in org.geotools.geometry.jts with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static ReferencedEnvelope
JTS. bounds(Geometry geometry, CoordinateReferenceSystem crs)
Replacement for geometry.getEnvelopeInternal() that returns ReferencedEnvelope or ReferencedEnvelope3D as appropriate for the provided CRS.static void
JTS. checkCoordinatesRange(Geometry geom, CoordinateReferenceSystem crs)
Checks a Geometry coordinates are within the area of validity of the specified reference system.static ReferencedEnvelope
ReferencedEnvelope. create(Rectangle2D rectangle, CoordinateReferenceSystem crs)
Utility method to create a ReferencedEnvelope from a Java2D Rectangle class, supporting empty rectangles.static ReferencedEnvelope
ReferencedEnvelope. create(Bounds env, CoordinateReferenceSystem crs)
Utility method to create a ReferencedEnvelope from providedBounds
.static ReferencedEnvelope
ReferencedEnvelope. create(CoordinateReferenceSystem crs)
Factory method to create the correct ReferencedEnvelope implementation for the provided CoordinateReferenceSystem.static ReferencedEnvelope
ReferencedEnvelope. envelope(Envelope env, CoordinateReferenceSystem crs)
Utility method to create a ReferencedEnvelope a plain JTS Envelope class, supporting 2d as well as 3d envelopes (returning the right class).static double
JTS. orthodromicDistance(Coordinate p1, Coordinate p2, CoordinateReferenceSystem crs)
Computes the orthodromic distance between two points.static ReferencedEnvelope
ReferencedEnvelope. rect(double x, double y, double width, double height, CoordinateReferenceSystem crs)
Construct referenced envelope using rectangle conventions using width and height.static ReferencedEnvelope
ReferencedEnvelope. rect(Rectangle2D rectangle, CoordinateReferenceSystem crs)
Construct referenced envelope using rectangle conventions using width and height.void
GeometryCoordinateSequenceTransformer. setCoordinateReferenceSystem(CoordinateReferenceSystem crs)
Sets the target coordinate reference system.void
ReferencedEnvelope. setCoordinateReferenceSystem(CoordinateReferenceSystem crs)
Set the coordinate reference system in which the coordinate are given.static void
JTS. setCRS(Geometry geometry, CoordinateReferenceSystem crs)
Set the CRS of a geometry isGeometry.getUserData()
.BoundingBox
ReferencedEnvelope. toBounds(CoordinateReferenceSystem targetCRS)
Returns a new bounding box which contains the transformed shape of this bounding box.BoundingBox
ReferencedEnvelope3D. toBounds(CoordinateReferenceSystem targetCRS)
Returns a new bounding box which contains the transformed shape of this bounding box.static Position
JTS. toDirectPosition(Coordinate point, CoordinateReferenceSystem crs)
Creates a DirectPosition from the provided point.static Envelope
JTS. toGeographic(Envelope envelope, CoordinateReferenceSystem crs)
Transforms the envelope from its current crs toDefaultGeographicCRS.WGS84
.static Geometry
JTS. toGeographic(Geometry geom, CoordinateReferenceSystem crs)
Transforms the geometry from its current crs toDefaultGeographicCRS.WGS84
.ReferencedEnvelope
ReferencedEnvelope. transform(CoordinateReferenceSystem targetCRS, boolean lenient)
Transforms the referenced envelope to the specified coordinate reference system.ReferencedEnvelope
ReferencedEnvelope. transform(CoordinateReferenceSystem targetCRS, boolean lenient, int numPointsForTransformation)
Transforms the referenced envelope to the specified coordinate reference system using the specified amount of points.ReferencedEnvelope
ReferencedEnvelope3D. transform(CoordinateReferenceSystem targetCRS, boolean lenient)
Transforms the referenced envelope to the specified coordinate reference system.ReferencedEnvelope
ReferencedEnvelope3D. transform(CoordinateReferenceSystem targetCRS, boolean lenient, int numPointsForTransformation)
Transforms the referenced envelope to the specified coordinate reference system using the specified amount of points.static ReferencedEnvelope
JTS. transformTo2D(ReferencedEnvelope sourceEnvelope, CoordinateReferenceSystem targetCRS, boolean lenient, int npoints)
Transform from 3D down to 2D.static ReferencedEnvelope3D
JTS. transformTo3D(ReferencedEnvelope sourceEnvelope, CoordinateReferenceSystem targetCRS, boolean lenient, int npoints)
Transform from D up to 3D.Constructors in org.geotools.geometry.jts with parameters of type CoordinateReferenceSystem Constructor Description ReferencedEnvelope(double x1, double x2, double y1, double y2, CoordinateReferenceSystem crs)
Creates an envelope for a region defined by maximum and minimum values.ReferencedEnvelope(Rectangle2D rectangle, CoordinateReferenceSystem crs)
Creates an envelope for a Java2D rectangle.ReferencedEnvelope(CoordinateReferenceSystem crs)
Creates a null envelope with the specified coordinate reference system.ReferencedEnvelope(Envelope envelope, CoordinateReferenceSystem crs)
Creates a new envelope from an existing JTS envelope.ReferencedEnvelope3D(double x1, double x2, double y1, double y2, double z1, double z2, CoordinateReferenceSystem crs)
Creates an envelope for a region defined by maximum and minimum values.ReferencedEnvelope3D(CoordinateReferenceSystem crs)
Creates a null envelope with the specified coordinate reference system.ReferencedEnvelope3D(ReferencedEnvelope3D envelope, CoordinateReferenceSystem crs)
Creates a new envelope from an existing JTS envelope.ReferencedEnvelope3D(Envelope envelope, CoordinateReferenceSystem crs)
Creates a new envelope from an existing JTS envelope. -
Uses of CoordinateReferenceSystem in org.geotools.geopkg
Methods in org.geotools.geopkg that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
GeoPkgDialect. createCRS(int srid, Connection cx)
Methods in org.geotools.geopkg with parameters of type CoordinateReferenceSystem Modifier and Type Method Description void
GeoPackage. addCRS(CoordinateReferenceSystem crs, String auth, int srid)
Adds a crs to the geopackage, registering it in the spatial_ref_sys table.static int
GeoPackage. findSRID(Connection cx, CoordinateReferenceSystem crs)
-
Uses of CoordinateReferenceSystem in org.geotools.geopkg.mosaic
Methods in org.geotools.geopkg.mosaic that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
GeoPackageReader. getCoordinateReferenceSystem(String coverageName)
-
Uses of CoordinateReferenceSystem in org.geotools.gml.stream
Method parameters in org.geotools.gml.stream with type arguments of type CoordinateReferenceSystem Modifier and Type Method Description void
XmlStreamGeometryReader. setInvertAxisNeeded(Predicate<CoordinateReferenceSystem> invertAxisNeeded)
By default axis are not inverted, you can provide a predicate that determines whether axes need to be inverted for a CRS (only called once per CRS). -
Uses of CoordinateReferenceSystem in org.geotools.gml2.bindings
Methods in org.geotools.gml2.bindings that return CoordinateReferenceSystem Modifier and Type Method Description static CoordinateReferenceSystem
GML2ParsingUtils. crs(Node node)
static CoordinateReferenceSystem
GML2EncodingUtils. getCRS(Geometry g)
Deprecated.please useJTS.getCRS(Geometry)
Methods in org.geotools.gml2.bindings with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static String
GML2EncodingUtils. epsgCode(CoordinateReferenceSystem crs)
UseGML2EncodingUtils.toURI(CoordinateReferenceSystem, SrsSyntax, boolean)
instead, orSrsSyntax
directlystatic SimpleFeatureType
GML2ParsingUtils. featureType(XSDElementDeclaration element, BindingWalkerFactory bwFactory, CoordinateReferenceSystem crs)
Turns a xml type definition into a geotools feature type.static String
GML2EncodingUtils. toURI(CoordinateReferenceSystem crs)
Encodes the crs object as a uri.static String
GML2EncodingUtils. toURI(CoordinateReferenceSystem crs, boolean forceOldStyle)
Encodes the crs object as a uri.static String
GML2EncodingUtils. toURI(CoordinateReferenceSystem crs, SrsSyntax srsSyntax, boolean switchCode)
Encodes the crs object as a uri using the specified syntax. -
Uses of CoordinateReferenceSystem in org.geotools.gml2.simple
Methods in org.geotools.gml2.simple with parameters of type CoordinateReferenceSystem Modifier and Type Method Description void
GML2FeatureCollectionEncoderDelegate.GML2Delegate. setSrsNameAttribute(AttributesImpl atts, CoordinateReferenceSystem crs)
void
GMLDelegate. setSrsNameAttribute(AttributesImpl atts, CoordinateReferenceSystem crs)
Sets the SRS attribute with the proper syntax for the given GML version -
Uses of CoordinateReferenceSystem in org.geotools.gml3.bindings
Methods in org.geotools.gml3.bindings with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static URI
GML3EncodingUtils. toURI(CoordinateReferenceSystem crs, SrsSyntax srsSyntax)
-
Uses of CoordinateReferenceSystem in org.geotools.gml3.simple
Methods in org.geotools.gml3.simple with parameters of type CoordinateReferenceSystem Modifier and Type Method Description void
GML32FeatureCollectionEncoderDelegate.GML32Delegate. setSrsNameAttribute(AttributesImpl atts, CoordinateReferenceSystem crs)
-
Uses of CoordinateReferenceSystem in org.geotools.grid
Methods in org.geotools.grid with parameters of type CoordinateReferenceSystem Modifier and Type Method Description protected static SimpleFeatureType
DefaultGridFeatureBuilder. createType(String typeName, CoordinateReferenceSystem crs)
Creates the feature TYPEConstructors in org.geotools.grid with parameters of type CoordinateReferenceSystem Constructor Description DefaultGridFeatureBuilder(String typeName, CoordinateReferenceSystem crs)
Creates a new instance.DefaultGridFeatureBuilder(CoordinateReferenceSystem crs)
Creates a new instance with a feature TYPE having the default name and the supplied coordinate reference system. -
Uses of CoordinateReferenceSystem in org.geotools.grid.hexagon
Methods in org.geotools.grid.hexagon with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static Hexagon
Hexagons. create(double minX, double minY, double sideLen, HexagonOrientation orientation, CoordinateReferenceSystem crs)
Creates a newHexagon
object.Constructors in org.geotools.grid.hexagon with parameters of type CoordinateReferenceSystem Constructor Description HexagonImpl(double minX, double minY, double sideLen, HexagonOrientation orientation, CoordinateReferenceSystem crs)
Creates a new hexagon. -
Uses of CoordinateReferenceSystem in org.geotools.grid.oblong
Methods in org.geotools.grid.oblong with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static Oblong
Oblongs. create(double minX, double minY, double width, double height, CoordinateReferenceSystem crs)
Creates a newOblong
object.Constructors in org.geotools.grid.oblong with parameters of type CoordinateReferenceSystem Constructor Description OblongImpl(double minX, double minY, double width, double height, CoordinateReferenceSystem crs)
Creates a new oblong. -
Uses of CoordinateReferenceSystem in org.geotools.grid.ortholine
Methods in org.geotools.grid.ortholine with parameters of type CoordinateReferenceSystem Modifier and Type Method Description protected static SimpleFeatureType
OrthoLineFeatureBuilder. createType(String typeName, CoordinateReferenceSystem crs)
Creates the feature TYPEConstructors in org.geotools.grid.ortholine with parameters of type CoordinateReferenceSystem Constructor Description OrthoLineFeatureBuilder(String typeName, CoordinateReferenceSystem crs)
Creates a new instance.OrthoLineFeatureBuilder(CoordinateReferenceSystem crs)
Creates a new instance with a feature TYPE having the default name and the supplied coordinate reference system. -
Uses of CoordinateReferenceSystem in org.geotools.grid.oval
Methods in org.geotools.grid.oval with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static Oval
Ovals. create(double minX, double minY, double width, double height, CoordinateReferenceSystem crs)
Creates a newOval
object.Constructors in org.geotools.grid.oval with parameters of type CoordinateReferenceSystem Constructor Description OvalImpl(double minX, double minY, double width, double height, CoordinateReferenceSystem crs)
Creates a new oblong. -
Uses of CoordinateReferenceSystem in org.geotools.imageio.netcdf
Methods in org.geotools.imageio.netcdf that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
VariableAdapter.UnidataTemporalDomain. getCoordinateReferenceSystem()
CoordinateReferenceSystem
VariableAdapter.UnidataVerticalDomain. getCoordinateReferenceSystem()
CoordinateReferenceSystem
VariableAdapter.UnidataSpatialDomain. getCoordinateReferenceSystem2D()
Methods in org.geotools.imageio.netcdf with parameters of type CoordinateReferenceSystem Modifier and Type Method Description void
VariableAdapter.UnidataSpatialDomain. setCoordinateReferenceSystem(CoordinateReferenceSystem coordinateReferenceSystem)
Constructors in org.geotools.imageio.netcdf with parameters of type CoordinateReferenceSystem Constructor Description NetCDFImageMetadata(String variableName, SampleModel sm, ColorModel cm, CoordinateReferenceSystem crs)
-
Uses of CoordinateReferenceSystem in org.geotools.imageio.netcdf.cv
Methods in org.geotools.imageio.netcdf.cv that return CoordinateReferenceSystem Modifier and Type Method Description protected abstract CoordinateReferenceSystem
CoordinateVariable. buildCoordinateReferenceSystem()
CoordinateReferenceSystem
CoordinateVariable. getCoordinateReferenceSystem()
-
Uses of CoordinateReferenceSystem in org.geotools.imageio.netcdf.utilities
Fields in org.geotools.imageio.netcdf.utilities declared as CoordinateReferenceSystem Modifier and Type Field Description static CoordinateReferenceSystem
NetCDFCRSUtilities. WGS84
Methods in org.geotools.imageio.netcdf.utilities with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static SimpleFeatureType
NetCDFUtilities. createFeatureType(String schemaName, String schemaDef, CoordinateReferenceSystem crs)
-
Uses of CoordinateReferenceSystem in org.geotools.jdbc
Methods in org.geotools.jdbc that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
SQLDialect. createCRS(int srid, Connection cx)
Turns the specified srid into aCoordinateReferenceSystem
, or returnsnull
if not possible. -
Uses of CoordinateReferenceSystem in org.geotools.map
Methods in org.geotools.map that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
MapContent. getCoordinateReferenceSystem()
The coordinate reference system used for rendering the map.CoordinateReferenceSystem
MapViewport. getCoordinateReferenceSystem()
The coordinate reference system used for rendering the map.CoordinateReferenceSystem
MapBoundsEvent. getNewCoordinateReferenceSystem()
Get the new coordinate reference system.CoordinateReferenceSystem
MapBoundsEvent. getOldCoordinateReferenceSystem()
Get the previous coordinate reference system.Methods in org.geotools.map with parameters of type CoordinateReferenceSystem Modifier and Type Method Description void
MapViewport. setCoordinateReferenceSystem(CoordinateReferenceSystem crs)
Set theCoordinateReferenceSystem
for the viewport. -
Uses of CoordinateReferenceSystem in org.geotools.mbtiles
Fields in org.geotools.mbtiles declared as CoordinateReferenceSystem Modifier and Type Field Description protected static CoordinateReferenceSystem
MBTilesDataStore. DEFAULT_CRS
static CoordinateReferenceSystem
MBTilesFile. SPHERICAL_MERCATOR
-
Uses of CoordinateReferenceSystem in org.geotools.ows.wms
Methods in org.geotools.ows.wms that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
CRSEnvelope. getCoordinateReferenceSystem()
Returns the coordinate reference system for this envelope (if known). return CoordinateReferenceSystem if known, ornull
CoordinateReferenceSystem
WebMapServer.LayerInfo. getCRS()
Methods in org.geotools.ows.wms with parameters of type CoordinateReferenceSystem Modifier and Type Method Description protected Collection<String>
Layer. extractCRSNames(CoordinateReferenceSystem crs)
GeneralBounds
Layer. getEnvelope(CoordinateReferenceSystem crs)
Look up an envelope for the provided CoordinateReferenceSystem.GeneralBounds
WebMapServer. getEnvelope(Layer layer, CoordinateReferenceSystem crs)
Given a layer and a coordinate reference system, will locate an envelope for that layer in that CRS.static String
WMSUtils. matchEPSG(CoordinateReferenceSystem crs, Set codes)
Given a CRS and a Set of type String consisting of EPSG CRS codes (such as "EPSG:4326"), it will check the transform that exists between each EPSG code's CRS and the given CRS. -
Uses of CoordinateReferenceSystem in org.geotools.ows.wms.map
Methods in org.geotools.ows.wms.map that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
WMSLayer. getCoordinateReferenceSystem()
Returns the CRS used to make requests to the remote WMSMethods in org.geotools.ows.wms.map with parameters of type CoordinateReferenceSystem Modifier and Type Method Description boolean
WMSLayer. isNativelySupported(CoordinateReferenceSystem crs)
Returns true if the specified CRS can be used directly to perform WMS requests. -
Uses of CoordinateReferenceSystem in org.geotools.ows.wms.request
Methods in org.geotools.ows.wms.request that return CoordinateReferenceSystem Modifier and Type Method Description static CoordinateReferenceSystem
AbstractGetMapRequest. toServerCRS(String srsName, boolean forceXY)
-
Uses of CoordinateReferenceSystem in org.geotools.ows.wmts
Methods in org.geotools.ows.wmts with parameters of type CoordinateReferenceSystem Modifier and Type Method Description GeneralBounds
WebMapTileServer. getEnvelope(Layer layer, CoordinateReferenceSystem crs)
TileMatrixSet
WebMapTileServer. selectMatrixSet(WMTSLayer layer, CoordinateReferenceSystem requestCRS)
Selects the tileMatrixSet that is linked to this layer with the given CRS -
Uses of CoordinateReferenceSystem in org.geotools.ows.wmts.client
Methods in org.geotools.ows.wmts.client that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
WMTSTileService. getProjectedTileCrs()
-
Uses of CoordinateReferenceSystem in org.geotools.ows.wmts.map
Fields in org.geotools.ows.wmts.map with type parameters of type CoordinateReferenceSystem Modifier and Type Field Description static DefaultParameterDescriptor<CoordinateReferenceSystem>
WMTSMapLayer. SOURCE_CRS
Methods in org.geotools.ows.wmts.map that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
WMTSCoverageReader. getCoordinateReferenceSystem()
CoordinateReferenceSystem
WMTSMapLayer. getCoordinateReferenceSystem()
Returns the CRS used to make requests to the remote WMTSMethods in org.geotools.ows.wmts.map with parameters of type CoordinateReferenceSystem Modifier and Type Method Description boolean
WMTSMapLayer. isNativelySupported(CoordinateReferenceSystem crs)
Returns true if the specified CRS can be used directly to perform WMTS requests.Constructors in org.geotools.ows.wmts.map with parameters of type CoordinateReferenceSystem Constructor Description WMTSMapLayer(WebMapTileServer wmts, Layer layer, CoordinateReferenceSystem sourceCRS)
Builds a new WMTS map layer -
Uses of CoordinateReferenceSystem in org.geotools.ows.wmts.model
Methods in org.geotools.ows.wmts.model that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
TileMatrixSet. getCoordinateReferenceSystem()
CoordinateReferenceSystem
TileMatrix. getCrs()
Retrieve the CRS from the parent TileMatrixSetCoordinateReferenceSystem
WMTSLayer. getPreferredCRS()
protected CoordinateReferenceSystem
TileMatrixSet. parseCoordinateReferenceSystem(String crs)
Try and parse the crs string.Methods in org.geotools.ows.wmts.model with parameters of type CoordinateReferenceSystem Modifier and Type Method Description void
WMTSLayer. addSRS(CoordinateReferenceSystem crs)
protected Collection<String>
WMTSLayer. extractCRSNames(CoordinateReferenceSystem crs)
void
TileMatrixSet. setCoordinateReferenceSystem(CoordinateReferenceSystem coordinateReferenceSystem)
void
WMTSLayer. setPreferredCRS(CoordinateReferenceSystem preferredCRS)
-
Uses of CoordinateReferenceSystem in org.geotools.ows.wmts.request
Methods in org.geotools.ows.wmts.request that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
AbstractGetTileRequest. getCrs()
Methods in org.geotools.ows.wmts.request with parameters of type CoordinateReferenceSystem Modifier and Type Method Description void
AbstractGetTileRequest. setCRS(CoordinateReferenceSystem coordinateReferenceSystem)
void
GetTileRequest. setCRS(CoordinateReferenceSystem coordinateReferenceSystem)
-
Uses of CoordinateReferenceSystem in org.geotools.process.geometry
Methods in org.geotools.process.geometry with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static Geometry
GeometryFunctions. reproject(Geometry geometry, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS)
Will reproject a geometry to another CRS. -
Uses of CoordinateReferenceSystem in org.geotools.process.raster
Methods in org.geotools.process.raster with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static void
BaseCoverageAlgebraProcess. checkCompatibleCRS(CoordinateReferenceSystem crsA, CoordinateReferenceSystem crsB)
Utility method for checking if two CRS are equalsSimpleFeatureCollection
RasterAsPointCollectionProcess. execute(GridCoverage2D gc2d, CoordinateReferenceSystem targetCRS, Float scaleFactor, Interpolation interpolation, Boolean emisphere)
-
Uses of CoordinateReferenceSystem in org.geotools.process.vector
Methods in org.geotools.process.vector with parameters of type CoordinateReferenceSystem Modifier and Type Method Description SimpleFeatureCollection
FeatureProcess. execute(Geometry geometry, CoordinateReferenceSystem crs, String name)
FeatureCollection<? extends FeatureType,? extends Feature>
LRSMeasureProcess. execute(FeatureCollection<? extends FeatureType,? extends Feature> featureCollection, String fromMeasureAttb, String toMeasureAttb, Point point, CoordinateReferenceSystem crs)
Process the input data set.FeatureCollection
NearestProcess. execute(FeatureCollection featureCollection, Point point, CoordinateReferenceSystem crs)
Process the input data set.SimpleFeatureCollection
PointBuffers. execute(Point center, CoordinateReferenceSystem crs, double[] distances, Integer quadrantSegments, ProgressListener listener)
SimpleFeatureCollection
ReprojectProcess. execute(SimpleFeatureCollection features, CoordinateReferenceSystem forcedCRS, CoordinateReferenceSystem targetCRS)
FeatureCollection
SnapProcess. execute(FeatureCollection featureCollection, Point point, CoordinateReferenceSystem crs)
Process the input data set.Constructors in org.geotools.process.vector with parameters of type CoordinateReferenceSystem Constructor Description GeographicGenerator(Point center, int quadrantSegments, CoordinateReferenceSystem crs)
-
Uses of CoordinateReferenceSystem in org.geotools.referencing
Methods in org.geotools.referencing that return CoordinateReferenceSystem Modifier and Type Method Description static CoordinateReferenceSystem
CRS. decode(String code)
Return a Coordinate Reference System for the specified code.static CoordinateReferenceSystem
CRS. decode(String code, boolean longitudeFirst)
Return a Coordinate Reference System for the specified code, maybe forcing the axis order to (longitude, latitude).CoordinateReferenceSystem
CoordinateFormat. getCoordinateReferenceSystem()
Returns the coordinate reference system for points to be formatted.CoordinateReferenceSystem
GeodeticCalculator. getCoordinateReferenceSystem()
Returns the coordinate reference system for all methods working onPosition
objects.static CoordinateReferenceSystem
CRS. parseWKT(String wkt)
Parses a Well Known Text (WKT) into a CRS object.Methods in org.geotools.referencing with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static MathTransform
CRS. findMathTransform(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS)
Grab a transform between two Coordinate Reference Systems.static MathTransform
CRS. findMathTransform(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, boolean lenient)
Grab a transform between two Coordinate Reference Systems.static MathTransform
CRS. findMathTransform(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, String transformCode)
Grab a transform between two Coordinate Reference Systems with the required transformation being used.static CRS.AxisOrder
CRS. getAxisOrder(CoordinateReferenceSystem crs)
Determines the axis ordering of a specified crs object.static CRS.AxisOrder
CRS. getAxisOrder(CoordinateReferenceSystem crs, boolean useBaseGeoCRS)
Determines the axis ordering of a specified crs object.static Ellipsoid
CRS. getEllipsoid(CoordinateReferenceSystem crs)
Returns the first ellipsoid found in a coordinate reference system, ornull
if there is none.static Bounds
CRS. getEnvelope(CoordinateReferenceSystem crs)
Returns the domain of validity for the specified coordinate reference system, ornull
if unknown.static GeographicBoundingBox
CRS. getGeographicBoundingBox(CoordinateReferenceSystem crs)
Returns the valid geographic area for the specified coordinate reference system, ornull
if unknown.static SingleCRS
CRS. getHorizontalCRS(CoordinateReferenceSystem crs)
Returns the first horizontal coordinate reference system found in the given CRS, ornull
if there is none.static MapProjection
CRS. getMapProjection(CoordinateReferenceSystem crs)
Returns theMapProjection
driving the specified crs, ornull
if none could be found.static ProjectedCRS
CRS. getProjectedCRS(CoordinateReferenceSystem crs)
Returns the first projected coordinate reference system found in a the given CRS, ornull
if there is none.static TemporalCRS
CRS. getTemporalCRS(CoordinateReferenceSystem crs)
Returns the first temporal coordinate reference system found in the given CRS, ornull
if there is none.static Map<String,AbstractCoordinateOperation>
CRS. getTransforms(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS)
List the availableDefaultConcatenatedOperation
from sourceCRS to targetCRSstatic VerticalCRS
CRS. getVerticalCRS(CoordinateReferenceSystem crs)
Returns the first vertical coordinate reference system found in a the given CRS, ornull
if there is none.static boolean
CRS. isCompatible(CoordinateReferenceSystem sourceCrs, CoordinateReferenceSystem targetCrs, boolean allowDifferentDimension)
Determines if one coordinate reference system is compatible with another, i.e. can be transformed to the otherstatic boolean
CRS. isEquivalent(CoordinateReferenceSystem source, CoordinateReferenceSystem target)
This method is checking if the 2 CRSs are equivalent by first using the equalsIgnoreMetadata approach and then looking for an identity transformation between the 2 CRSs if the first check fails.static boolean
CRS. isTransformationRequired(CoordinateReferenceSystem source, CoordinateReferenceSystem target)
Checks if a transformation is required to go from source to target.static Integer
CRS. lookupEpsgCode(CoordinateReferenceSystem crs, boolean fullScan)
Looks up an EPSG code for the given coordinate reference system).static String
CRS. lookupIdentifier(Citation authority, CoordinateReferenceSystem crs, boolean fullScan)
Looks up an identifier of the specified authority for the given coordinate reference system).void
CoordinateFormat. setCoordinateReferenceSystem(CoordinateReferenceSystem crs)
Set the coordinate reference system for points to be formatted.static String
CRS. toSRS(CoordinateReferenceSystem crs)
Returns the Spatial Reference System identifier, ornull
if none.static String
CRS. toSRS(CoordinateReferenceSystem crs, boolean codeOnly)
Returns the Spatial Reference System identifier, ornull
if none.static GeneralBounds
CRS. transform(Bounds envelope, CoordinateReferenceSystem targetCRS)
Transforms the given envelope to the specified CRS.Constructors in org.geotools.referencing with parameters of type CoordinateReferenceSystem Constructor Description CoordinateFormat(Locale locale, CoordinateReferenceSystem crs)
Constructs a new coordinate format for the specified locale and coordinate reference system.GeodeticCalculator(CoordinateReferenceSystem crs)
Constructs a new geodetic calculator expecting coordinates in the supplied CRS. -
Uses of CoordinateReferenceSystem in org.geotools.referencing.crs
Classes in org.geotools.referencing.crs that implement CoordinateReferenceSystem Modifier and Type Class Description class
AbstractCRS
Abstract coordinate reference system, usually defined by a coordinate system and a datum.class
AbstractDerivedCRS
A coordinate reference system that is defined by its coordinate conversion from another coordinate reference system (not by a datum).class
AbstractSingleCRS
Abstract coordinate reference system, consisting of a single coordinate system and a single datum (as opposed to compound CRS).class
DefaultCompoundCRS
A coordinate reference system describing the position of points through two or more independent coordinate reference systems.class
DefaultDerivedCRS
A coordinate reference system that is defined by its coordinate conversion from another coordinate reference system but is not a projected coordinate reference system.class
DefaultEngineeringCRS
A contextually local coordinate reference system.class
DefaultGeocentricCRS
A 3D coordinate reference system with the origin at the approximate centre of mass of the earth.class
DefaultGeographicCRS
A coordinate reference system based on an ellipsoidal approximation of the geoid; this provides an accurate representation of the geometry of geographic features for a large portion of the earth's surface.class
DefaultImageCRS
An engineering coordinate reference system applied to locations in images.class
DefaultProjectedCRS
A 2D coordinate reference system used to approximate the shape of the earth on a planar surface.class
DefaultTemporalCRS
A 1D coordinate reference system used for the recording of time.class
DefaultVerticalCRS
A 1D coordinate reference system used for recording heights or depths.Fields in org.geotools.referencing.crs declared as CoordinateReferenceSystem Modifier and Type Field Description protected CoordinateReferenceSystem
AbstractDerivedCRS. baseCRS
The base coordinate reference system.Methods in org.geotools.referencing.crs that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
AbstractDerivedCRS. getBaseCRS()
Returns the base coordinate reference system.Methods in org.geotools.referencing.crs that return types with arguments of type CoordinateReferenceSystem Modifier and Type Method Description List<CoordinateReferenceSystem>
DefaultCompoundCRS. getCoordinateReferenceSystems()
The ordered list of coordinate reference systems.Methods in org.geotools.referencing.crs with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static List<SingleCRS>
DefaultCompoundCRS. getSingleCRS(CoordinateReferenceSystem crs)
Returns the ordered list of single coordinate reference systems for the specified CRS.Constructors in org.geotools.referencing.crs with parameters of type CoordinateReferenceSystem Constructor Description AbstractCRS(CoordinateReferenceSystem crs)
Constructs a new coordinate reference system with the same values than the specified one.AbstractDerivedCRS(Map<String,?> properties, Conversion conversionFromBase, CoordinateReferenceSystem base, MathTransform baseToDerived, CoordinateSystem derivedCS)
Constructs a derived CRS from a defining conversion.AbstractDerivedCRS(Map<String,Object> properties, CoordinateReferenceSystem base, MathTransform baseToDerived, CoordinateSystem derivedCS)
Constructs a derived CRS from a set of properties.DefaultCompoundCRS(String name, CoordinateReferenceSystem... crs)
Constructs a coordinate reference system from a name.DefaultCompoundCRS(Map<String,?> properties, CoordinateReferenceSystem... crs)
Constructs a coordinate reference system from a set of properties.DefaultDerivedCRS(String name, CoordinateReferenceSystem base, MathTransform baseToDerived, CoordinateSystem derivedCS)
Constructs a derived CRS from a name.DefaultDerivedCRS(Map<String,?> properties, Conversion conversionFromBase, CoordinateReferenceSystem base, MathTransform baseToDerived, CoordinateSystem derivedCS)
Constructs a derived CRS from a defining conversion.DefaultDerivedCRS(Map<String,Object> properties, CoordinateReferenceSystem base, MathTransform baseToDerived, CoordinateSystem derivedCS)
Constructs a derived CRS from a set of properties.DefaultDerivedCRS(Map<String,Object> properties, OperationMethod method, CoordinateReferenceSystem base, MathTransform baseToDerived, CoordinateSystem derivedCS)
Constructs a derived CRS from a set of properties. -
Uses of CoordinateReferenceSystem in org.geotools.referencing.epsg.wkt
Methods in org.geotools.referencing.epsg.wkt that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
EPSGCRSAuthorityFactory. createCoordinateReferenceSystem(String code)
-
Uses of CoordinateReferenceSystem in org.geotools.referencing.factory
Methods in org.geotools.referencing.factory that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
AbstractAuthorityFactory. createCoordinateReferenceSystem(String code)
Returns an arbitrary coordinate reference system from a code.CoordinateReferenceSystem
AbstractAuthorityMediator. createCoordinateReferenceSystem(String code)
CoordinateReferenceSystem
AbstractCachedAuthorityFactory. createCoordinateReferenceSystem(String code)
CoordinateReferenceSystem
AuthorityFactoryAdapter. createCoordinateReferenceSystem(String code)
Returns an arbitrary coordinate reference system from a code.CoordinateReferenceSystem
BufferedAuthorityFactory. createCoordinateReferenceSystem(String code)
Returns an arbitrary coordinate reference system from a code.CoordinateReferenceSystem
CachedAuthorityDecorator. createCoordinateReferenceSystem(String code)
CoordinateReferenceSystem
CachedCRSAuthorityDecorator. createCoordinateReferenceSystem(String code)
CoordinateReferenceSystem
FallbackAuthorityFactory. createCoordinateReferenceSystem(String code)
Returns an arbitrary coordinate reference system from a code.CoordinateReferenceSystem
PropertyAuthorityFactory. createCoordinateReferenceSystem(String code)
Returns a coordinate reference system from a code.CoordinateReferenceSystem
ThreadedAuthorityFactory. createCoordinateReferenceSystem(String code)
Returns an arbitrary coordinate reference system from a code.CoordinateReferenceSystem
ReferencingObjectFactory. createFromWKT(String wkt)
Creates a coordinate reference system object from a string.CoordinateReferenceSystem
ReferencingObjectFactory. createFromXML(String xml)
Creates a coordinate reference system object from a XML string.protected abstract CoordinateReferenceSystem
AbstractCachedAuthorityFactory. generateCoordinateReferenceSystem(String code)
protected CoordinateReferenceSystem
TransformedAuthorityFactory. replace(CoordinateReferenceSystem crs)
Replaces (if needed) the specified coordinate reference system.CoordinateReferenceSystem
ReferencingFactoryContainer. separate(CoordinateReferenceSystem crs, int[] dimensions)
Returns a new coordinate reference system with only the specified dimension.CoordinateReferenceSystem
ReferencingFactoryContainer. toGeodetic3D(CompoundCRS crs)
Converts a 2D + 1D compound CRS into a 3D CRS, if possible.Methods in org.geotools.referencing.factory with parameters of type CoordinateReferenceSystem Modifier and Type Method Description CompoundCRS
ReferencingObjectFactory. createCompoundCRS(Map<String,?> properties, CoordinateReferenceSystem[] elements)
Creates a compound coordinate reference system from an ordered list ofCoordinateReferenceSystem
objects.DerivedCRS
ReferencingObjectFactory. createDerivedCRS(Map<String,?> properties, CoordinateReferenceSystem baseCRS, Conversion conversionFromBase, CoordinateSystem derivedCS)
Creates a derived coordinate reference system from a conversion.protected void
AuthorityFactoryAdapter. notifySuccess(String method, String code, CRSAuthorityFactory factory, CoordinateReferenceSystem crs)
Log a message when a CRS is found.protected void
FallbackAuthorityFactory. notifySuccess(String method, String code, CRSAuthorityFactory factory, CoordinateReferenceSystem crs)
protected void
ManyAuthoritiesFactory. notifySuccess(String method, String code, CRSAuthorityFactory factory, CoordinateReferenceSystem crs)
protected CoordinateReferenceSystem
TransformedAuthorityFactory. replace(CoordinateReferenceSystem crs)
Replaces (if needed) the specified coordinate reference system.CoordinateReferenceSystem
ReferencingFactoryContainer. separate(CoordinateReferenceSystem crs, int[] dimensions)
Returns a new coordinate reference system with only the specified dimension. -
Uses of CoordinateReferenceSystem in org.geotools.referencing.factory.epsg
Methods in org.geotools.referencing.factory.epsg that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
CartesianAuthorityFactory. createCoordinateReferenceSystem(String code)
Creates a coordinate reference system from the specified code.CoordinateReferenceSystem
DirectEpsgFactory. createCoordinateReferenceSystem(String code)
Returns a coordinate reference system from a code.CoordinateReferenceSystem
AbstractEpsgFactory. generateCoordinateReferenceSystem(String code)
Returns a coordinate reference system from a code. -
Uses of CoordinateReferenceSystem in org.geotools.referencing.factory.wms
Methods in org.geotools.referencing.factory.wms that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
AutoCRSFactory. createCoordinateReferenceSystem(String code)
Creates a coordinate reference system from the specified code.CoordinateReferenceSystem
WebCRSFactory. createCoordinateReferenceSystem(String code)
Creates a coordinate reference system from the specified code. -
Uses of CoordinateReferenceSystem in org.geotools.referencing.operation
Fields in org.geotools.referencing.operation declared as CoordinateReferenceSystem Modifier and Type Field Description protected CoordinateReferenceSystem
AbstractCoordinateOperation. sourceCRS
The source CRS, ornull
if not available.protected CoordinateReferenceSystem
AbstractCoordinateOperation. targetCRS
The target CRS, ornull
if not available.Methods in org.geotools.referencing.operation that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
AbstractCoordinateOperation. getSourceCRS()
Returns the source CRS.CoordinateReferenceSystem
AbstractCoordinateOperation. getTargetCRS()
Returns the target CRS.Methods in org.geotools.referencing.operation with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static Conversion
DefaultConversion. create(Conversion definition, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform, Class<? extends Conversion> typeHint)
Returns a conversion from the specified defining conversion.static CoordinateOperation
DefaultOperation. create(Map<String,?> properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform, OperationMethod method, Class<? extends CoordinateOperation> type)
Returns a coordinate operation of the specified class.MathTransform
DefaultMathTransformFactory. createBaseToDerived(CoordinateReferenceSystem baseCRS, ParameterValueGroup parameters, CoordinateSystem derivedCS)
Creates a parameterized transform from a base CRS to a derived CS.MathTransform
DefaultMathTransformFactory. createBaseToDerived(CoordinateReferenceSystem baseCRS, MathTransform projection, CoordinateSystem derivedCS)
Creates a transform from a base CRS to a derived CS.protected CoordinateOperation
AbstractCoordinateOperationFactory. createFromAffineTransform(ReferenceIdentifier name, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, Matrix matrix)
Creates a coordinate operation from a matrix, which usually describes an affine tranform.protected CoordinateOperation
AuthorityBackedFactory. createFromDatabase(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS)
Returns an operation for conversion or transformation between two coordinate reference systems.protected CoordinateOperation
DefaultCoordinateOperationFactory. createFromDatabase(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS)
If the coordinate operation is explicitly defined in some database (typically EPSG), returns it.protected CoordinateOperation
AbstractCoordinateOperationFactory. createFromMathTransform(Map<String,?> properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform, OperationMethod method, Class<? extends CoordinateOperation> type)
Creates a coordinate operation from a math transform.protected CoordinateOperation
AbstractCoordinateOperationFactory. createFromMathTransform(ReferenceIdentifier name, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform)
Creates a coordinate operation from a math transform.protected CoordinateOperation
AbstractCoordinateOperationFactory. createFromParameters(ReferenceIdentifier name, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, ParameterValueGroup parameters)
Creates a coordinate operation from a set of parameters.CoordinateOperation
BufferedCoordinateOperationFactory. createOperation(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS)
Returns an operation for conversion or transformation between two coordinate reference systems.CoordinateOperation
BufferedCoordinateOperationFactory. createOperation(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, OperationMethod method)
Returns an operation for conversion or transformation between two coordinate reference systems using the specified method.CoordinateOperation
DefaultCoordinateOperationFactory. createOperation(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS)
Returns an operation for conversion or transformation between two coordinate reference systems.CoordinateOperation
DefaultCoordinateOperationFactory. createOperation(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, OperationMethod method)
Returns an operation using a particular method for conversion or transformation between two coordinate reference systems.protected Set<CoordinateOperation>
AuthorityBackedFactory. findFromDatabase(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, int limit)
Returns the list of available operations for conversion or transformation between two coordinate reference systems.protected Set<CoordinateOperation>
DefaultCoordinateOperationFactory. findFromDatabase(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, int limit)
Returns a list of available coordinate operations explicitly defined in some database (typically EPSG), for the provided CRS pair.Set<CoordinateOperation>
BufferedCoordinateOperationFactory. findOperations(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS)
Returns all available operations for conversion or transformation between two coordinate reference systems.Set<CoordinateOperation>
DefaultCoordinateOperationFactory. findOperations(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS)
Returns all the available operations for conversion or transformation between two coordinate reference systems.protected Set<CoordinateOperation>
DefaultCoordinateOperationFactory. findOperations(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, int limit)
Returns all the available operations for conversion or transformation between two coordinate reference systems.protected CoordinateOperation
AuthorityBackedFactory. validateCandidate(CoordinateOperation candidate, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, boolean inverse)
Selects a valid operation from a set of candidates.Constructors in org.geotools.referencing.operation with parameters of type CoordinateReferenceSystem Constructor Description AbstractCoordinateOperation(Map<String,?> properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform)
Constructs a coordinate operation from a set of properties.DefaultConicProjection(Map<String,?> properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform, OperationMethod method)
Constructs a projection from a set of properties.DefaultConicProjection(Conversion conversion, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform)
Constructs a new projection with the same values than the specified one, together with the specified source and target CRS.DefaultConversion(Map<String,?> properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform, OperationMethod method)
Constructs a conversion from a set of properties.DefaultConversion(Conversion definition, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform)
Constructs a new conversion with the same values than the specified one, together with the specified source and target CRS.DefaultCylindricalProjection(Map<String,?> properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform, OperationMethod method)
Constructs a projection from a set of properties.DefaultCylindricalProjection(Conversion conversion, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform)
Constructs a new projection with the same values than the specified one, together with the specified source and target CRS.DefaultOperation(Map<String,?> properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform, OperationMethod method)
Constructs an operation from a set of properties.DefaultPassThroughOperation(Map<String,?> properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, Operation operation, int firstAffectedOrdinate, int numTrailingOrdinates)
Constructs a single operation from a set of properties.DefaultPassThroughOperation(Map<String,?> properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, Operation operation, MathTransform transform)
Constructs a single operation from a set of properties and the given transform.DefaultPlanarProjection(Map<String,?> properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform, OperationMethod method)
Constructs a projection from a set of properties.DefaultPlanarProjection(Conversion conversion, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform)
Constructs a new projection with the same values than the specified one, together with the specified source and target CRS.DefaultProjection(Map<String,?> properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform, OperationMethod method)
Constructs a projection from a set of properties.DefaultProjection(Conversion conversion, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform)
Constructs a new projection with the same values than the specified one, together with the specified source and target CRS.DefaultSingleOperation(Map<String,?> properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform)
Constructs a single operation from a set of properties.DefaultTransformation(Map<String,?> properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform, OperationMethod method)
Constructs a transformation from a set of properties. -
Uses of CoordinateReferenceSystem in org.geotools.referencing.operation.builder
Methods in org.geotools.referencing.operation.builder that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
MathTransformBuilder. getSourceCRS()
Returns the coordinate reference system for thesource points
.CoordinateReferenceSystem
MathTransformBuilder. getTargetCRS()
Returns the coordinate reference system for thetarget points
. -
Uses of CoordinateReferenceSystem in org.geotools.referencing.operation.projection
Methods in org.geotools.referencing.operation.projection with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static Bounds
GeostationarySatellite. circumscribeFullDisk(CoordinateReferenceSystem geosCRS)
Circumscribed rectangle (smallest) for full disk earth imagestatic Bounds
GeostationarySatellite. inscribeFullDiskEstimate(CoordinateReferenceSystem geosCRS)
Inscribed rectangle for for full disk earth image (not largest inscribing rectangle but close, hence "Estimate") -
Uses of CoordinateReferenceSystem in org.geotools.referencing.util
Methods in org.geotools.referencing.util that return CoordinateReferenceSystem Modifier and Type Method Description static CoordinateReferenceSystem
CRSUtilities. getCRS2D(CoordinateReferenceSystem crs)
Returns a two-dimensional coordinate reference system representing the two first dimensions of the specified coordinate reference system.static CoordinateReferenceSystem
CRSUtilities. getSubCRS(CoordinateReferenceSystem crs, int lower, int upper)
Returns a sub-coordinate reference system for the specified dimension range.Methods in org.geotools.referencing.util with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static CoordinateReferenceSystem
CRSUtilities. getCRS2D(CoordinateReferenceSystem crs)
Returns a two-dimensional coordinate reference system representing the two first dimensions of the specified coordinate reference system.static Datum
CRSUtilities. getDatum(CoordinateReferenceSystem crs)
Returns the datum of the specified CRS, ornull
if none.static int
CRSUtilities. getDimensionOf(CoordinateReferenceSystem crs, Class<? extends CoordinateReferenceSystem> type)
Returns the dimension of the first coordinate reference system of the given type.static Ellipsoid
CRSUtilities. getHeadGeoEllipsoid(CoordinateReferenceSystem crs)
Returns the ellipsoid used by the specified coordinate reference system, providing that the two first dimensions use an instance ofGeographicCRS
.static GeographicCRS
CRSUtilities. getStandardGeographicCRS2D(CoordinateReferenceSystem crs)
Derives a geographic CRS with (longitude, latitude) axis order in decimal degrees, relative to Greenwich.static CoordinateReferenceSystem
CRSUtilities. getSubCRS(CoordinateReferenceSystem crs, int lower, int upper)
Returns a sub-coordinate reference system for the specified dimension range.static String
CRSUtilities. toWGS84String(CoordinateReferenceSystem crs, Rectangle2D bounds)
Returns a character string for the specified geographic area.Method parameters in org.geotools.referencing.util with type arguments of type CoordinateReferenceSystem Modifier and Type Method Description static int
CRSUtilities. getDimensionOf(CoordinateReferenceSystem crs, Class<? extends CoordinateReferenceSystem> type)
Returns the dimension of the first coordinate reference system of the given type. -
Uses of CoordinateReferenceSystem in org.geotools.referencing.wkt
Methods in org.geotools.referencing.wkt that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
Parser. parseCoordinateReferenceSystem(String text)
Parses a coordinate reference system element. -
Uses of CoordinateReferenceSystem in org.geotools.renderer.crs
Fields in org.geotools.renderer.crs declared as CoordinateReferenceSystem Modifier and Type Field Description protected CoordinateReferenceSystem
ProjectionHandler. sourceCRS
protected CoordinateReferenceSystem
ProjectionHandler. targetCRS
Methods in org.geotools.renderer.crs that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
ProjectionHandler. getSourceCRS()
Methods in org.geotools.renderer.crs with parameters of type CoordinateReferenceSystem Modifier and Type Method Description ProjectionHandler
AzimulthalEquidistantProjectionHandlerFactory. getHandler(ReferencedEnvelope renderingEnvelope, CoordinateReferenceSystem sourceCRS, boolean wrap, int wrapLimit)
ProjectionHandler
ConicHandlerFactory. getHandler(ReferencedEnvelope renderingEnvelope, CoordinateReferenceSystem sourceCrs, boolean wrap, int maxWraps)
ProjectionHandler
GeographicHandlerFactory. getHandler(ReferencedEnvelope renderingEnvelope, CoordinateReferenceSystem sourceCrs, boolean wrap, int maxWraps)
ProjectionHandler
HomolosineHandlerFactory. getHandler(ReferencedEnvelope renderingEnvelope, CoordinateReferenceSystem sourceCrs, boolean wrap, int maxWraps)
ProjectionHandler
LambertAzimuthalEqualAreaHandlerFactory. getHandler(ReferencedEnvelope renderingEnvelope, CoordinateReferenceSystem sourceCrs, boolean wrap, int maxWraps)
ProjectionHandler
MercatorHandlerFactory. getHandler(ReferencedEnvelope renderingEnvelope, CoordinateReferenceSystem sourceCrs, boolean wrap, int maxWraps)
ProjectionHandler
OrthographicProjectionHandlerFactory. getHandler(ReferencedEnvelope renderingEnvelope, CoordinateReferenceSystem sourceCRS, boolean wrap, int wrapLimit)
ProjectionHandler
PolarStereographicHandlerFactory. getHandler(ReferencedEnvelope renderingEnvelope, CoordinateReferenceSystem sourceCrs, boolean wrap, int maxWraps)
ProjectionHandler
ProjectionHandlerFactory. getHandler(ReferencedEnvelope renderingEnvelope, CoordinateReferenceSystem sourceCRS, boolean wrap, int wrapLimit)
Returns an handler capable of dealing with the specified envelope, or null if this factory cannot create onestatic ProjectionHandler
ProjectionHandlerFinder. getHandler(ReferencedEnvelope renderingArea, CoordinateReferenceSystem sourceCrs, boolean wrap)
Returns a projection handler for the specified rendering area, or null if not foundstatic ProjectionHandler
ProjectionHandlerFinder. getHandler(ReferencedEnvelope renderingArea, CoordinateReferenceSystem sourceCrs, boolean wrap, Map<String,Object> projectionParameters)
Returns a projection handler for the specified rendering area, or null if not foundProjectionHandler
TransverseMercatorHandlerFactory. getHandler(ReferencedEnvelope renderingEnvelope, CoordinateReferenceSystem sourceCrs, boolean wrap, int maxWraps)
ProjectionHandler
WorldVanDerGrintenIHandlerFactory. getHandler(ReferencedEnvelope renderingEnvelope, CoordinateReferenceSystem sourceCrs, boolean wrap, int maxWraps)
ReferencedEnvelope
ProjectionHandler. getProjectedEnvelope(ReferencedEnvelope envelope, CoordinateReferenceSystem targetCRS)
Reprojects the given envelope to the target CRS, taking into account the ProjectionHandler constraints (valid area bounds, etc.).protected Geometry
ProjectionHandler. intersect(Geometry geometry, Geometry mask, CoordinateReferenceSystem geometryCRS)
protected void
ProjectionHandler. reprojectEnvelopes(CoordinateReferenceSystem queryCRS, List<ReferencedEnvelope> envelopes)
protected ReferencedEnvelope
ProjectionHandler. transformEnvelope(ReferencedEnvelope envelope, CoordinateReferenceSystem targetCRS)
Constructors in org.geotools.renderer.crs with parameters of type CoordinateReferenceSystem Constructor Description ProjectionHandler(CoordinateReferenceSystem sourceCRS, Envelope validAreaBounds, ReferencedEnvelope renderingEnvelope)
Initializes a projection handlerProjectionHandler(CoordinateReferenceSystem sourceCRS, Geometry validArea, ReferencedEnvelope renderingEnvelope)
Initializes a projection handlerProjectionHandler(CoordinateReferenceSystem sourceCRS, Geometry validArea, ReferencedEnvelope renderingEnvelope, boolean keepGeometry)
Initializes a projection handlerWrappingProjectionHandler(ReferencedEnvelope renderingEnvelope, ReferencedEnvelope validArea, CoordinateReferenceSystem sourceCrs, double centralMeridian, int maxWraps)
Provides the strategy with the area we want to render and its CRS (the SPI lookup will do this step) -
Uses of CoordinateReferenceSystem in org.geotools.renderer.lite
Methods in org.geotools.renderer.lite with parameters of type CoordinateReferenceSystem Modifier and Type Method Description Object
RenderingTransformationHelper. applyRenderingTransformation(Expression transformation, FeatureSource featureSource, Query layerQuery, Query renderingQuery, GridGeometry2D gridGeometry, CoordinateReferenceSystem sourceCrs, RenderingHints hints)
static double
RendererUtilities. calculateOGCScaleAffine(CoordinateReferenceSystem crs, AffineTransform worldToScreen, Map hints)
This method performs the computation using the methods suggested by the OGC SLD specification, page 26.static ReferencedEnvelope
RendererUtilities. createMapEnvelope(Rectangle paintArea, AffineTransform worldToScreen, CoordinateReferenceSystem crs)
Creates the map's bounding box in real world coordinatesstatic MathTransform
StreamingRenderer. getMathTransform(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem destCRS)
static double
RendererUtilities. toMeters(double size, CoordinateReferenceSystem crs)
Method used by the OGC scale calculation to turn a given length in the specified CRS towards meters.protected ReferencedEnvelope
StreamingRenderer. transformEnvelope(ReferencedEnvelope envelope, CoordinateReferenceSystem crs)
static AffineTransform
RendererUtilities. worldToScreenTransform(Envelope mapExtent, Rectangle paintArea, CoordinateReferenceSystem destinationCrs)
This worldToScreenTransform method makes the assumption that the crs is in Lon,Lat or Lat,Lon.Constructors in org.geotools.renderer.lite with parameters of type CoordinateReferenceSystem Constructor Description RenderCoverageReaderRequest(Graphics2D graphics, GridCoverage2DReader reader, GeneralParameterValue[] readParams, RasterSymbolizer symbolizer, CoordinateReferenceSystem destinationCRS, AffineTransform worldToScreen, Interpolation interpolation)
RenderRasterRequest(Graphics2D graphics, GridCoverage2D coverage, boolean disposeCoverage, RasterSymbolizer symbolizer, CoordinateReferenceSystem destinationCRS, AffineTransform worldToScreen, Interpolation interpolation)
-
Uses of CoordinateReferenceSystem in org.geotools.renderer.lite.gridcoverage2d
Methods in org.geotools.renderer.lite.gridcoverage2d with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static List<GridCoverage2D>
GridCoverageRendererUtilities. displace(List<GridCoverage2D> coverages, ProjectionHandler handler, GeneralBounds destinationEnvelope, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, GridCoverageFactory gridCoverageFactory)
Displaces a list of coverages, using a ProjectionHandler to eventually split into proper envelopes.static List<GridCoverage2D>
GridCoverageRendererUtilities. forceToValidBounds(List<GridCoverage2D> coverages, ProjectionHandler handler, double[] bgValues, CoordinateReferenceSystem targetCRS, Hints hints)
Forces an input list of coverages to the valid bounds of the provided target CRS, when a reprojection is needed, using a ProjectionHandler.static List<GridCoverage2D>
GridCoverageRendererUtilities. reproject(List<GridCoverage2D> coverages, CoordinateReferenceSystem destinationCRS, Interpolation interpolation, GeneralBounds destinationEnvelope, double[] bkgValues, GridCoverageFactory gridCoverageFactory, Hints hints)
Reproject the specified list of coveragesstatic GridCoverage2D
GridCoverageRendererUtilities. reproject(GridCoverage2D coverage, CoordinateReferenceSystem destinationCRS, Interpolation interpolation, GeneralBounds destinationEnvelope, double[] bkgValues, GridCoverageFactory gridCoverageFactory, Hints hints)
Reproject a coverage to the specified destination, eventually adding a ROI if missingConstructors in org.geotools.renderer.lite.gridcoverage2d with parameters of type CoordinateReferenceSystem Constructor Description GridCoverageRenderer(CoordinateReferenceSystem destinationCRS, Envelope envelope, Rectangle screenSize, AffineTransform worldToScreen)
Creates a newGridCoverageRenderer
object.GridCoverageRenderer(CoordinateReferenceSystem destinationCRS, Envelope envelope, Rectangle screenSize, AffineTransform worldToScreen, RenderingHints newHints)
Creates a newGridCoverageRenderer
object. -
Uses of CoordinateReferenceSystem in org.geotools.swing.dialog
Methods in org.geotools.swing.dialog that return CoordinateReferenceSystem Modifier and Type Method Description static CoordinateReferenceSystem
JCRSChooser. showDialog()
Displays a dialog with a list of coordinate reference systems in the EPSG database.static CoordinateReferenceSystem
JCRSChooser. showDialog(String title)
Displays a dialog with a list of coordinate reference systems in the EPSG database.static CoordinateReferenceSystem
JCRSChooser. showDialog(String title, String initialCode)
Displays a dialog with a list of coordinate reference systems in the EPSG database and with the specified initial code highlighted.static CoordinateReferenceSystem
JCRSChooser. showDialog(String title, String initialCode, String authority)
Displays a dialog with a list of coordinate reference systems provided by the given authority (e.g. -
Uses of CoordinateReferenceSystem in org.geotools.tile
Methods in org.geotools.tile that return CoordinateReferenceSystem Modifier and Type Method Description abstract CoordinateReferenceSystem
TileService. getProjectedTileCrs()
The projection the tiles are drawn in.CoordinateReferenceSystem
TileService. getTileCrs()
The CRS that is used when the extent is cut in tiles. -
Uses of CoordinateReferenceSystem in org.geotools.tile.impl
Fields in org.geotools.tile.impl declared as CoordinateReferenceSystem Modifier and Type Field Description static CoordinateReferenceSystem
WebMercatorTileService. WEB_MERCATOR_CRS
Methods in org.geotools.tile.impl that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
ScaleZoomLevelMatcher. getCrsMap()
CoordinateReferenceSystem
ScaleZoomLevelMatcher. getCrsTiles()
CoordinateReferenceSystem
WebMercatorTileService. getProjectedTileCrs()
Methods in org.geotools.tile.impl with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static ScaleZoomLevelMatcher
ScaleZoomLevelMatcher. createMatcher(ReferencedEnvelope requestExtent, CoordinateReferenceSystem crsTiles, double scale)
static ReferencedEnvelope
ScaleZoomLevelMatcher. getProjectedEnvelope(ReferencedEnvelope envelope, CoordinateReferenceSystem destinationCRS, MathTransform transformation)
Re-Projects the given envelope to destinationCRS using transformation.Constructors in org.geotools.tile.impl with parameters of type CoordinateReferenceSystem Constructor Description ScaleZoomLevelMatcher(CoordinateReferenceSystem crsMap, CoordinateReferenceSystem crsTiles, MathTransform transformMapToTileCrs, MathTransform transformTileCrsToMap, ReferencedEnvelope mapExtentTileCrs, ReferencedEnvelope mapExtentMapCrs, double scale)
-
Uses of CoordinateReferenceSystem in org.geotools.wfs
Methods in org.geotools.wfs with parameters of type CoordinateReferenceSystem Modifier and Type Method Description void
GML. setCoordinateReferenceSystem(CoordinateReferenceSystem crs)
Coordinate reference system to use when decoding. -
Uses of CoordinateReferenceSystem in org.geotools.wfs.gtxml
Methods in org.geotools.wfs.gtxml with parameters of type CoordinateReferenceSystem Modifier and Type Method Description static FeatureType
GTXML. parseFeatureType(Configuration configuration, QName name, CoordinateReferenceSystem crs)
Parse a feature type; using the provided configuration. -
Uses of CoordinateReferenceSystem in org.geotools.xml.gml
Methods in org.geotools.xml.gml that return CoordinateReferenceSystem Modifier and Type Method Description CoordinateReferenceSystem
ChoiceGeometryTypeImpl. getCoordinateReferenceSystem()
Constructors in org.geotools.xml.gml with parameters of type CoordinateReferenceSystem Constructor Description ChoiceGeometryTypeImpl(Name name, Class[] types, Class defaultType, boolean nillable, int min, int max, Object defaultValue, CoordinateReferenceSystem crs, List<Filter> filter)
-