Deprecated API
Show API deprecated in:
Contents
-
Terminally Deprecated ElementsElementDeprecated inDescription1.51.51.5Replaced by
ImageProcessor.getImageLayout().1.5Replaced byImageLayout.1.5Replaced byImageProcessor.setImageLayout(ImageLayout).1.5Replaced byFormatter.append(Temporal).1.5Replaced byDefaultCitationDate(Temporal, DateType)in order to transition tojava.timeAPI.1.51.5This constructor applies too arbitrary rules.1.5Replaced byDefaultTemporalExtent.getEnding()in order to transition tojava.timeAPI.1.5Replaced byDefaultTemporalExtent.getBeginning()in order to transition tojava.timeAPI.1.5Replaced byDefaultTemporalExtent.setBounds(Temporal, Temporal)in order to transition tojava.timeAPI.1.5Replaced byExtents.getInstant(Extent, ZoneId, double)in order to transition tojava.timeAPI.1.5This method will be removed because it can causethisto escape at construction time.1.5RenamedMatrixParametersbecause this is not really a builder of tensors. Furthermore, the declared EPSG parameter names were incorrect. See SIS-619.1.5Replaced byMatrixParameters.ALPHANUM.1.5RenamedMatrixParameters.order()because "rank" has a different meaning in linear algebra.1.5Replaced byMatrixParameters.WKT1.1.5Replaced byCommonCRS.datum(boolean)for specifying whether to include datum ensembles.1.5ADefaultDatumEnsembleargument has been added.1.5ADefaultDatumEnsembleargument has been added.1.5ADefaultDatumEnsembleargument has been added.1.5ADefaultDatumEnsembleargument has been added.1.5TheImageCRSclass has been removed in ISO 19111:2019. It is replaced byEngineeringCRS.1.5ADefaultDatumEnsembleargument has been added.1.5ADefaultDatumEnsembleargument has been added.1.5ADefaultDatumEnsembleargument has been added.1.5TheUserDefinedCSclass has been removed from ISO 19111:2019.1.41.5TheImageDatumclass has been removed in ISO 19111:2019. It is replaced byEngineeringDatum.1.5Replaced byTimeDependentBWP(GeodeticDatum, Extent, Temporal).1.5Ignored since the upgrade to version 10+ of EPSG because too dependent of the database schema.1.5Ignored since the upgrade to version 10+ of EPSG because too dependent of the database schema.1.5Replaced by a method with explicit CRS arguments because of potential CRS swapping.1.5UseDefaultMathTransformFactoryinstead.1.5Replaced byAbstractMathTransform.tryConcatenate(TransformJoiner). See SIS-595.1.5Replaced byDefaultMathTransformFactory.builder(String).1.51.51.5Replaced byMathTransformBuilder.getMethod().1.51.51.51.51.5Replaced by the following pattern:var builder = builder("Coordinate system conversion"); builder.setSourceAxes(source, ellipsoid); builder.setTargetAxes(target, ellipsoid); return builder.create();1.5Replaced by a builder pattern withDefaultMathTransformFactory.builder(String).1.5Considered internal API because the definition of "normalized" is implementation-dependent.1.51.51.5As of Java 9, replaced by.invalid reference
Objects#checkIndex(int, int)1.5As of Java 9, replaced by.invalid reference
Objects#checkFromToIndex(int, int, int)1.5TheRecordSchemainterface has been removed in the 2015 revision of the ISO 19103 standard.1.5TheRecordSchemainterface has been removed in the 2015 revision of the ISO 19103 standard.1.5This method depends on reflection, which is restricted in the context of Java Module System. Replaced byTypes.forCodeName(Class, String, Function).1.5This method depends on reflection, which is restricted in the context of Java Module System. Instead,T.values()static methods should be invoked directly as much as possible.1.5Unnecessary.1.5Replaced byStringBuilder.repeat(int, int)since Java 21.
-
Deprecated ClassesClassDeprecated inDescriptionTo be removed after migration to GeoAPI 4.0.1.3Renamed
AbstractTemporalQualityfor following a renaming in ISO 19157:2013.1.3RenamedDefaultNonQuantitativeAttributeCorrectnessfor following a renaming in ISO 19157:2013.1.0As of ISO 19115:2014,DQ_Scopehas been replaced byMD_Scope. The latter is defined in theorg.apache.sis.metadata.iso.maintenancepackage.1.3Removed from latest ISO 19157 standard.1.5RenamedMatrixParametersbecause this is not really a builder of tensors. Furthermore, the declared EPSG parameter names were incorrect. See SIS-619.1.5TheImageCRSclass has been removed in ISO 19111:2019. It is replaced byEngineeringCRS.1.5TheUserDefinedCSclass has been removed from ISO 19111:2019.1.5TheImageDatumclass has been removed in ISO 19111:2019. It is replaced byEngineeringDatum.1.5Replaced byDefaultMathTransformFactory.builder(String).1.5TheRecordSchemainterface has been removed in the 2015 revision of the ISO 19103 standard.1.5Unnecessary.
-
Deprecated Enum Classes
-
Deprecated FieldsFieldDeprecated inDescription1.5Replaced by
MatrixParameters.ALPHANUM.1.5Replaced byMatrixParameters.WKT1.1.5Ignored since the upgrade to version 10+ of EPSG because too dependent of the database schema.1.5Ignored since the upgrade to version 10+ of EPSG because too dependent of the database schema.1.51.5Replaced byFeatureQuery.NamedExpression.alias()in preparation for makingNamedExpressiona record.1.5Replaced byFeatureQuery.NamedExpression.expression()in preparation for makingNamedExpressiona record.1.5Replaced byFeatureQuery.NamedExpression.type()in preparation for makingNamedExpressiona record.1.0as of ISO 19115-3, split in many different namespaces.
-
Deprecated MethodsMethodDeprecated inDescription1.5Use the version with
longintegers instead ofint. Small overviews of large images require large subsampling factors.1.5Use the version withlongintegers instead ofint. Small overviews of large images require large subsampling factors.1.5Use the version withlongintegers instead ofint. Small overviews of large images require large subsampling factors.1.5Use the version withlongintegers instead ofint. Small overviews of large images require large subsampling factors.1.5Use the version withlongintegers instead ofint. Small overviews of large images require large subsampling factors.1.5RenamedAbstractDirectPosition.getCoordinates()for consistency with ISO 19111 terminology.1.5RenamedAbstractDirectPosition.getCoordinate(int)for consistency with ISO 19111 terminology.1.5RenamedAbstractDirectPosition.setCoordinate(int, double)for consistency with ISO 19111 terminology.1.5RenamedDirectPosition2D.getCoordinates()for consistency with ISO 19111 terminology.1.5RenamedDirectPosition2D.getCoordinate(int)for consistency with ISO 19111 terminology.1.5RenamedDirectPosition2D.setCoordinate(int, double)for consistency with ISO 19111 terminology.1.51.51.5Replaced byImageProcessor.getImageLayout().1.5Replaced byImageProcessor.setImageLayout(ImageLayout).1.5Replaced byFormatter.append(Temporal).1.5Replaced byDefaultEvent.getDateOfOccurrence().1.5Replaced byDefaultEvent.setDateOfOccurrence(Temporal).1.51.51.5Replaced byDefaultRequirement.setExpiryDate(Temporal).1.0Removed as of ISO 19115:2014.1.0Removed as of ISO 19115:2014.1.5Replaced byDefaultCitation.setEditionDate(Temporal).1.5Replaced byDefaultCitationDate.getReferenceDate().1.5Replaced byDefaultCitationDate.setReferenceDate(Temporal).1.0As of ISO 19115:2014, replaced byDefaultContact.getAddresses().1.0As of ISO 19115:2014, replaced byDefaultContact.getOnlineResources().1.0As of ISO 19115:2014, replaced byDefaultContact.getPhones().1.0As of ISO 19115:2014, replaced byDefaultContact.setAddresses(Collection).1.0As of ISO 19115:2014, replaced byDefaultContact.setOnlineResources(Collection).1.0As of ISO 19115:2014, replaced byDefaultContact.setPhones(Collection).1.0As of ISO 19115:2014, replaced byAbstractParty.getContactInfo().1.0As of ISO 19115:2014, replaced bygetName()inDefaultIndividual.1.0As of ISO 19115:2014, replaced bygetName()inDefaultOrganisation.1.0As of ISO 19115:2014, replaced byDefaultIndividual.getPositionName().1.0As of ISO 19115:2014, replaced byAbstractParty.setContactInfo(Collection).1.0As of ISO 19115:2014, replaced bysetName(InternationalString)inDefaultIndividual.1.0As of ISO 19115:2014, replaced bysetName(InternationalString)inDefaultOrganisation.1.0As of ISO 19115:2014, replaced byDefaultIndividual.setPositionName(InternationalString).1.0As of ISO 19115:2014, replaced by a number codeTelephoneType.FACSIMILE.1.0As of ISO 19115:2014, replaced by a number withTelephoneType.VOICE.1.0As of ISO 19115:2014, replaced by a number withTelephoneType.FACSIMILE.1.0As of ISO 19115:2014, replaced by a number codeTelephoneType.VOICE.1.0As of ISO 19115:2014, moved toDefaultAttributeGroup.getContentTypes().1.0As of ISO 19115:2014, moved toDefaultAttributeGroup.getAttributes().1.0As of ISO 19115:2014, moved toDefaultAttributeGroup.setContentTypes(Collection).1.0As of ISO 19115:2014, moved toDefaultAttributeGroup.setAttributes(Collection).1.0As of ISO 19115:2014, replaced byDefaultFeatureCatalogueDescription.getFeatureTypeInfo().1.0Replaced bygetLocalesAndCharsets().keySet().1.0As of ISO 19115:2014, replaced byDefaultFeatureCatalogueDescription.setFeatureTypeInfo(Collection).1.0Replaced by putting keys inDefaultFeatureCatalogueDescription.getLocalesAndCharsets()map.1.0As of ISO 19115:2014, renamedDefaultRangeDimension.getDescription().1.0As of ISO 19115:2014, renamedDefaultRangeDimension.setDescription(InternationalString).1.0Removed as of ISO 19115:2014.1.0As of ISO 19115:2014, replaced byDefaultExtendedElementInformation.getRationale().1.0Removed as of ISO 19115:2014.1.0Removed as of ISO 19115:2014.1.0As of ISO 19115:2014, replaced byDefaultExtendedElementInformation.setRationale(InternationalString).1.0Removed as of ISO 19115:2014.1.0Replaced byDefaultMetadata.getLocalesAndCharsets().values().1.0As of ISO 19115:2014, replaced byDefaultMetadata.getIdentificationInfo()followed byAbstractIdentification.getCitation()followed byDefaultCitation.getOnlineResources().1.0As of ISO 19115:2014, replaced byDefaultMetadata.getDateInfo().1.0As of ISO 19115:2014, replaced byDefaultMetadata.getMetadataIdentifier()in order to include the codespace attribute.1.0As of ISO 19115:2014, replaced byDefaultMetadata.getMetadataScopes()followed byDefaultMetadataScope.getName().1.0As of ISO 19115:2014, replaced byDefaultMetadata.getMetadataScopes()followed byDefaultMetadataScope.getResourceScope().1.0Replaced byDefaultMetadata.getLocalesAndCharsets().keySet().1.0Replaced byDefaultMetadata.getLocalesAndCharsets().keySet().1.0As of ISO 19115:2014, replaced byDefaultMetadata.getMetadataStandards()followed byDefaultCitation.getTitle().1.0As of ISO 19115:2014, replaced byDefaultMetadata.getMetadataStandards()followed byDefaultCitation.getEdition().1.0As of ISO 19115:2014, replaced byDefaultMetadata.getParentMetadata().1.0Replaced byDefaultMetadata.getLocalesAndCharsets().put(…, newValue).1.0As of ISO 19115:2014, replaced byDefaultMetadata.getIdentificationInfo()followed byAbstractIdentification.getCitation()followed byDefaultCitation.setOnlineResources(Collection).1.0As of ISO 19115:2014, replaced byDefaultMetadata.setDateInfo(Collection).1.0As of ISO 19115:2014, replaced byDefaultMetadata.setMetadataIdentifier(Identifier)1.0As of ISO 19115:2014, replaced byDefaultMetadata.setMetadataScopes(Collection)andDefaultMetadataScope.setName(InternationalString).1.0As of ISO 19115:2014, replaced byDefaultMetadata.setMetadataScopes(Collection)andDefaultMetadataScope.setResourceScope(ScopeCode).1.0Replaced byDefaultMetadata.getLocalesAndCharsets().put(newValue, …).Replaced by putting keys inDefaultMetadata.getLocalesAndCharsets().1.0As of ISO 19115:2014, replaced byDefaultMetadata.getMetadataStandards()followed byDefaultCitation.setTitle(InternationalString).1.0As of ISO 19115:2014, replaced byDefaultMetadata.getMetadataStandards()followed byDefaultCitation.setEdition(InternationalString).1.0As of ISO 19115:2014, replaced byDefaultMetadata.getParentMetadata().1.0Removed in latest XSD schemas.1.0Removed in latest XSD schemas.1.0As of ISO 19115:2014, replaced byDefaultDigitalTransferOptions.getOffLines().1.0As of ISO 19115:2014, replaced byDefaultDigitalTransferOptions.setOffLines(Collection).1.0As of ISO 19115:2014, replaced byDefaultFormat.getFormatSpecificationCitation().getAlternateTitles(). Note that citation alternate titles are often used for abbreviations.1.0As of ISO 19115:2014, replaced byDefaultFormat.getFormatSpecificationCitation().getTitle().1.0As of ISO 19115:2014, replaced byDefaultFormat.getFormatSpecificationCitation().getEdition().1.0As of ISO 19115:2014, replaced byDefaultFormat.getFormatSpecificationCitation().setAlternateTitles(Collection).1.0As of ISO 19115:2014, replaced byDefaultFormat.getFormatSpecificationCitation().setTitle(InternationalString).1.0As of ISO 19115:2014, replaced byDefaultFormat.getFormatSpecificationCitation().setEdition(InternationalString).1.0As of ISO 19115:2014, replaced byDefaultMedium.getDensity().1.0As of ISO 19115:2014, replaced byDefaultMedium.setDensity(Double).1.51.51.5Replaced byDefaultTemporalExtent.getEnding()in order to transition tojava.timeAPI.1.5Replaced byDefaultTemporalExtent.getBeginning()in order to transition tojava.timeAPI.1.5Replaced byDefaultTemporalExtent.setBounds(Temporal, Temporal)in order to transition tojava.timeAPI.1.5Replaced byExtents.getInstant(Extent, ZoneId, double)in order to transition tojava.timeAPI.1.0As of ISO 19115:2014, replaced byAbstractIdentification.getAssociatedResources().1.0As of ISO 19115:2014, replaced byAbstractIdentification.setAssociatedResources(Collection).1.0As of ISO 19115:2014, replaced by the first identifier ofDefaultAggregateInformation.getAggregateDataSetName().1.0As of ISO 19115:2014, replaced byDefaultAssociatedResource.getName().1.0As of ISO 19115:2014, replaced by an identifier ofDefaultAggregateInformation.getAggregateDataSetName().1.0As of ISO 19115:2014, replaced byDefaultAssociatedResource.setName(Citation).1.0Replaced bygetLocalesAndCharsets().values().1.0Replaced bygetLocalesAndCharsets().keySet().1.0Replaced by putting values inDefaultDataIdentification.getLocalesAndCharsets()map.1.0Replaced by putting keys inDefaultDataIdentification.getLocalesAndCharsets()map.1.5Replaced byDefaultUsage.getUsageDates().1.5Replaced byDefaultUsage.setUsageDates(Collection).1.0As of ISO 19115-1:2014, replaced byDefaultProcessStep.getStepDateTime().1.0As of ISO 19115-1:2014, replaced byDefaultProcessStep.setStepDateTime(TemporalPrimitive).1.0As of ISO 19115:2014, moved toDefaultResolution.getEquivalentScale().1.0As of ISO 19115:2014, moved toDefaultScope.getExtents().1.0As of ISO 19115:2014, moved toDefaultResolution.setEquivalentScale(RepresentativeFraction).1.0As of ISO 19115:2014, moved toDefaultScope.setExtents(Collection).1.0As of ISO 19115:2014, replaced byDefaultMaintenanceInformation.getMaintenanceDates()in order to enable inclusion of aDateTypeto describe the type of the date. The associated date type isDateType.valueOf("NEXT_UPDATE").1.0As of ISO 19115:2014,DefaultMaintenanceInformation.getUpdateScopes()andgetUpdateScopeDescriptions()were combined intoDefaultMaintenanceInformation.getMaintenanceScopes()in order to allow specifying a scope that includes a spatial and temporal extent.1.0As of ISO 19115:2014,getUpdateScopes()andDefaultMaintenanceInformation.getUpdateScopeDescriptions()were combined intoDefaultMaintenanceInformation.getMaintenanceScopes()in order to allow specifying a scope that includes a spatial and temporal extent.1.01.0As of ISO 19115:2014, replaced byDefaultMaintenanceInformation.setMaintenanceScopes(Collection).1.0As of ISO 19115:2014, replaced byDefaultMaintenanceInformation.setMaintenanceScopes(Collection).As of ISO 19115:2014, replaced byDefaultScope.getExtents().As of ISO 19115:2014, replaced byDefaultScope.setExtents(Collection).1.3Replaced byDefaultEvaluationMethod.getDates().1.31.3Replaced byDefaultEvaluationMethod.getEvaluationMethodType().1.3Replaced byDefaultEvaluationMethod.getEvaluationProcedure().1.3Replaced byDefaultMeasureReference.getMeasureDescription().1.3Replaced byDefaultMeasureReference.getMeasureIdentification().1.3Replaced byDefaultMeasureReference.getNamesOfMeasure().1.3Replaced byDefaultEvaluationMethod.setDates(Collection).1.31.31.31.31.31.31.3Replaced byDefaultCoverageResult.getResultContent().1.3Replaced byDefaultCoverageResult.setResultContent(Collection).1.3Removed from ISO 19157:2013.1.3Removed from ISO 19157:2013.1.3Removed from ISO_19157:2013.org.apache.sis.metadata.iso.quality.DefaultQuantitativeResult.setErrorStatistic(InternationalString) 1.3Removed from ISO_19157:2013.1.5This method will be removed because it can causethisto escape at construction time.1.5RenamedMatrixParameters.order()because "rank" has a different meaning in linear algebra.1.4Replaced byAbstractIdentifiedObject.getDomains()as of ISO 19111:2019.1.4Replaced byAbstractIdentifiedObject.getDomains()as of ISO 19111:2019.1.5Replaced byCommonCRS.datum(boolean)for specifying whether to include datum ensembles.1.5RenamedAbstractDatum.getAnchorDefinition()as of ISO 19111:2019.1.4Replaced byAbstractIdentifiedObject.getDomains()as of ISO 19111:2019.1.5Since ISO 19111:2019, replaced byAbstractDatum.getAnchorEpoch().1.4Replaced byAbstractIdentifiedObject.getDomains()as of ISO 19111:2019.1.41.5TheImageCRSclass has been removed in ISO 19111:2019. It is replaced byEngineeringCRS.1.5TheImageDatumclass has been removed in ISO 19111:2019. It is replaced byEngineeringDatum.1.5TheImageCRSclass has been removed in ISO 19111:2019. It is replaced byEngineeringCRS.1.5TheImageDatumclass has been removed in ISO 19111:2019. It is replaced byEngineeringDatum.1.5This method is ambiguous because the EPSG geodetic registry may allocate the same code to different kinds of object.ISO 19111:2019 does not define an explicit class for geocentric CRS. Useinstead.invalid reference
#createGeodeticCRS(Map, GeodeticDatum, SphericalCS)1.5TheImageCRSclass has been removed in ISO 19111:2019. It is replaced byEngineeringCRS.1.5TheImageDatumclass has been removed in ISO 19111:2019. It is replaced byEngineeringDatum.1.5TheUserDefinedCSclass has been removed from ISO 19111:2019.1.5TheUserDefinedCSclass has been removed from ISO 19111:2019.1.5TheImageCRSclass has been removed in ISO 19111:2019. It is replaced byEngineeringCRS.1.5TheImageDatumclass has been removed in ISO 19111:2019. It is replaced byEngineeringDatum.1.4Replaced byAbstractIdentifiedObject.getDomains()as of ISO 19111:2019.1.4Replaced byAbstractIdentifiedObject.getDomains()as of ISO 19111:2019.1.5Replaced by a method with explicit CRS arguments because of potential CRS swapping.1.50.71.5UseDefaultMathTransformFactoryinstead.1.1This attribute has been removed from ISO 19111:2019.1.1This attribute has been removed from ISO 19111:2019.May be removed in GeoAPI 4.0 since it does not apply to pass-through operations.May be removed in GeoAPI 4.0 since it does not apply to pass-through operations.1.5Replaced byAbstractMathTransform.tryConcatenate(TransformJoiner). See SIS-595.1.51.51.5Replaced byMathTransformBuilder.getMethod().1.51.51.51.50.7Replaced byDefaultMathTransformFactory.builder(String).1.5Replaced by the following pattern:var builder = builder("Coordinate system conversion"); builder.setSourceAxes(source, ellipsoid); builder.setTargetAxes(target, ellipsoid); return builder.create();1.5This constructor is ambiguous when axis directions are parts of the map projection definition as inTransverse Mercator (South Orientated)
. UseDefaultMathTransformFactory.builder(String)instead for allowing the implementation to resolve such ambiguities.1.5Replaced by a builder pattern withDefaultMathTransformFactory.builder(String).1.5This way to create parameterized transform is ambiguous. UseDefaultMathTransformFactory.builder(String)instead.1.5Replaced byMathTransformBuilder.getMethod().1.5Considered internal API because the definition of "normalized" is implementation-dependent.1.51.5As of Java 9, replaced by.invalid reference
Objects#checkIndex(int, int)1.5As of Java 9, replaced by.invalid reference
Objects#checkFromToIndex(int, int, int)RenamedDefaultRecord.getFields()for consistency with the 2015 revision of ISO 19103 standard.1.0TheRecordSchemainterface has been removed in the 2015 revision of ISO 19103 standard.RenamedDefaultRecordType.getFieldTypes()for consistency with the 2015 revision of ISO 19103 standard.1.5This method depends on reflection, which is restricted in the context of Java Module System. Replaced byTypes.forCodeName(Class, String, Function).1.5This method depends on reflection, which is restricted in the context of Java Module System. Instead,T.values()static methods should be invoked directly as much as possible.1.5Replaced byStringBuilder.repeat(int, int)since Java 21.
-
Deprecated ConstructorsConstructorDeprecated inDescription1.5Replaced by
DefaultCitationDate(Temporal, DateType)in order to transition tojava.timeAPI.1.51.5This constructor applies too arbitrary rules.1.5ADefaultDatumEnsembleargument has been added.1.5ADefaultDatumEnsembleargument has been added.1.5ADefaultDatumEnsembleargument has been added.1.5ADefaultDatumEnsembleargument has been added.1.5ADefaultDatumEnsembleargument has been added.1.5ADefaultDatumEnsembleargument has been added.1.5ADefaultDatumEnsembleargument has been added.1.5UseDefaultTemporalDatum(Map, Temporal)instead.1.5Replaced byTimeDependentBWP(GeodeticDatum, Extent, Temporal).1.51.5TheRecordSchemainterface has been removed in the 2015 revision of the ISO 19103 standard.
-
Deprecated Enum ConstantsEnum ConstantDeprecated inDescriptionReplaced by
ImageLayout.DEFAULT.allowImageBoundsAdjustments(true).Replaced byImageLayout.DEFAULT.