Deprecated API

Deprecated Classes
org.geotools.ct.AbstractMathTransform
          Replaced by AbstractMathTransform in the org.geotools.referencing.operation.transform package. 
org.geotools.pt.Adapters
          The legacy OpenGIS PT package is deprecated. There is no replacement at this time for RMI objects. 
org.geotools.cs.Adapters
          The legacy OpenGIS CS package is deprecated. There is no replacement at this time for RMI objects. 
org.geotools.gp.Adapters
          The legacy OpenGIS GP package is deprecated. There is no replacement at this time for RMI objects. 
org.geotools.ct.Adapters
          The legacy OpenGIS CT package is deprecated. There is no replacement at this time for RMI objects. 
org.geotools.cv.Adapters
          The legacy OpenGIS CV package is deprecated. There is no replacement at this time for RMI objects. 
org.geotools.gc.Adapters
          The legacy OpenGIS GC package is deprecated. There is no replacement at this time for RMI objects. 
org.geotools.referencing.cs.AffineCS
          Renamed as DefaultAffineCS. 
org.geotools.ct.proj.AlbersEqualArea
          Replaced by AlbersEqualArea. 
org.geotools.cs.AxisInfo
          Replaced by DefaultCoordinateSystemAxis. 
org.geotools.cs.AxisOrientation
          Replaced by AxisDirection. 
org.geotools.referencing.cs.CartesianCS
          Renamed as DefaultCartesianCS. 
org.geotools.cv.Category
          Replaced by Category in the org.geotools.coverage package. 
org.geotools.metadata.citation.Citation
          Renamed as CitationImpl. 
org.geotools.cv.ColorInterpretation
          Replaced by ColorInterpretation in the org.opengis.coverage package. 
org.geotools.cs.CompoundCoordinateSystem
          Replaced by DefaultCompoundCRS. 
org.geotools.referencing.crs.CompoundCRS
          Renamed as DefaultCompoundCRS. 
org.geotools.referencing.operation.ConcatenatedOperation
          Renamed as DefaultConcatenatedOperation. 
org.geotools.referencing.operation.ConicProjection
          Renamed as DefaultConicProjection. 
org.geotools.ct.proj.ConicProjection
            
org.geotools.referencing.operation.Conversion
          Renamed as DefaultConversion. 
org.geotools.pt.CoordinateFormat
          Replaced by CoordinateFormat in the org.geotools.measure package. 
org.geotools.referencing.operation.CoordinateOperation
          Renamed as AbstractCoordinateOperation. 
org.geotools.referencing.operation.CoordinateOperationFactory
          Renamed as DefaultCoordinateOperationFactory. 
org.geotools.pt.CoordinatePoint
          Replaced by GeneralDirectPosition in the org.geotools.geometry package. 
org.geotools.referencing.crs.CoordinateReferenceSystem
          Renamed as AbstractCRS. 
org.geotools.referencing.cs.CoordinateSystem
          Renamed as AbstractCS. 
org.geotools.cs.CoordinateSystem
          Replaced by AbstractCRS. 
org.geotools.cs.CoordinateSystemAUTOFactory
          Replaced by org.geotools.referencing.AUTOCRSAuthorityFactory. 
org.geotools.referencing.cs.CoordinateSystemAxis
          Renamed as DefaultCoordinateSystemAxis. 
org.geotools.cs.CoordinateSystemEPSGFactory
          Replaced by FactoryUsingSQL. 
org.geotools.cs.CoordinateSystemFactory
          Replaced by org.geotools.referencing.crs.CRSFactory. 
org.geotools.cs.CoordinateSystemModifiedEPSGFactory
          Replaced by FactoryUsingAnsiSQL. 
org.geotools.cs.CoordinateSystemOracleEPSGFactory
          Replaced by FactoryUsingOracleSQL. 
org.geotools.ct.CoordinateTransformation
          Replaced by AbstractCoordinateOperation. 
org.geotools.ct.CoordinateTransformationFactory
          Replaced by org.geotools.referencing.operation.DefaultCoordinateOperationFactory 
org.geotools.cv.Coverage
          Replaced by org.geotools.coverage.Coverage in the org.geotools.coverage package. 
org.geotools.resources.CTSUtilities
          Use CRSUtilities instead. 
org.geotools.referencing.cs.CylindricalCS
          Renamed as DefaultCylindricalCS. 
org.geotools.referencing.operation.CylindricalProjection
          Renamed as DefaultCylindricalProjection. 
org.geotools.ct.proj.CylindricalProjection
            
org.geotools.referencing.datum.Datum
          Renamed as AbstractDatum. 
org.geotools.cs.Datum
          Replaced by AbstractDatum. 
org.geotools.cs.DatumType
          Replaced by VerticalDatumType for the vertical case. No replacement for other cases. 
org.geotools.cs.DatumType.Horizontal
          No replacement. 
org.geotools.cs.DatumType.Local
          No replacement. 
org.geotools.cs.DatumType.Temporal
          No replacement. 
org.geotools.cs.DatumType.Vertical
          Replaced by VerticalDatumType 
org.geotools.referencing.crs.DerivedCRS
          Renamed as DefaultDerivedCRS. 
org.geotools.resources.DescriptorNaming
          Was used for the legacy CTS implementation only. No replacement. 
org.geotools.ct.DomainFlags
          No replacement. 
org.geotools.referencing.datum.Ellipsoid
          Renamed as DefaultEllipsoid. 
org.geotools.cs.Ellipsoid
          Replaced by DefaultEllipsoid. 
org.geotools.referencing.cs.EllipsoidalCS
          Renamed as DefaultEllipsoidalCS. 
org.geotools.referencing.crs.EngineeringCRS
          Renamed as DefaultEngineeringCRS. 
org.geotools.referencing.datum.EngineeringDatum
          Renamed as DefaultEngineeringDatum. 
org.geotools.pt.Envelope
          Replaced by GeneralEnvelope in the org.geotools.geometry package. 
org.geotools.ct.proj.EquatorialOrthographic
            
org.geotools.ct.proj.EquatorialStereographic
            
org.geotools.factory.FactoryFinder
          The proposed replacement is FactoryRegistry, which is built on top of a J2SE class (ServiceRegistry). Guidlines are provided in the org.geotools.factory package description. 
org.geotools.feature.FeatureTypeFactory
          Please use FeatureTypeBuilder 
org.geotools.cs.FittedCoordinateSystem
          Replaced by org.opengis.referencing.crs.DefaultDerivedCRS. 
org.geotools.referencing.crs.GeneralDerivedCRS
          Renamed as AbstractDerivedCRS. 
org.geotools.cs.GeocentricCoordinateSystem
          Replaced by DefaultGeocentricCRS. 
org.geotools.referencing.crs.GeocentricCRS
          Renamed as DefaultGeocentricCRS. 
org.geotools.cs.GeodeticCalculator
          Replaced by GeodeticCalculator. 
org.geotools.referencing.datum.GeodeticDatum
          Renamed as DefaultGeodeticDatum. 
org.geotools.cs.GeographicCoordinateSystem
          Replaced by DefaultGeographicCRS. 
org.geotools.referencing.crs.GeographicCRS
          Renamed as DefaultGeographicCRS. 
org.geotools.gc.GridCoverage
          Replaced by GridCoverage2D. 
org.geotools.coverage.grid.GridCoverageImpl
          Replaced by GridCoverage2D. 
org.geotools.gp.GridCoverageProcessor
          Replaced by GridCoverageProcessor2D. 
org.geotools.gc.GridGeometry
          Replaced by GeneralGridGeometry. 
org.geotools.gc.GridRange
          Replaced by GeneralGridRange. 
org.geotools.gp.Hints
          Replaced by Hints. 
org.geotools.cs.HorizontalCoordinateSystem
          No direct replacement. The nearest parent is AbstractCRS. 
org.geotools.cs.HorizontalDatum
          Replaced by DefaultGeodeticDatum. 
org.geotools.referencing.IdentifiedObject
          Renamed as AbstractIdentifiedObject. 
org.geotools.referencing.Identifier
          Renamed as NamedIdentifier. 
org.geotools.referencing.crs.ImageCRS
          Renamed as DefaultImageCRS. 
org.geotools.referencing.datum.ImageDatum
          Renamed as DefaultImageDatum. 
org.geotools.cs.Info
          Replaced by AbstractIdentifiedObject and NamedIdentifier. 
org.geotools.ct.proj.LambertConformal
          Replaced by . 
org.geotools.resources.LegacyGCSUtilities
          Replaced by GCSUtilities. 
org.geotools.referencing.cs.LinearCS
          Renamed as DefaultLinearCS. 
org.geotools.renderer.lite.LiteRenderer2
            
org.geotools.cs.LocalCoordinateSystem
          Replaced by DefaultEngineeringCRS. 
org.geotools.cs.LocalDatum
          Replaced by DefaultEngineeringDatum. 
org.geotools.gc.LocalizationGrid
          Replaced by LocalizationGrid. 
org.geotools.ct.proj.MapProjection
          Replaced by MapProjection. 
org.geotools.referencing.operation.MathTransformFactory
          Renamed as DefaultMathTransformFactory. 
org.geotools.ct.MathTransformFactory
          Replaced by DefaultMathTransformFactory in the org.geotools.referencing.operation package. 
org.geotools.ct.MathTransformProvider
          Replaced by MathTransformProvider in the org.geotools.referencing.operation package. 
org.geotools.pt.Matrix
          Replaced by GeneralMatrix in the org.geotools.referencing.operation package. 
org.geotools.parameter.MatrixParameterValues
          Renamed as MatrixParameters. 
org.geotools.ct.proj.Mercator
          Replaced by . 
org.geotools.ct.proj.ObliqueOrthographic
            
org.geotools.ct.proj.ObliqueStereographic
            
org.geotools.referencing.operation.Operation
          Renamed as DefaultOperation. 
org.geotools.gp.Operation
          Replaced by Operation2D. 
org.geotools.referencing.operation.OperationMethod
          Renamed as DefaultOperationMethod. 
org.geotools.ct.proj.Orthographic
          Replaced by Orthographic. 
org.geotools.parameter.ParameterDescriptor
          Renamed as DefaultParameterDescriptor 
org.geotools.parameter.ParameterDescriptorGroup
          Renamed as DefaultParameterDescriptorGroup. 
org.geotools.gc.ParameterInfo
          Replaced by ParameterDescriptor. 
org.geotools.parameter.ParameterReal
          Renamed as FloatParameter. 
org.geotools.referencing.operation.PassThroughOperation
          Renamed as DefaultPassThroughOperation. 
org.geotools.referencing.operation.PlanarProjection
          Renamed as DefaultPlanarProjection. 
org.geotools.ct.proj.PlanarProjection
            
org.geotools.referencing.cs.PolarCS
          Renamed as DefaultPolarCS. 
org.geotools.ct.proj.PolarOrthographic
            
org.geotools.ct.proj.PolarStereographic
            
org.geotools.referencing.datum.PrimeMeridian
          Renamed as DefaultPrimeMeridian. 
org.geotools.cs.PrimeMeridian
          Replaced by DefaultPrimeMeridian. 
org.geotools.cs.ProjectedCoordinateSystem
          Replaced by DefaultProjectedCRS. 
org.geotools.referencing.crs.ProjectedCRS
          Renamed as DefaultProjectedCRS. 
org.geotools.referencing.operation.Projection
          Renamed as DefaultProjection. 
org.geotools.cs.Projection
          Replaced by DefaultOperationMethod. 
org.geotools.ct.proj.Provider
          Replaced by MapProjection provider. 
org.geotools.image.io.RawBinaryImageReader
          Use Sun's RAW decoder provided with "Java Advanced Imaging Image I/O Tools" instead. Download at http://java.sun.com/products/java-media/jai/. 
org.geotools.image.io.RawBinaryImageReadParam
          Use Sun's RAW decoder provided with "Java Advanced Imaging Image I/O Tools" instead. Download at http://java.sun.com/products/java-media/jai/. 
org.geotools.referencing.ReferenceSystem
          Renamed as AbstractReferenceSystem. 
org.geotools.cv.SampleDimension
          Replaced by GridSampleDimension in the org.geotools.coverage package. 
org.geotools.cv.SampleDimensionType
          Replaced by SampleDimensionType in the org.opengis.coverage package. 
org.geotools.cv.ScaledColorSpace
          Replaced by ScaledColorSpace in the org.geotools.coverage package. 
org.geotools.referencing.crs.SingleCRS
          Renamed as AbstractSingleCRS. 
org.geotools.referencing.operation.SingleOperation
          Renamed as DefaultSingleOperation. 
org.geotools.styling.SLDStyle
          Replaced by SLDParser which has a more appropriate name 
org.geotools.referencing.cs.SphericalCS
          Renamed as DefaultSphericalCS. 
org.geotools.ct.proj.Stereographic
          Replaced by Stereographic. 
org.geotools.data.vpf.io.TableInputStream
            
org.geotools.cs.TemporalCoordinateSystem
          Replaced by DefaultTemporalCRS. 
org.geotools.referencing.crs.TemporalCRS
          Renamed as DefaultTemporalCRS. 
org.geotools.referencing.datum.TemporalDatum
          Renamed as DefaultTemporalDatum. 
org.geotools.cs.TemporalDatum
          Replaced by DefaultTemporalDatum. 
org.geotools.referencing.cs.TimeCS
          Renamed as DefaultTimeCS. 
org.geotools.referencing.operation.Transformation
          Renamed as DefaultTransformation. 
org.geotools.ct.TransformType
          Replaced by DefaultOperation sub interfaces. 
org.geotools.ct.proj.TransverseMercator
          Replaced by TransverseMercator. 
org.geotools.units.Unit
          Replaced by the Unit framework. 
org.geotools.nature.Units
          Moved to org.geotools.measure package. 
org.geotools.units.UnitTransform
          Replaced by the Unit framework. 
org.geotools.referencing.cs.UserDefinedCS
          Renamed as DefaultUserDefinedCS. 
org.geotools.cs.VerticalCoordinateSystem
          Replaced by DefaultVerticalCRS. 
org.geotools.referencing.crs.VerticalCRS
          Renamed as DefaultVerticalCRS. 
org.geotools.referencing.cs.VerticalCS
          Renamed as DefaultVerticalCS. 
org.geotools.referencing.datum.VerticalDatum
          Renamed as DefaultVerticalDatum. 
org.geotools.cs.VerticalDatum
          Replaced by DefaultVerticalDatum. 
org.geotools.data.vpf.VPFSchemaCreator
            
org.geotools.cs.WGS84ConversionInfo
          Replaced by BursaWolfParameters. 
org.geotools.resources.WKTElement
          Rempaced by Element. 
org.geotools.resources.WKTFormat
          Rempaced by org.geotools.referencing.wkt.AbstractFormat. 
org.geotools.filter.XMLEncoder
          Use org.geotools.filter.FilterTransformer 
org.geotools.styling.XMLEncoder
          Use org.geotools.styling.SLDTransformer 
 

Deprecated Interfaces
org.geotools.data.vpf.ifc.Coordinate
            
org.geotools.data.crs.CRSAuthoritySpi
          Now replaced by CRSAuthorityFactory. 
org.geotools.pt.Dimensioned
          No replacement at this time. 
org.geotools.data.coverage.grid.Format
          You should use org.opengis.coverage.grid.Format instead 
org.geotools.data.coverage.grid.GridCoverageReader
          You should use the interfaces provided by GeoApi package 
org.geotools.data.coverage.grid.GridCoverageWriter
          You should use the interfaces provided with GeoApi instead. 
org.geotools.ct.LinearTransform
          Replaced by LinearTransform in the org.geotools.referencing.operation package. 
org.geotools.map.Map
          Use Context instead. 
org.geotools.gui.widget.MapPane
            
org.geotools.ct.MathTransform
          Replaced by MathTransform in the org.opengis.referencing.operation package. 
org.geotools.ct.MathTransform1D
          Replaced by MathTransform1D in the org.opengis.referencing.operation package. 
org.geotools.ct.MathTransform2D
          Replaced by MathTransform2D in the org.opengis.referencing.operation package. 
org.geotools.gui.widget.PanelWidget
            
org.geotools.resources.RemoteProxy
          This interface was used by the legacy CTS packages, which are going to be removed. 
org.geotools.gui.widget.Widget
            
 

Deprecated Exceptions
org.geotools.ct.CannotCreateTransformException
          Replaced by org.opengis.referencing.OperationPathNotFoundException. 
org.geotools.gp.CannotReprojectException
          Replaced by CannotReprojectException. 
org.geotools.gc.InvalidGridGeometryException
          Replaced by InvalidGridGeometryException. 
org.geotools.ct.MissingParameterException
          Replaced by ParameterNotFoundException. 
org.geotools.cs.NoSuchAuthorityCodeException
          Replaced by NoSuchAuthorityCodeException in the org.opengis.referencing package. 
org.geotools.ct.NoSuchClassificationException
          Replaced by NoSuchIdentifierException. 
org.geotools.gp.OperationNotFoundException
          Replaced by OperationNotFoundException. 
org.geotools.cv.PointOutsideCoverageException
          Will be replaced by PointOutsideCoverageException (from the org.geotools.coverage package) in a future version. 
org.geotools.ct.proj.PointOutsideEnvelopeException
          Replaced by PointOutsideEnvelopeException. 
org.geotools.ct.proj.ProjectionException
          Replaced by ProjectionException. 
org.geotools.units.UnitException
          Replaced by the Unit framework. 
 

Deprecated Errors
org.geotools.factory.FactoryConfigurationError
          This error was used by FactoryFinder. The proposed replacement (FactoryRegistry) uses an exception (FactoryRegistryException) instead of an error. There is two reasons why we switched back to an exception instead of an error: Because of the above, a "factory not found" exception may not be caused by a JVM, compilation or packaging error. It is more similar to a MissingResourceException. 
 

Deprecated Fields
org.geotools.referencing.AbstractIdentifiedObject.ALIAS_PROPERTY
          Replaced by IdentifiedObject.ALIAS_KEY. 
org.geotools.cs.AxisInfo.ALTITUDE
          Replaced by DefaultCoordinateSystemAxis.ALTITUDE. 
org.geotools.cs.DatumType.ALTITUDE_BAROMETRIC
          Replaced by VerticalDatumType.BAROMETRIC. 
org.geotools.referencing.datum.AbstractDatum.ANCHOR_POINT_PROPERTY
          Replaced by Datum.ANCHOR_POINT_KEY. 
org.geotools.units.Unit.ARC_SECOND
          Replaced by NonSI.SECOND_ANGLE. 
org.geotools.referencing.NamedIdentifier.AUTHORITY_PROPERTY
          Replaced by Identifier.AUTHORITY_KEY. 
org.geotools.referencing.datum.DefaultGeodeticDatum.BURSA_WOLF_PROPERTY
          Renamed as DefaultGeodeticDatum.BURSA_WOLF_KEY. 
org.geotools.cs.DatumType.CLASSIC
          No replacement, since this is a horizontal datum type. 
org.geotools.referencing.NamedIdentifier.CODE_PROPERTY
          Replaced by Identifier.CODE_KEY. 
org.geotools.units.Unit.DAY
          Replaced by NonSI.DAY. 
org.geotools.units.Unit.DEGREE
          Replaced by NonSI.DEGREE_ANGLE. 
org.geotools.cs.DatumType.DEPTH
          Replaced by VerticalDatumType.DEPTH. 
org.geotools.cs.AxisOrientation.DOWN
          Replaced by AxisDirection.DOWN. 
org.geotools.cs.AxisOrientation.EAST
          Replaced by AxisDirection.EAST. 
org.geotools.cs.DatumType.ELLIPSOIDAL
          Replaced by VerticalDatumType.ELLIPSOIDAL. 
org.geotools.referencing.operation.DefaultOperationMethod.FORMULA_PROPERTY
          Replaced by OperationMethod.FORMULA_KEY. 
org.geotools.cs.AxisOrientation.FUTURE
          Replaced by AxisDirection.FUTURE. 
org.geotools.cs.DatumType.GEOCENTRIC
          No replacement, since this is a horizontal datum type. 
org.geotools.cs.DatumType.GEOID_MODEL_DERIVED
          Replaced by VerticalDatumType.GEOIDAL. 
org.geotools.referencing.AbstractIdentifiedObject.IDENTIFIERS_PROPERTY
          Replaced by IdentifiedObject.IDENTIFIERS_KEY. 
org.geotools.renderer.Renderer.interactive
          This flag should not be there. 
org.geotools.units.Unit.KILOGRAM
          Replaced by SI.KILOGRAM. 
org.geotools.units.Unit.KILOMETRE
          Replaced by SI.KILO(SI.METER). 
org.geotools.cs.AxisInfo.LATITUDE
          Replaced by DefaultCoordinateSystemAxis.LATITUDE. 
org.geotools.cs.AxisInfo.LONGITUDE
          Replaced by DefaultCoordinateSystemAxis.LONGITUDE. 
org.geotools.units.Unit.METRE
          Replaced by SI.METER. 
org.geotools.units.Unit.MILLISECOND
          Replaced by SI.MILLI(SI.SECOND). 
org.geotools.cs.AxisInfo.name
          Replaced by AbstractIdentifiedObject.getName(). 
org.geotools.referencing.AbstractIdentifiedObject.NAME_PROPERTY
          Replaced by IdentifiedObject.NAME_KEY. 
org.geotools.cs.AxisOrientation.NORTH
          Replaced by AxisDirection.NORTH. 
org.geotools.referencing.operation.AbstractCoordinateOperation.OPERATION_VERSION_PROPERTY
          Replaced by CoordinateOperation.OPERATION_VERSION_KEY. 
org.geotools.cs.AxisInfo.orientation
          Replaced by DefaultCoordinateSystemAxis.getDirection(java.lang.String). 
org.geotools.cs.DatumType.ORTHOMETRIC
          Replaced by VerticalDatumType.ORTHOMETRIC. 
org.geotools.cs.AxisOrientation.OTHER
          Replaced by AxisDirection.OTHER. 
org.geotools.cs.AxisOrientation.PAST
          Replaced by AxisDirection.PAST. 
org.geotools.referencing.operation.AbstractCoordinateOperation.POSITIONAL_ACCURACY_PROPERTY
          Replaced by CoordinateOperation.POSITIONAL_ACCURACY_KEY. 
org.geotools.units.Unit.RADIAN
          Replaced by SI.RADIAN. 
org.geotools.referencing.datum.AbstractDatum.REALIZATION_EPOCH_PROPERTY
          Replaced by Datum.REALIZATION_EPOCH_KEY. 
org.geotools.referencing.NamedIdentifier.REMARKS_PROPERTY
          Replaced by IdentifiedObject.REMARKS_KEY. 
org.geotools.referencing.AbstractIdentifiedObject.REMARKS_PROPERTY
          Replaced by IdentifiedObject.REMARKS_KEY. 
org.geotools.referencing.AbstractReferenceSystem.SCOPE_PROPERTY
          Replaced by ReferenceSystem.SCOPE_KEY. 
org.geotools.referencing.operation.AbstractCoordinateOperation.SCOPE_PROPERTY
          Replaced by CoordinateOperation.SCOPE_KEY. 
org.geotools.referencing.datum.AbstractDatum.SCOPE_PROPERTY
          Replaced by Datum.SCOPE_KEY. 
org.geotools.units.Unit.SECOND
          Replaced by SI.SECOND. 
org.geotools.cs.AxisOrientation.SOUTH
          Replaced by AxisDirection.SOUTH. 
org.geotools.cs.AxisInfo.TIME
          Replaced by DefaultCoordinateSystemAxis.TIME. 
org.geotools.cs.AxisOrientation.UP
          Replaced by AxisDirection.UP. 
org.geotools.referencing.AbstractReferenceSystem.VALID_AREA_PROPERTY
          Replaced by ReferenceSystem.VALID_AREA_KEY. 
org.geotools.referencing.operation.AbstractCoordinateOperation.VALID_AREA_PROPERTY
          Replaced by CoordinateOperation.VALID_AREA_KEY. 
org.geotools.referencing.datum.AbstractDatum.VALID_AREA_PROPERTY
          Replaced by Datum.VALID_AREA_KEY. 
org.geotools.referencing.NamedIdentifier.VERSION_PROPERTY
          Replaced by Identifier.VERSION_KEY. 
org.geotools.cs.AxisOrientation.WEST
          Replaced by AxisDirection.WEST. 
org.geotools.cs.AxisInfo.X
          Replaced by DefaultCoordinateSystemAxis.X. 
org.geotools.cs.AxisInfo.Y
          Replaced by DefaultCoordinateSystemAxis.Y. 
 

Deprecated Methods
org.geotools.coverage.processing.AbstractGridCoverageProcessor.analyze(GridCoverage)
          This method is not yet implemented, and may not be there in a future release of GeoAPI interfaces. 
org.geotools.nature.SunRelativePosition.compute(double, double, Date)
          Use SunRelativePosition.setCoordinate(double,double) and SunRelativePosition.setDate(Date) instead. 
org.geotools.gui.swing.ZoomPane.correctPointForMagnifier(Point2D)
          Use ZoomPane.correctApparentPixelPosition(java.awt.geom.Point2D) instead. This is use a method's name change; the behavior is the same. 
org.geotools.parameter.Parameters.count(ParameterValueGroup, GeneralParameterDescriptor)
          Use ParameterValueGroup.groups(type.getName().getCode()) instead. It allows to fetch groups by name independently of the actual descriptor implementation. The returned list can be used for many operation, including fetching the count with size(). 
org.geotools.feature.FeatureFactory.create(Object[])
          Schema information is required 
org.geotools.feature.FeatureFactory.create(Object[], String)
          Schema information is required 
org.geotools.feature.FeatureType.create(Object[], String)
          This method will be remove in 2.2, please use FeatureFactory obtained from FactoryFinder 
org.geotools.referencing.factory.GeotoolsFactory.createCylindricalCS(Map, PolarCS, CoordinateSystemAxis)
          Uses the method expecting 3 axis instead. 
org.geotools.data.postgis.PostgisDataStoreFactory.createDataStoreInternal(ConnectionPool)
          this method is only here for backwards compatibility for subclasses, use PostgisDataStoreFactory.createDataStoreInternal(ConnectionPool, String, String) instead. 
org.geotools.data.postgis.PostgisDataStoreFactory.createDataStoreInternal(ConnectionPool, String)
          this method is only here for backwards compatibility for subclasses, use PostgisDataStoreFactory.createDataStoreInternal(ConnectionPool, String, String) instead. 
org.geotools.referencing.factory.GeotoolsFactory.createDerivedCRS(Map, CoordinateReferenceSystem, MathTransform, CoordinateSystem)
          Use the method with an OperationMethod argument instead. 
org.geotools.cs.Ellipsoid.createEllipsoid(CharSequence, double, double, Unit)
          Replaced by DefaultEllipsoid.createEllipsoid(java.lang.String, double, double, javax.units.Unit). 
org.geotools.cs.Ellipsoid.createFlattenedSphere(CharSequence, double, double, Unit)
          Replaced by DefaultEllipsoid.createFlattenedSphere(java.lang.String, double, double, javax.units.Unit). 
org.geotools.pt.Envelope.createIntersection(Envelope)
          Use ((Envelope)clone()).intersect(envelope) instead. 
org.geotools.referencing.operation.DefaultCoordinateOperationFactory.createOperation(CoordinateReferenceSystem, CoordinateReferenceSystem, OperationMethod)
          Current implementation ignore the method argument. 
org.geotools.referencing.factory.GeotoolsFactory.createProjectedCRS(Map, GeographicCRS, MathTransform, CartesianCS)
          Use the method with an OperationMethod argument instead. 
org.geotools.referencing.factory.GeotoolsFactory.createProjectedCRS(Map, GeographicCRS, ParameterValueGroup, CartesianCS)
          Use FactoryGroup.createProjectedCRS(java.util.Map, org.opengis.referencing.crs.GeographicCRS, org.opengis.referencing.operation.Conversion, org.opengis.referencing.cs.CartesianCS) instead. 
org.geotools.referencing.factory.GeotoolsFactory.createProjectedCRS(Map, GeographicCRS, String, GeneralParameterValue[], CartesianCS)
          Replaced by GeotoolsFactory.createProjectedCRS(Map,GeographicCRS,ParameterValueGroup,CartesianCS) for concistency with the rest of the API, which work with ParameterValueGroup rather than an array of GeneralParameterValue. 
org.geotools.data.crs.CRSAuthoritySpi.decode(String)
          Replaced by CRSAuthorityFactory.createCoordinateReferenceSystem(java.lang.String). 
org.geotools.coverage.processing.AbstractGridCoverageProcessor.doOperation(String, GeneralParameterValue[])
          Use AbstractGridCoverageProcessor.doOperation(Operation, ParameterValueGroup) instead. 
org.geotools.data.arcsde.ArcSDEAdapter.fetchSchema(ArcSDEConnectionPool, String)
            
org.geotools.referencing.factory.AbstractAuthorityFactory.geoidFromWktName(String)
          We should try to rely on the alias mechanism available in all IdentifiedObject instead. If this method is really needed, we can reinsert it later. 
org.geotools.cs.Info.getAbbreviation(Locale)
          No replacement. 
org.geotools.gui.swing.CoordinateChooser.getAccessory()
          Depracated together with CoordinateChooser.setAccessory(javax.swing.JComponent). 
org.geotools.cs.Info.getAlias(Locale)
          Replaced by AbstractIdentifiedObject.getIdentifiers(). 
org.geotools.cs.PrimeMeridian.getAngularUnit()
          Replaced by DefaultPrimeMeridian.getAngularUnit(). 
org.geotools.cs.Info.getAuthorityCode(Locale)
          Replaced by NamedIdentifier#getCode. 
org.geotools.referencing.operation.DefaultMathTransformFactory.getAvailableTransforms()
          Replaced by DefaultMathTransformFactory.getAvailableMethods(java.lang.Class). The old name was misleading, since a transform is an instantiation of an operation method with a given set of parameters. There is usually much less operation method in a system than transforms. 
org.geotools.cs.CoordinateSystem.getAxis(int)
          Replaced by AbstractCS.getAxis(int). 
org.geotools.cs.Ellipsoid.getAxisUnit()
          Replaced by DefaultEllipsoid.getAxisUnit(). 
org.geotools.cs.FittedCoordinateSystem.getBaseCoordinateSystem()
          Replaced by AbstractDerivedCRS.getBaseCRS(). 
org.geotools.renderer.geom.GeometryProxy.getBounds()
          This method is required by the Shape interface, but it doesn't provide enough precision for most cases. Use GeometryProxy.getBounds2D() instead. 
org.geotools.renderer.geom.Geometry.getBounds()
          This method is required by the Shape interface, but it doesn't provide enough precision for most cases. Use Geometry.getBounds2D() instead. 
org.geotools.coverage.GridSampleDimension.getCategoryNames(Locale)
          Use GridSampleDimension.getCategoryNames() instead. 
org.geotools.filter.SQLEncoder.getColnameEscape()
          the escapeName method is preferred over this, it automatically returns the name properly escaped, since that's all getColnameEscape was being used for. 
org.geotools.filter.parser.SimpleCharStream.getColumn()
            
org.geotools.cs.Datum.getDatumType()
          Replaced by DefaultVerticalDatum.getVerticalDatumType() for the vertical case. No replacement for other cases. 
org.geotools.referencing.factory.GeotoolsFactory.getDefaultParameters(String)
          This method will be removed. 
org.geotools.coverage.GridSampleDimension.getDescription(Locale)
          Use GridSampleDimension.getDescription() instead. 
org.geotools.cs.CoordinateSystem.getDimension()
          Replaced by AbstractCS.getDimension(). 
org.geotools.coverage.AbstractCoverage.getDimensionNames(Locale)
          Replaced by AbstractCoverage.getDimensionNames(). 
org.geotools.referencing.operation.transform.AbstractMathTransform.getDimSource()
          Renamed AbstractMathTransform.getSourceDimensions() for consistency with OperationMethod. 
org.geotools.referencing.operation.transform.AbstractMathTransform.getDimTarget()
          Renamed AbstractMathTransform.getTargetDimensions() for consistency with OperationMethod. 
org.geotools.cs.Ellipsoid.getEccentricity()
          Replaced by DefaultEllipsoid.getEccentricity(). 
org.geotools.cs.HorizontalDatum.getEllipsoid()
          Replaced by DefaultGeodeticDatum.getEllipsoid(). 
org.geotools.data.AbstractDataStore.getFeatureWriter(String)
            
org.geotools.cs.ProjectedCoordinateSystem.getGeographicCoordinateSystem()
          Replaced by AbstractDerivedCRS.getBaseCRS(). 
org.geotools.feature.GeometryAttributeType.getGeometryFactory()
          Please use GeometrFactory associated with your FeatureFactory using the hinting system. 
org.geotools.cs.CompoundCoordinateSystem.getHeadCS()
          Replaced by DefaultCompoundCRS.getCoordinateReferenceSystems(). 
org.geotools.cs.HorizontalCoordinateSystem.getHorizontalDatum()
          Replaced by AbstractSingleCRS.getDatum(). 
org.geotools.cs.GeocentricCoordinateSystem.getHorizontalDatum()
          Replaced by AbstractSingleCRS.getDatum(). 
org.geotools.cs.Ellipsoid.getInverseFlattening()
          Replaced by DefaultEllipsoid.getInverseFlattening(). 
org.geotools.filter.parser.SimpleCharStream.getLine()
            
org.geotools.cs.LocalCoordinateSystem.getLocalDatum()
          Replaced by AbstractSingleCRS.getDatum(). 
org.geotools.cs.PrimeMeridian.getLongitude()
          Replaced by DefaultPrimeMeridian.getGreenwichLongitude(). 
org.geotools.renderer.j2d.RenderedLegend.getMargin()
          Use RenderedLegend.getInsets() instead. 
org.geotools.ct.CoordinateTransformation.getMathTransform()
          Replaced by AbstractCoordinateOperation.getMathTransform(). 
org.geotools.ct.CoordinateTransformation.getName(Locale)
          Replaced by AbstractIdentifiedObject.getName(). 
org.geotools.referencing.crs.AUTOCRSAuthorityFactory.getObjectFactory()
          This method was required by old GeoAPI interfaces, but is not required anymore. 
org.geotools.referencing.factory.AbstractAuthorityFactory.getObjectFactory()
          Will be removed. 
org.geotools.data.jdbc.referencing.JDBCAuthorityFactory.getObjectFactory()
          This method will be removed from GeoAPI interfaces. 
org.geotools.parameter.MatrixParameterDescriptors.getParameter(String)
          Use MatrixParameterDescriptors.descriptor(String) instead. 
org.geotools.parameter.MatrixParameters.getParameter(String)
          Use MatrixParameters.descriptor(String) instead. 
org.geotools.parameter.DefaultParameterDescriptorGroup.getParameter(String)
          Use DefaultParameterDescriptorGroup.descriptor(java.lang.String) instead. 
org.geotools.cs.Projection.getParameters()
          Replaced by DefaultOperation.getParameterValues(). 
org.geotools.cs.GeographicCoordinateSystem.getPrimeMeridian()
          Replaced by DefaultGeodeticDatum.getPrimeMeridian(). 
org.geotools.cs.GeocentricCoordinateSystem.getPrimeMeridian()
          Replaced by DefaultGeodeticDatum.getPrimeMeridian(). 
org.geotools.cs.ProjectedCoordinateSystem.getProjection()
          Replaced by AbstractDerivedCRS.getConversionFromBase(). 
org.geotools.cs.Ellipsoid.getSemiMajorAxis()
          Replaced by DefaultEllipsoid.getSemiMajorAxis(). 
org.geotools.cs.Ellipsoid.getSemiMinorAxis()
          Replaced by DefaultEllipsoid.getSemiMinorAxis(). 
org.geotools.ct.CoordinateTransformation.getSourceCS()
          Replaced by AbstractCoordinateOperation.getSourceCRS(). 
org.geotools.cs.CompoundCoordinateSystem.getTailCS()
          Replaced by DefaultCompoundCRS.getCoordinateReferenceSystems(). 
org.geotools.ct.CoordinateTransformation.getTargetCS()
          Replaced by AbstractCoordinateOperation.getTargetCRS(). 
org.geotools.cs.FittedCoordinateSystem.getToBase()
          Replaced by AbstractDerivedCRS.getConversionFromBase(), except that the transform needs to be inverted. 
org.geotools.ct.CoordinateTransformation.getTransformType()
          No direct replacement. Check for instance of Conversion or Transformation instead. 
org.geotools.cs.ProjectedCoordinateSystem.getUnits(int)
          Replaced by DefaultCoordinateSystemAxis.getUnit(). 
org.geotools.cs.GeographicCoordinateSystem.getUnits(int)
          Replaced by DefaultCoordinateSystemAxis.getUnit(). 
org.geotools.cs.VerticalCoordinateSystem.getUnits(int)
          Replaced by DefaultCoordinateSystemAxis.getUnit(). 
org.geotools.cs.GeocentricCoordinateSystem.getUnits(int)
          Replaced by DefaultCoordinateSystemAxis.getUnit(). 
org.geotools.cs.CoordinateSystem.getUnits(int)
          Replaced by DefaultCoordinateSystemAxis.getUnit(). 
org.geotools.cs.VerticalCoordinateSystem.getVerticalDatum()
          Replaced by AbstractSingleCRS.getDatum(). 
org.geotools.feature.FeatureType.hasAttributeType(String)
          It seems this method is ill concieved, use getAttributeType( xpath ) != null as a replacement 
org.geotools.parameter.Parameters.indexOf(ParameterValueGroup, GeneralParameterDescriptor)
          Use ParameterValueGroup.parameter(java.lang.String) or ParameterValueGroup.groups(java.lang.String) instead. We would like to encourage peoples to use parameter name as key instead of parameter descriptor, because the parameter descriptor may not be always available. For example if a user know he is looking for the "semi_major" axis length (because it is documented in OpenGIS specification under that name) but don't know and don't care about who is providing the implementation, then he doesn't have the parameter descriptor; he only have the parameter name. Furthermore, parameter descriptor is implementation dependent. For example if we search for the "semi_major" axis length using the Geotools descriptor for this parameter, we will fail to find this parameter in a ParameterValueGroup provided by an other implementation. This is against GeoAPI goal, which is inter-operability. This doesn't mean that parameter descriptor should not be used. They are used for inspecting meta-data about parameters, not for searching parameters. Since each parameter name should be unique in a given parameter group (because DefaultParameterDescriptor.getMaximumOccurs() is always 1 for single parameter), the parameter name is a suffisient key for searching. 
org.geotools.gc.GridCoverage.interpolate(GridCoverage)
          Override GridCoverage.createGeophysics(boolean) instead. This method will be removed in a future version. 
org.geotools.feature.FeatureAttributeType.isGeometry()
          repalce with: type instanceof GeometryAttributeType 
org.geotools.feature.GeometryAttributeType.isGeometry()
          replace with type instnaceof GeometryAttribtueType 
org.geotools.feature.AttributeType.isGeometry()
          Replaced with the use of instanceof or Geometry.class.isAssignableFrom(attributeTypes[j].getType()) 
org.geotools.cs.Ellipsoid.isIvfDefinitive()
          Replaced by DefaultEllipsoid.isIvfDefinitive(). 
org.geotools.parameter.Parameters.list(ParameterValueGroup, GeneralParameterDescriptor)
          Use search(group, type.getName().getCode(), 1) instead. See comments in Parameters.indexOf(org.opengis.parameter.ParameterValueGroup, org.opengis.parameter.GeneralParameterDescriptor) for a rational about why name should be used as key instead of parameter descriptor. 
org.geotools.cs.Ellipsoid.orthodromicDistance(double, double, double, double)
          Replaced by DefaultEllipsoid.orthodromicDistance(double,double,double,double). 
org.geotools.cs.Ellipsoid.orthodromicDistance(Point2D, Point2D)
          Replaced by DefaultEllipsoid.orthodromicDistance(Point2D,Point2D). 
org.geotools.renderer.j2d.Renderer.paint(Graphics2D, AffineTransform, Rectangle)
          Use Renderer.paint(Graphics2D, Rectangle, AffineTransform) instead. 
org.geotools.renderer.j2d.Renderer.paint(Graphics2D, Rectangle, AffineTransform)
          Use Renderer.paint(Graphics2D,Rectangle,AffineTransform,boolean) instead. 
org.geotools.data.FeatureResults.reader()
          please use FeatureCollections.features() to obtain a FeatureIterator 
org.geotools.parameter.Parameters.search(ParameterValueGroup, GeneralParameterDescriptor)
          Use search(group, type.getName().getCode(), 100) instead. See comments in Parameters.indexOf(org.opengis.parameter.ParameterValueGroup, org.opengis.parameter.GeneralParameterDescriptor) for a rational about why name should be used as key instead of parameter descriptor. 
org.geotools.gui.swing.CoordinateChooser.setAccessory(JComponent)
          This method doesn't bring any new feature. You can do the same with better results using the following code:
             JPanel panel = new JPanel(new BorderLayout());
             panel.add(coordinateChooser, BorderLayout.WEST);
             panel.add(accessory, BorderLayout.CENTER);
             
 
org.geotools.filter.SQLEncoder.setColnameEscape(String)
          Use setSqlNameEscape instead, as it is more aptly named. 
org.geotools.filter.SQLEncoderSDE.setLayer(SeLayer)
          remove when the old data api dissapear 
org.geotools.filter.GeometryEncoderSDE.setLayer(SeLayer)
          remove when the old data api dissapear 
org.geotools.renderer.j2d.RenderedLegend.setMargin(Insets)
          Use RenderedLegend.setInsets(java.awt.Insets) instead. 
org.geotools.renderer.lite.LiteRenderer.setOutput(Graphics, Rectangle)
          Graphics and bounds is to be set in renderer(). 
org.geotools.renderer.lite.LiteRenderer2.setOutput(Graphics, Rectangle)
          Graphics and bounds is to be set in renderer(). 
org.geotools.referencing.factory.AbstractAuthorityFactory.wktFromGeoidName(String)
          We should try to rely on the alias mechanism available in all IdentifiedObject instead. If this method is really needed, we can reinsert it later. 
 

Deprecated Constructors
org.geotools.referencing.operation.AbstractCoordinateOperationFactory(FactoryGroup)
          Use AbstractCoordinateOperationFactory.AbstractCoordinateOperationFactory(Hints) instead. 
org.geotools.referencing.operation.AbstractCoordinateOperationFactory(MathTransformFactory)
          Use AbstractCoordinateOperationFactory.AbstractCoordinateOperationFactory(Hints) instead. 
org.geotools.referencing.operation.DefaultCoordinateOperationFactory(FactoryGroup)
          Use DefaultCoordinateOperationFactory.DefaultCoordinateOperationFactory(Hints) instead. 
org.geotools.referencing.operation.DefaultCoordinateOperationFactory(MathTransformFactory)
          Use DefaultCoordinateOperationFactory.DefaultCoordinateOperationFactory(Hints) instead. 
org.geotools.referencing.operation.DefaultOperationMethod(Map, int, int, GeneralParameterDescriptor[])
          Use the method expecting a parameter group instead. 
org.geotools.parameter.DefaultParameterDescriptor(Map, boolean, Class, Object[], Object, Comparable, Comparable, Unit)
          Use the constructor with required as the last argument instead. This is just a change in the order of arguments, which was performed for consistency with other constructors. 
org.geotools.parameter.DefaultParameterDescriptor(String, Class, Comparable, Comparable, Comparable, Unit)
          This constructor add little benefit compared to the full constructor. In other words, this "convenience" constructor doesn't save much typing. It will be removed in a future version, in order to simplify the API. 
org.geotools.referencing.cs.DefaultPolarCS(String, CoordinateSystemAxis[])
          Use the method with a pre-defined number of axis (for enforcing compile-time check). 
org.geotools.coverage.grid.GridCoverage2D(CharSequence, ImageFunction, CoordinateReferenceSystem, GridGeometry2D, GridSampleDimension[], Map)
          Replaced by a method with the same signature in GridCoverageFactory. 
org.geotools.coverage.grid.GridCoverage2D(CharSequence, RenderedImage, CoordinateReferenceSystem, Envelope)
          Replaced by a method with the same signature in GridCoverageFactory. 
org.geotools.coverage.grid.GridCoverage2D(CharSequence, WritableRaster, CoordinateReferenceSystem, Envelope, double[], double[], Unit, Color[][], RenderingHints)
          Replaced by a method with the same signature in GridCoverageFactory. 
org.geotools.coverage.grid.GridCoverage2D(CharSequence, WritableRaster, CoordinateReferenceSystem, MathTransform, double[], double[], Unit, Color[][], RenderingHints)
          Replaced by a method with the same signature in GridCoverageFactory. 
org.geotools.coverage.grid.GridCoverage2D(CharSequence, WritableRaster, Envelope)
          Replaced by a method with the same signature in GridCoverageFactory. 
org.geotools.feature.SimpleFeatureType(String, String, Collection, Collection, GeometryAttributeType)
          use SimpleFeatureType(String,URI,Collection,Collection,GeometryAttributeType) 
 



Copyright © GeoTools. All Rights Reserved.