This is an automated email from the ASF dual-hosted git repository. desruisseaux pushed a change to branch geoapi-4.0 in repository https://gitbox.apache.org/repos/asf/sis.git
from a9f4e4bc86 In Gimi store, avoid large array copies by reading from Channel directely in image DataBuffer new 2d3c96abbc Better check of whether a terminal is available before to propose to download EPSG data. This is needed for avoiding undesired prompts during CI builds. new 7b2d3f110f Replace byte constants in `MultiAuthoritiesFactory` by an enumeration. This change does not resolve bugs, but makes debugging easier. new 2866e75668 Better detection of when EPSG data are not available and fallback should be used. This is needed for fixing test failures when SIS is built without local EPSG dataset. new d4de682322 Reduce the amount of logs emitted when the EPSG database is not available. CommonCRS synchronization has been made less fine-grained (which also simplifies the code) because the previous strategy did not prevent duplicated log record under race conditions. The results were correct, but the duplicated log records were confusing. new 0a71185c8c Spelling fixes (no significant changes in the code). The 5 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../apache/sis/console/ResourcesDownloader.java | 9 +- .../sis/coverage/grid/TranslatedGridCoverage.java | 4 +- .../org/apache/sis/feature/AbstractFeature.java | 2 +- .../apache/sis/feature/DefaultAssociationRole.java | 2 +- .../org/apache/sis/feature/DefaultFeatureType.java | 2 +- .../apache/sis/feature/ExpressionOperation.java | 2 +- .../main/org/apache/sis/filter/Optimization.java | 2 +- .../sis/feature/DefaultAssociationRoleTest.java | 2 +- .../org/apache/sis/metadata/MetadataStandard.java | 2 +- .../org/apache/sis/metadata/MetadataVisitor.java | 8 +- .../apache/sis/metadata/ModifiableMetadata.java | 2 +- .../main/org/apache/sis/metadata/ObjectPair.java | 2 +- .../apache/sis/metadata/ValueExistencePolicy.java | 2 +- .../apache/sis/metadata/sql/MetadataWriter.java | 2 +- .../sis/metadata/sql/privy/LocalDataSource.java | 6 +- .../main/org/apache/sis/xml/ReferenceResolver.java | 2 +- .../main/org/apache/sis/xml/XML.java | 2 +- .../main/org/apache/sis/xml/bind/Context.java | 1 + .../apache/sis/metadata/AbstractMetadataTest.java | 2 +- .../apache/sis/metadata/MetadataStandardTest.java | 4 +- .../test/org/apache/sis/metadata/PrunerTest.java | 4 +- .../gazetteer/AbstractLocationType.java | 10 +- .../referencing/gazetteer/LocationTypeTest.java | 2 +- .../main/org/apache/sis/io/wkt/Warnings.java | 2 +- .../apache/sis/referencing/AuthorityFactories.java | 209 +++++++------ .../main/org/apache/sis/referencing/CRS.java | 5 +- .../main/org/apache/sis/referencing/CommonCRS.java | 330 +++++++++------------ .../apache/sis/referencing/IdentifiedObjects.java | 2 + .../sis/referencing/crs/AbstractDerivedCRS.java | 2 +- .../factory/AuthorityFactoryIdentifier.java | 104 ++++--- .../referencing/factory/AuthorityFactoryProxy.java | 77 +++-- .../factory/ConcurrentAuthorityFactory.java | 10 +- .../factory/IdentifiedObjectFinder.java | 120 +++++++- .../factory/LazySynchronizedIterator.java | 48 +-- .../factory/MultiAuthoritiesFactory.java | 164 +++++----- .../referencing/factory/sql/EPSGDataAccess.java | 18 +- .../sis/referencing/factory/sql/EPSGFactory.java | 15 +- .../sis/referencing/factory/sql/EPSGInstaller.java | 5 +- .../factory/sql/InstallationScriptProvider.java | 2 +- .../referencing/internal/ServicesForMetadata.java | 3 +- .../operation/AbstractCoordinateOperation.java | 4 +- .../operation/CoordinateOperationFinder.java | 4 +- .../operation/builder/ProjectedTransformTry.java | 3 +- .../transform/DefaultMathTransformFactory.java | 2 +- .../apache/sis/geometry/DirectPosition1DTest.java | 4 +- .../org/apache/sis/parameter/ParametersTest.java | 2 +- .../apache/sis/referencing/ClenshawSummation.java | 2 +- .../sis/referencing/EPSGFactoryFallbackTest.java | 4 +- .../operation/transform/MathTransformTestCase.java | 2 +- .../operation/transform/MathTransformWrapper.java | 4 +- .../sis/storage/geotiff/MultiResolutionImage.java | 2 +- .../apache/sis/storage/geotiff/NativeMetadata.java | 2 +- .../org/apache/sis/storage/geotiff/Reader.java | 2 +- .../sis/storage/geotiff/reader/Localization.java | 2 +- .../sis/storage/sql/feature/FeatureAdapter.java | 4 +- .../sis/storage/sql/feature/InfoStatements.java | 12 +- .../apache/sis/storage/sql/feature/Relation.java | 2 +- .../org/apache/sis/storage/sql/feature/Table.java | 2 +- .../sis/util/stream/PaginedDoubleStream.java | 4 +- .../org/apache/sis/util/stream/PaginedStream.java | 4 +- .../storage/sql/feature/InfoStatementsTest.java | 8 +- .../main/org/apache/sis/io/stream/IOUtilities.java | 5 +- .../sis/storage/aggregate/GridSliceLocator.java | 2 +- .../sis/storage/base/GridResourceWrapper.java | 6 +- .../apache/sis/storage/event/StoreListeners.java | 10 +- .../apache/sis/converter/ConverterRegistry.java | 4 +- .../org/apache/sis/converter/SystemRegistry.java | 2 +- .../main/org/apache/sis/math/MathFunctions.java | 2 +- .../main/org/apache/sis/math/Vector.java | 2 +- .../main/org/apache/sis/pending/jdk/JDK22.java | 2 +- .../main/org/apache/sis/setup/About.java | 2 +- .../apache/sis/setup/InstallationResources.java | 22 +- .../apache/sis/setup/OptionalInstallations.java | 10 +- .../main/org/apache/sis/system/DataDirectory.java | 3 +- .../main/org/apache/sis/system/Semaphores.java | 2 +- .../main/org/apache/sis/util/Exceptions.java | 24 +- .../main/org/apache/sis/util/collection/Cache.java | 2 +- .../sis/util/collection/DefaultTreeTable.java | 2 +- .../org/apache/sis/util/collection/TreeTable.java | 6 +- .../sis/util/collection/TreeTableFormat.java | 32 +- .../main/org/apache/sis/util/internal/Acyclic.java | 2 +- .../main/org/apache/sis/util/logging/Logging.java | 6 +- .../org/apache/sis/util/privy/AbstractMap.java | 2 +- .../main/org/apache/sis/util/privy/Cloner.java | 2 +- .../sis/util/resources/IndexedResourceBundle.java | 18 +- .../test/org/apache/sis/test/Assertions.java | 5 +- .../main/org/apache/sis/map/MapLayer.java | 2 +- .../sis/storage/gsf/panama/LibraryLoader.java | 4 +- .../sis/gui/coverage/ImagePropertyExplorer.java | 4 +- .../gui/internal/io/OptionalDataDownloader.java | 15 + .../apache/sis/gui/referencing/AuthorityCodes.java | 3 +- .../resources/embedded/EmbeddedResourcesTest.java | 1 - .../apache/sis/storage/panama/LibraryLoader.java | 4 +- .../org/apache/sis/storage/panama/Resources.java | 2 +- .../apache/sis/storage/panama/Resources.properties | 2 +- .../sis/storage/panama/Resources_fr.properties | 2 +- 96 files changed, 815 insertions(+), 666 deletions(-)