Deprecated API
Show API deprecated in:
Contents
-
Terminally Deprecated ElementsElementDeprecated inDescription1.6Not used anymore because this method leads to a multiplication of very small read operations.1.5Experience suggests that this method encourage bugs in user's code that stay unnoticed.1.6Replaced by
Optimization.getFinalFeatureTypes().1.6Replaced byOptimization.setFinalFeatureTypes(Collection).1.6Fractionmay become a value object with a future Java version, and this method is incompatible with value objects.1.6Replaced byCRS.findOperation(DefaultCoordinateMetadata, DefaultCoordinateMetadata, CoordinateOperationContext). This method will be removed for avoiding ambiguity when the last argument is null.1.6Moved toAbstractFeatureSet.prepareQueryOptimization(FeatureQuery, Optimization)because experience suggests that this is the class that know best how to configure.1.6This method is confusing as it works on instances whileClasses.findCommonClass(Class, Class)works on classes.1.6This method is confusing as it works on instances instead of classes.1.6Renamed asContainers.viewAsUnmodifiableList(Object...)for clarity. The new name emphases the contrast withContainers.copyToImmutableList(Collection, Class). The parameterized return type is also different.1.6Renamed asContainers.viewAsUnmodifiableList(Object[], int, int)for clarity. The new name emphases the contrast withContainers.copyToImmutableList(Collection, Class). The parameterized return type is also different.1.6Replaced by theNumberTypeenumeration.1.6Replaced by theNumberTypeenumeration.1.6Replaced by theNumberTypeenumeration.1.6Replaced by theNumberTypeenumeration.1.6Replaced by theNumberTypeenumeration.1.6Replaced by theNumberTypeenumeration.1.6Replaced by theNumberTypeenumeration.1.6Replaced by theNumberTypeenumeration.1.6Replaced by theNumberTypeenumeration.1.6Replaced by theNumberTypeenumeration.1.6Moved toNumberType.isFractional(Class).1.6Moved toNumberType.isInteger(Class).1.6Moved toNumberType.isReal(Class).1.6Replaced by theNumberTypeenumeration.1.6Replaced by theNumberTypeenumeration.1.6Replaced byNumberType.size().1.6Moved toNumberType.primitiveToWrapper(Class).1.6Replaced by theNumberTypeenumeration.1.6Moved toNumberType.wrapperToPrimitive(Class).
-
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.
-
Deprecated FieldsFieldDeprecated inDescription1.51.6Replaced by the
NumberTypeenumeration.1.6Replaced by theNumberTypeenumeration.1.6Replaced by theNumberTypeenumeration.1.6Replaced by theNumberTypeenumeration.1.6Replaced by theNumberTypeenumeration.1.6Replaced by theNumberTypeenumeration.1.6Replaced by theNumberTypeenumeration.1.6Replaced by theNumberTypeenumeration.1.6Replaced by theNumberTypeenumeration.1.6Replaced by theNumberTypeenumeration.1.6Replaced by theNumberTypeenumeration.1.6Replaced by theNumberTypeenumeration.1.0as of ISO 19115-3, split in many different namespaces.RenamedMaintenanceFrequency.UNKNOWN.
-
Deprecated MethodsMethodDeprecated inDescription1.6Not used anymore because this method leads to a multiplication of very small read operations.1.5Experience suggests that this method encourage bugs in user's code that stay unnoticed.1.6Replaced by
Optimization.getFinalFeatureTypes().1.6Replaced byOptimization.setFinalFeatureTypes(Collection).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.6Fractionmay become a value object with a future Java version, and this method is incompatible with value objects.This method is badly named, but we can't change since it is defined by JSR-385.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.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.4Replaced byAbstractIdentifiedObject.getDomains()as of ISO 19111:2019.1.4Replaced byAbstractIdentifiedObject.getDomains()as of ISO 19111:2019.1.6Replaced byCRS.findOperation(DefaultCoordinateMetadata, DefaultCoordinateMetadata, CoordinateOperationContext). This method will be removed for avoiding ambiguity when the last argument is null.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.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.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.0.7Replaced byDefaultMathTransformFactory.builder(String).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.5This way to create parameterized transform is ambiguous. UseDefaultMathTransformFactory.builder(String)instead.1.5Replaced byMathTransformBuilder.getMethod().1.6Moved toAbstractFeatureSet.prepareQueryOptimization(FeatureQuery, Optimization)because experience suggests that this is the class that know best how to configure.1.6This method is confusing as it works on instances whileClasses.findCommonClass(Class, Class)works on classes.1.6This method is confusing as it works on instances instead of classes.1.6Renamed asContainers.viewAsUnmodifiableList(Object...)for clarity. The new name emphases the contrast withContainers.copyToImmutableList(Collection, Class). The parameterized return type is also different.1.6Renamed asContainers.viewAsUnmodifiableList(Object[], int, int)for clarity. The new name emphases the contrast withContainers.copyToImmutableList(Collection, Class). The parameterized return type is also different.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.6Replaced by theNumberTypeenumeration.1.6Moved toNumberType.isFractional(Class).1.6Moved toNumberType.isInteger(Class).1.6Moved toNumberType.isReal(Class).1.6Replaced byNumberType.size().1.6Moved toNumberType.primitiveToWrapper(Class).1.6Moved toNumberType.wrapperToPrimitive(Class).
-
Deprecated Constructors