You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by de...@apache.org on 2021/09/10 13:53:48 UTC
[sis] 01/01: Merge branch 'geoapi-4.0' into geoapi-3.1.
This is an automated email from the ASF dual-hosted git repository.
desruisseaux pushed a commit to branch geoapi-3.1
in repository https://gitbox.apache.org/repos/asf/sis.git
commit 152b383de9265bf5dc6906a5c8621640d66979bf
Merge: 1105c74 04c2145
Author: Martin Desruisseaux <ma...@geomatys.com>
AuthorDate: Fri Sep 10 15:51:32 2021 +0200
Merge branch 'geoapi-4.0' into geoapi-3.1.
NOTICE | 23 +-
application/pom.xml | 5 +-
application/sis-console/pom.xml | 2 +-
application/sis-javafx/doc/readme.txt | 19 +
application/sis-javafx/pom.xml | 190 +-
application/sis-javafx/src/main/artifact/LICENSE | 1 +
application/sis-javafx/src/main/artifact/NOTICE | 1 +
application/sis-javafx/src/main/artifact/README | 86 +
application/sis-javafx/src/main/artifact/bin/sisfx | 45 +
.../sis-javafx/src/main/artifact/bin/sisfx.bat | 36 +
.../src/main/artifact/conf/logging.properties | 67 +
.../sis-javafx/src/main/artifact/conf/setenv.bat | 2 +
.../sis-javafx/src/main/artifact/conf/setenv.sh | 2 +
.../sis-javafx/src/main/artifact/data/README | 1 +
.../sis-javafx/src/main/artifact/lib/README | 8 +
.../sis-javafx/src/main/artifact/lib/logo.jpg | Bin 0 -> 44981 bytes
.../sis-javafx/src/main/artifact/log/README | 3 +
.../main/java/org/apache/sis/gui/AboutDialog.java | 71 +
.../main/java/org/apache/sis/gui/DataViewer.java | 308 +++
.../src/main/java/org/apache/sis/gui/Main.java | 204 --
.../main/java/org/apache/sis/gui/RecentFiles.java | 154 ++
.../src/main/java/org/apache/sis/gui/Widget.java | 57 +
.../apache/sis/gui/coverage/BandRangeTable.java | 161 ++
.../sis/gui/coverage/BandSelectionListener.java | 67 +
.../org/apache/sis/gui/coverage/CellFormat.java | 338 ++++
.../java/org/apache/sis/gui/coverage/Controls.java | 136 ++
.../apache/sis/gui/coverage/CoverageCanvas.java | 963 +++++++++
.../apache/sis/gui/coverage/CoverageControls.java | 299 +++
.../apache/sis/gui/coverage/CoverageExplorer.java | 410 ++++
.../apache/sis/gui/coverage/CoverageStyling.java | 205 ++
.../java/org/apache/sis/gui/coverage/GridCell.java | 73 +
.../org/apache/sis/gui/coverage/GridControls.java | 162 ++
.../org/apache/sis/gui/coverage/GridError.java | 130 ++
.../java/org/apache/sis/gui/coverage/GridRow.java | 113 ++
.../org/apache/sis/gui/coverage/GridRowSkin.java | 138 ++
.../java/org/apache/sis/gui/coverage/GridTile.java | 194 ++
.../org/apache/sis/gui/coverage/GridTileCache.java | 56 +
.../java/org/apache/sis/gui/coverage/GridView.java | 651 ++++++
.../org/apache/sis/gui/coverage/GridViewSkin.java | 605 ++++++
.../sis/gui/coverage/ImagePropertyExplorer.java | 826 ++++++++
.../org/apache/sis/gui/coverage/ImageRequest.java | 342 ++++
.../apache/sis/gui/coverage/IsolineRenderer.java | 498 +++++
.../org/apache/sis/gui/coverage/RenderingData.java | 621 ++++++
.../org/apache/sis/gui/coverage/Stretching.java | 79 +
.../org/apache/sis/gui/coverage/package-info.java | 26 +
.../org/apache/sis/gui/dataset/CopyAction.java | 137 ++
.../org/apache/sis/gui/dataset/DataWindow.java | 118 ++
.../org/apache/sis/gui/dataset/ExpandableList.java | 425 ++++
.../apache/sis/gui/dataset/ExpandedFeature.java | 222 ++
.../org/apache/sis/gui/dataset/FeatureList.java | 340 ++++
.../org/apache/sis/gui/dataset/FeatureLoader.java | 343 ++++
.../org/apache/sis/gui/dataset/FeatureTable.java | 559 +++--
.../java/org/apache/sis/gui/dataset/LoadEvent.java | 66 +
.../java/org/apache/sis/gui/dataset/LogViewer.java | 537 +++++
.../apache/sis/gui/dataset/ResourceExplorer.java | 570 ++++++
.../org/apache/sis/gui/dataset/ResourceTree.java | 881 ++++++--
.../org/apache/sis/gui/dataset/SelectedData.java | 122 ++
.../org/apache/sis/gui/dataset/WindowManager.java | 203 ++
.../org/apache/sis/gui/dataset/package-info.java | 31 +
.../java/org/apache/sis/gui/map/MapCanvas.java | 1205 +++++++++++
.../java/org/apache/sis/gui/map/MapCanvasAWT.java | 559 +++++
.../main/java/org/apache/sis/gui/map/MapMenu.java | 217 ++
.../org/apache/sis/gui/map/OperationFinder.java | 243 +++
.../java/org/apache/sis/gui/map/StatusBar.java | 1309 ++++++++++++
.../org/apache/sis/gui/map/ValuesUnderCursor.java | 622 ++++++
.../java/org/apache/sis/gui/map/package-info.java | 29 +
.../sis/gui/metadata/IdentificationInfo.java | 501 +++++
.../org/apache/sis/gui/metadata/MetadataNode.java | 228 ---
.../apache/sis/gui/metadata/MetadataOverview.java | 430 ----
.../apache/sis/gui/metadata/MetadataSummary.java | 399 ++++
.../org/apache/sis/gui/metadata/MetadataTree.java | 379 ++++
.../sis/gui/metadata/RepresentationInfo.java | 133 ++
.../org/apache/sis/gui/metadata/ResourceView.java | 399 ----
.../java/org/apache/sis/gui/metadata/Section.java | 292 +++
.../sis/gui/metadata/StandardMetadataTree.java | 242 +++
.../org/apache/sis/gui/metadata/package-info.java | 30 +
.../main/java/org/apache/sis/gui/package-info.java | 28 +
.../apache/sis/gui/referencing/AuthorityCodes.java | 525 +++++
.../org/apache/sis/gui/referencing/CRSButton.java | 79 -
.../org/apache/sis/gui/referencing/CRSChooser.java | 438 +++-
.../org/apache/sis/gui/referencing/CRSTable.java | 349 ----
.../java/org/apache/sis/gui/referencing/Code.java | 94 +-
.../org/apache/sis/gui/referencing/CodeFilter.java | 108 +
.../org/apache/sis/gui/referencing/MenuSync.java | 277 +++
.../sis/gui/referencing/ObjectStringConverter.java | 110 +
.../gui/referencing/PositionableProjection.java | 256 +++
.../gui/referencing/RecentReferenceSystems.java | 894 ++++++++
.../java/org/apache/sis/gui/referencing/Utils.java | 104 +
.../org/apache/sis/gui/referencing/WKTPane.java | 189 +-
.../apache/sis/gui/referencing/package-info.java | 27 +
.../apache/sis/internal/gui/BackgroundThreads.java | 150 ++
.../org/apache/sis/internal/gui/ColorName.java | 87 +
.../org/apache/sis/internal/gui/DataFormats.java | 47 +
.../apache/sis/internal/gui/ExceptionReporter.java | 338 ++++
.../org/apache/sis/internal/gui/FXUtilities.java | 91 -
.../org/apache/sis/internal/gui/FontGlyphs.java | 143 --
.../org/apache/sis/internal/gui/GUIUtilities.java | 335 +++
.../sis/internal/gui/IdentityValueFactory.java | 75 +
.../apache/sis/internal/gui/ImageConverter.java | 193 ++
.../sis/internal/gui/ImmutableObjectProperty.java | 115 ++
.../org/apache/sis/internal/gui/LogHandler.java | 261 +++
.../sis/internal/gui/NonNullObjectProperty.java | 55 +
.../org/apache/sis/internal/gui/PropertyView.java | 361 ++++
.../org/apache/sis/internal/gui/RecentChoices.java | 242 +++
.../apache/sis/internal/gui/ResourceLoader.java | 253 +++
.../org/apache/sis/internal/gui/Resources.java | 310 ++-
.../apache/sis/internal/gui/Resources.properties | 61 +-
.../sis/internal/gui/Resources_fr.properties | 61 +-
.../java/org/apache/sis/internal/gui/Styles.java | 217 ++
.../org/apache/sis/internal/gui/ToolbarButton.java | 122 ++
.../apache/sis/internal/gui/control/ColorCell.java | 457 +++++
.../internal/gui/control/ColorColumnHandler.java | 148 ++
.../apache/sis/internal/gui/control/ColorRamp.java | 234 +++
.../sis/internal/gui/control/FormatApplicator.java | 253 +++
.../sis/internal/gui/control/FormatTableCell.java | 261 +++
.../sis/internal/gui/control/ValueColorMapper.java | 558 +++++
.../sis/internal/gui/control/package-info.java | 31 +
.../org/apache/sis/internal/gui/package-info.java | 5 +-
.../org/apache/sis/internal/setup/FXFinder.java | 433 ++++
.../org/apache/sis/internal/setup/Inflater.java | 175 ++
.../sis/internal/setup/LoggingConfiguration.java | 94 +
.../java/org/apache/sis/internal/setup/Wizard.java | 757 +++++++
.../org/apache/sis/internal/setup/WizardPage.java | 114 ++
.../apache/sis/internal/setup/package-info.java | 29 +
.../resources/org/apache/sis/gui/SIS_128px.png | Bin 0 -> 26619 bytes
.../main/resources/org/apache/sis/gui/SIS_64px.png | Bin 0 -> 8906 bytes
.../org/apache/sis/gui/pseudo-classes.css | 6 +
.../org/apache/sis/gui/referencing/CRSChooser.fxml | 30 -
.../org/apache/sis/gui/referencing/proj_conic.png | Bin 591 -> 0 bytes
.../org/apache/sis/gui/referencing/proj_geo.png | Bin 834 -> 0 bytes
.../org/apache/sis/gui/referencing/proj_square.png | Bin 519 -> 0 bytes
.../org/apache/sis/gui/referencing/proj_stereo.png | Bin 959 -> 0 bytes
.../org/apache/sis/gui/referencing/proj_utm.png | Bin 681 -> 0 bytes
.../apache/sis/gui/coverage/CoverageCanvasApp.java | 129 ++
.../sis/gui/coverage/CoverageStylingApp.java | 85 +
.../org/apache/sis/gui/coverage/GridViewApp.java | 105 +
.../apache/sis/gui/referencing/CRSChooserApp.java | 92 +
.../apache/sis/internal/gui/GUIUtilitiesTest.java | 72 +
.../internal/gui/control/ValueColorMapperApp.java | 84 +
.../sis/test/suite/ApplicationTestSuite.java | 45 +
application/sis-openoffice/pom.xml | 2 +-
.../sis-openoffice/src/main/unopkg/license.txt | 2 +-
application/sis-webapp/pom.xml | 77 -
.../java/org/apache/sis/index/tree/GeoRSSData.java | 177 --
.../org/apache/sis/index/tree/QuadTreeReader.java | 163 --
.../org/apache/sis/services/LocationServlet.java | 479 -----
.../main/java/org/apache/sis/services/Servlet.java | 26 +
.../java/org/apache/sis/services/package-info.java | 21 +
.../src/main/resources/sis-location-config.xml | 28 -
.../src/main/webapp/META-INF/context.xml | 9 +-
.../sis-webapp/src/main/webapp/WEB-INF/web.xml | 20 +-
application/sis-webapp/src/main/webapp/demo.jsp | 321 ---
.../src/main/webapp/images/sis_logo_small.png | Bin 35560 -> 0 bytes
core/pom.xml | 12 +-
core/sis-build-helper/pom.xml | 4 +-
.../apache/sis/internal/book/CodeColorizer.java | 6 +-
.../util/resources/IndexedResourceCompiler.java | 8 +-
core/sis-cql/pom.xml | 2 +-
.../src/main/java/org/apache/sis/cql/CQL.java | 607 +++---
.../org/apache/sis/cql/FilterToCQLVisitor.java | 846 +++-----
.../test/java/org/apache/sis/cql/CQLTestCase.java | 22 +-
.../test/java/org/apache/sis/cql/CQLTestSuite.java | 4 +-
.../org/apache/sis/cql/ExpressionReadingTest.java | 127 +-
.../org/apache/sis/cql/ExpressionWritingTest.java | 71 +-
.../java/org/apache/sis/cql/FilterReadingTest.java | 768 ++-----
.../java/org/apache/sis/cql/FilterWritingTest.java | 125 +-
core/sis-feature/pom.xml | 8 +-
.../org/apache/sis/coverage/BandedCoverage.java | 149 ++
.../java/org/apache/sis/coverage/Category.java | 28 +
.../java/org/apache/sis/coverage/CategoryList.java | 197 +-
.../org/apache/sis/coverage/ConvertedCategory.java | 14 +-
.../org/apache/sis/coverage/SampleDimension.java | 119 +-
.../org/apache/sis/coverage/SampleRangeFormat.java | 2 +-
.../main/java/org/apache/sis/coverage/ToNaN.java | 2 +-
.../sis/coverage/grid/BufferedGridCoverage.java | 317 +++
.../sis/coverage/grid/ConvertedGridCoverage.java | 296 +++
.../coverage/grid/CoordinateOperationFinder.java | 754 +++++++
.../apache/sis/coverage/grid/DimensionReducer.java | 108 +
.../sis/coverage/grid/DisjointExtentException.java | 18 +-
.../apache/sis/coverage/grid/DomainLinearizer.java | 223 ++
.../coverage/grid/FractionalGridCoordinates.java | 501 +++++
.../apache/sis/coverage/grid/GridClippingMode.java | 51 +
.../sis/coverage/grid/GridCoordinatesView.java | 23 +-
.../org/apache/sis/coverage/grid/GridCoverage.java | 188 +-
.../apache/sis/coverage/grid/GridCoverage2D.java | 673 +++++++
.../sis/coverage/grid/GridCoverageBuilder.java | 566 ++++++
.../sis/coverage/grid/GridCoverageProcessor.java | 267 +++
.../apache/sis/coverage/grid/GridDerivation.java | 976 ++++++---
.../apache/sis/coverage/grid/GridEvaluator.java | 276 +++
.../org/apache/sis/coverage/grid/GridExtent.java | 597 ++++--
.../apache/sis/coverage/grid/GridExtentCRS.java | 191 ++
.../org/apache/sis/coverage/grid/GridGeometry.java | 583 ++++--
.../apache/sis/coverage/grid/GridOrientation.java | 312 +++
.../apache/sis/coverage/grid/GridRoundingMode.java | 27 +-
.../grid/IllegalGridGeometryException.java | 13 +-
.../apache/sis/coverage/grid/ImageRenderer.java | 464 ++++-
.../sis/coverage/grid/ResampledGridCoverage.java | 666 ++++++
.../apache/sis/coverage/grid/ReshapedImage.java | 303 +++
.../apache/sis/coverage/grid/SliceGeometry.java | 372 ++++
.../org/apache/sis/coverage/grid/package-info.java | 24 +-
.../org/apache/sis/feature/AbstractAttribute.java | 3 +-
.../org/apache/sis/feature/AbstractFeature.java | 39 +-
.../apache/sis/feature/AbstractIdentifiedType.java | 2 +-
.../apache/sis/feature/DefaultAttributeType.java | 2 +-
.../java/org/apache/sis/feature/DenseFeature.java | 25 +-
.../org/apache/sis/feature/EnvelopeOperation.java | 220 +-
.../java/org/apache/sis/feature/FeatureFormat.java | 10 +-
.../sis/feature/FeatureOperationException.java | 75 +
.../org/apache/sis/feature/FeatureOperations.java | 21 +-
.../main/java/org/apache/sis/feature/Features.java | 69 +-
.../sis/feature/InvalidFeatureException.java | 6 +-
.../java/org/apache/sis/feature/LinkOperation.java | 9 +-
.../apache/sis/feature/SingletonAssociation.java | 2 +-
.../org/apache/sis/feature/SingletonAttribute.java | 2 +-
.../java/org/apache/sis/feature/SparseFeature.java | 27 +-
.../apache/sis/feature/StringJoinOperation.java | 2 +-
.../sis/feature/builder/AttributeTypeBuilder.java | 31 +-
.../sis/feature/builder/FeatureTypeBuilder.java | 6 +-
.../apache/sis/feature/builder/package-info.java | 3 +-
.../java/org/apache/sis/feature/package-info.java | 2 +-
.../org/apache/sis/filter/ArithmeticFunction.java | 228 ++-
.../java/org/apache/sis/filter/BinaryFunction.java | 159 +-
.../apache/sis/filter/BinaryGeometryFilter.java | 251 +++
.../org/apache/sis/filter/BinarySpatialFilter.java | 166 ++
.../java/org/apache/sis/filter/Capabilities.java | 154 ++
.../org/apache/sis/filter/ComparisonFilter.java | 827 ++++++++
.../org/apache/sis/filter/ComparisonFunction.java | 718 -------
.../org/apache/sis/filter/ConvertFunction.java | 197 ++
.../apache/sis/filter/DefaultFilterFactory.java | 1331 ++++++------
.../org/apache/sis/filter/DefaultObjectId.java | 111 -
.../java/org/apache/sis/filter/DefaultSortBy.java | 102 -
.../org/apache/sis/filter/DefaultSortProperty.java | 166 ++
.../java/org/apache/sis/filter/DistanceFilter.java | 183 ++
.../org/apache/sis/filter/FilterByIdentifier.java | 136 --
.../java/org/apache/sis/filter/FilterNode.java | 90 +
.../org/apache/sis/filter/IdentifierFilter.java | 100 +
.../sis/filter/InvalidExpressionException.java | 92 -
.../java/org/apache/sis/filter/LeafExpression.java | 236 +--
.../java/org/apache/sis/filter/LikeFilter.java | 237 +++
.../java/org/apache/sis/filter/LogicalFilter.java | 319 +++
.../org/apache/sis/filter/LogicalFunction.java | 158 --
.../java/org/apache/sis/filter/NamedFunction.java | 210 --
.../src/main/java/org/apache/sis/filter/Node.java | 174 --
.../java/org/apache/sis/filter/Optimization.java | 490 +++++
.../java/org/apache/sis/filter/PropertyValue.java | 328 +++
.../src/main/java/org/apache/sis/filter/SQLMM.java | 91 -
.../main/java/org/apache/sis/filter/ST_Buffer.java | 99 -
.../java/org/apache/sis/filter/ST_Centroid.java | 96 -
.../java/org/apache/sis/filter/ST_Transform.java | 203 --
.../java/org/apache/sis/filter/TemporalFilter.java | 799 ++++++++
.../org/apache/sis/filter/TemporalFunction.java | 722 -------
.../java/org/apache/sis/filter/UnaryFunction.java | 147 +-
.../java/org/apache/sis/filter/package-info.java | 38 +-
.../java/org/apache/sis/image/AnnotatedImage.java | 539 +++++
.../java/org/apache/sis/image/BandSelectImage.java | 171 ++
.../java/org/apache/sis/image/BandedIterator.java | 444 ++++
.../apache/sis/image/BandedSampleConverter.java | 473 +++++
.../java/org/apache/sis/image/ComputedImage.java | 747 +++++++
.../java/org/apache/sis/image/ComputedTiles.java | 361 ++++
.../main/java/org/apache/sis/image/DataType.java | 257 +++
.../java/org/apache/sis/image/DefaultIterator.java | 655 ------
.../java/org/apache/sis/image/ErrorAction.java | 83 +
.../java/org/apache/sis/image/ErrorHandler.java | 216 ++
.../java/org/apache/sis/image/ImageAdapter.java | 174 ++
.../java/org/apache/sis/image/ImageCombiner.java | 278 +++
.../java/org/apache/sis/image/ImageProcessor.java | 1177 +++++++++++
.../java/org/apache/sis/image/Interpolation.java | 177 ++
.../org/apache/sis/image/LanczosInterpolation.java | 113 ++
.../java/org/apache/sis/image/LinearIterator.java | 124 --
.../main/java/org/apache/sis/image/MaskImage.java | 121 ++
.../java/org/apache/sis/image/PixelIterator.java | 942 ++++++++-
.../java/org/apache/sis/image/PlanarImage.java | 623 ++++++
.../sis/image/PositionalConsistencyImage.java | 144 ++
.../java/org/apache/sis/image/PrefetchedImage.java | 361 ++++
.../java/org/apache/sis/image/RecoloredImage.java | 301 +++
.../java/org/apache/sis/image/ResampledImage.java | 940 +++++++++
.../java/org/apache/sis/image/ResamplingGrid.java | 589 ++++++
.../org/apache/sis/image/SourceAlignedImage.java | 149 ++
.../org/apache/sis/image/StatisticsCalculator.java | 171 ++
.../main/java/org/apache/sis/image/TileCache.java | 170 ++
.../java/org/apache/sis/image/TransferType.java | 14 +-
.../main/java/org/apache/sis/image/Transferer.java | 603 ++++++
.../java/org/apache/sis/image/Visualization.java | 351 ++++
.../apache/sis/image/WritablePixelIterator.java | 100 +-
.../java/org/apache/sis/image/package-info.java | 3 +-
.../org/apache/sis/index/tree/NodeIterator.java | 443 ++++
.../java/org/apache/sis/index/tree/PointTree.java | 533 +++++
.../org/apache/sis/index/tree/PointTreeNode.java | 268 +++
.../org/apache/sis/index/tree/QuadTreeNode.java | 131 ++
.../org/apache/sis/index/tree/package-info.java | 31 +
.../internal/coverage/BufferedGridCoverage.java | 164 --
.../sis/internal/coverage/ColorModelFactory.java | 531 -----
.../sis/internal/coverage/ColorModelPatch.java | 121 --
.../sis/internal/coverage/CompoundTransform.java | 216 ++
.../internal/coverage/CompoundTransformOf1D.java | 173 ++
.../internal/coverage/ConvertedGridCoverage.java | 497 -----
.../coverage/MultiBandsIndexColorModel.java | 236 ---
.../sis/internal/coverage/RasterFactory.java | 227 ---
.../sis/internal/coverage/RepeatedTransform.java | 161 ++
.../sis/internal/coverage/ScaledColorSpace.java | 171 --
.../internal/coverage/j2d/ColorModelFactory.java | 652 ++++++
.../sis/internal/coverage/j2d/ColorModelPatch.java | 121 ++
.../sis/internal/coverage/j2d/ColorModelType.java | 100 +
.../sis/internal/coverage/j2d/Colorizer.java | 517 +++++
.../sis/internal/coverage/j2d/ColorsForRange.java | 171 ++
.../internal/coverage/j2d/DeferredProperty.java | 129 ++
.../sis/internal/coverage/j2d/ImageLayout.java | 335 +++
.../sis/internal/coverage/j2d/ImageUtilities.java | 610 ++++++
.../coverage/j2d/MultiBandsIndexColorModel.java | 281 +++
.../sis/internal/coverage/j2d/RasterFactory.java | 289 +++
.../internal/coverage/j2d/SampleModelFactory.java | 295 +++
.../internal/coverage/j2d/ScaledColorModel.java | 158 ++
.../internal/coverage/j2d/ScaledColorSpace.java | 230 +++
.../internal/coverage/j2d/TileErrorHandler.java | 123 ++
.../sis/internal/coverage/j2d/TileOpExecutor.java | 955 +++++++++
.../sis/internal/coverage/j2d/TiledImage.java | 265 +++
.../internal/coverage/j2d/WritableTiledImage.java | 220 ++
.../sis/internal/coverage/j2d/WriteSupport.java | 101 +
.../sis/internal/coverage/j2d/package-info.java | 34 +
.../apache/sis/internal/coverage/package-info.java | 8 +-
.../sis/internal/feature/AbstractGeometry.java | 41 +
.../sis/internal/feature/AttributeConvention.java | 78 +-
.../org/apache/sis/internal/feature/DateList.java | 69 -
.../java/org/apache/sis/internal/feature/ESRI.java | 230 ---
.../sis/internal/feature/FeatureExpression.java | 45 +-
.../sis/internal/feature/FeatureUtilities.java | 33 +-
.../sis/internal/feature/FunctionRegister.java | 68 -
.../apache/sis/internal/feature/Geometries.java | 690 +++----
.../sis/internal/feature/GeometryFactories.java | 73 +
.../apache/sis/internal/feature/GeometryType.java | 160 ++
.../sis/internal/feature/GeometryWithCRS.java | 98 +
.../sis/internal/feature/GeometryWrapper.java | 604 +++++-
.../apache/sis/internal/feature/InstantList.java | 83 +
.../java/org/apache/sis/internal/feature/JTS.java | 363 ----
.../org/apache/sis/internal/feature/Java2D.java | 259 ---
.../apache/sis/internal/feature/MovingFeature.java | 317 ---
.../sis/internal/feature/MovingFeatures.java | 136 ++
.../org/apache/sis/internal/feature/Resources.java | 256 ++-
.../sis/internal/feature/Resources.properties | 24 +-
.../sis/internal/feature/Resources_fr.properties | 27 +-
.../internal/feature/SpatialOperationContext.java | 454 +++++
.../apache/sis/internal/feature/esri/Factory.java | 193 ++
.../apache/sis/internal/feature/esri/Wrapper.java | 273 +++
.../sis/internal/feature/esri/package-info.java | 35 +
.../sis/internal/feature/j2d/EmptyShape.java | 64 +
.../apache/sis/internal/feature/j2d/Factory.java | 268 +++
.../apache/sis/internal/feature/j2d/FlatShape.java | 129 ++
.../sis/internal/feature/j2d/MultiPolylines.java | 181 ++
.../sis/internal/feature/j2d/PathBuilder.java | 268 +++
.../sis/internal/feature/j2d/PointWrapper.java | 145 ++
.../apache/sis/internal/feature/j2d/Polygon.java | 39 +
.../apache/sis/internal/feature/j2d/Polyline.java | 307 +++
.../sis/internal/feature/j2d/ShapeProperties.java | 26 +-
.../apache/sis/internal/feature/j2d/Wrapper.java | 218 ++
.../sis/internal/feature/j2d/package-info.java | 5 +-
.../apache/sis/internal/feature/jts/Factory.java | 395 ++++
.../sis/internal/feature/jts/FilteringContext.java | 89 +
.../org/apache/sis/internal/feature/jts/JTS.java | 140 +-
.../apache/sis/internal/feature/jts/Wrapper.java | 695 +++++++
.../apache/sis/internal/feature/package-info.java | 3 +-
.../apache/sis/internal/filter/FunctionNames.java | 92 +
.../sis/internal/filter/FunctionRegister.java | 70 +
.../sis/internal/filter/GeometryConverter.java | 176 ++
.../java/org/apache/sis/internal/filter/Node.java | 292 +++
.../sis/internal/filter/SortByComparator.java | 206 ++
.../org/apache/sis/internal/filter/Visitor.java | 348 ++++
.../apache/sis/internal/filter/package-info.java | 27 +
.../internal/filter/sqlmm/FunctionWithSRID.java | 222 ++
.../internal/filter/sqlmm/GeometryConstructor.java | 141 ++
.../sis/internal/filter/sqlmm/GeometryParser.java | 132 ++
.../sis/internal/filter/sqlmm/OneGeometry.java | 154 ++
.../apache/sis/internal/filter/sqlmm/Registry.java | 136 ++
.../apache/sis/internal/filter/sqlmm/SQLMM.java | 869 ++++++++
.../sis/internal/filter/sqlmm/ST_FromBinary.java | 86 +
.../sis/internal/filter/sqlmm/ST_FromText.java | 82 +
.../apache/sis/internal/filter/sqlmm/ST_Point.java | 258 +++
.../sis/internal/filter/sqlmm/ST_Transform.java | 135 ++
.../sis/internal/filter/sqlmm/SpatialFunction.java | 228 +++
.../sis/internal/filter/sqlmm/TwoGeometries.java | 201 ++
.../sis/internal/filter/sqlmm/package-info.java | 38 +
.../internal/processing/image/CompoundFuture.java | 202 ++
.../internal/processing/image/IsolineTracer.java | 1260 ++++++++++++
.../sis/internal/processing/image/Isolines.java | 506 +++++
.../internal/processing/image/TiledProcess.java | 394 ++++
.../internal/processing/image/package-info.java | 32 +
.../org/apache/sis/coverage/CategoryListTest.java | 102 +-
.../apache/sis/coverage/SampleDimensionTest.java | 65 +-
.../coverage/grid/BufferedGridCoverageTest.java | 128 ++
.../coverage/grid/ConvertedGridCoverageTest.java | 82 +
.../grid/FractionalGridCoordinatesTest.java | 101 +
.../sis/coverage/grid/GridCoverage2DTest.java | 306 +++
.../sis/coverage/grid/GridCoverageBuilderTest.java | 226 +++
.../sis/coverage/grid/GridDerivationTest.java | 386 +++-
.../apache/sis/coverage/grid/GridExtentTest.java | 186 +-
.../apache/sis/coverage/grid/GridGeometryTest.java | 267 ++-
.../sis/coverage/grid/GridOrientationTest.java | 75 +
.../sis/coverage/grid/PixelTranslationTest.java | 14 +-
.../coverage/grid/ResampledGridCoverageTest.java | 697 +++++++
.../sis/coverage/grid/ReshapedImageTest.java | 198 ++
.../apache/sis/feature/AbstractFeatureTest.java | 10 +-
.../apache/sis/feature/EnvelopeOperationTest.java | 294 ++-
.../apache/sis/feature/FeatureOperationsTest.java | 177 ++
.../feature/builder/AttributeTypeBuilderTest.java | 37 +-
.../apache/sis/filter/ArithmeticFunctionTest.java | 32 +-
.../sis/filter/BinarySpatialFilterTestCase.java | 350 ++++
.../filter/BinarySpatialFilterUsingJTS_Test.java | 38 +
.../org/apache/sis/filter/CapabilitiesTest.java | 71 +
.../apache/sis/filter/ComparisonFilterTest.java | 181 ++
.../apache/sis/filter/ComparisonFunctionTest.java | 151 --
.../org/apache/sis/filter/DefaultObjectIdTest.java | 100 -
.../apache/sis/filter/FilterByIdentifierTest.java | 92 -
.../apache/sis/filter/IdentifierFilterTest.java | 111 +
.../org/apache/sis/filter/LeafExpressionTest.java | 116 +-
.../java/org/apache/sis/filter/LikeFilterTest.java | 83 +
.../org/apache/sis/filter/LogicalFilterTest.java | 232 +++
.../org/apache/sis/filter/LogicalFunctionTest.java | 146 --
.../java/org/apache/sis/filter/PeriodLiteral.java | 24 +-
.../test/java/org/apache/sis/filter/SQLMMTest.java | 200 --
.../org/apache/sis/filter/TemporalFilterTest.java | 350 ++++
.../apache/sis/filter/TemporalFunctionTest.java | 341 ----
.../org/apache/sis/filter/UnaryFunctionTest.java | 76 -
.../org/apache/sis/image/BandSelectImageTest.java | 186 ++
.../org/apache/sis/image/BandedIteratorTest.java | 79 +
.../sis/image/BandedSampleConverterTest.java | 154 ++
.../org/apache/sis/image/ComputedImageTest.java | 212 ++
.../java/org/apache/sis/image/DataTypeTest.java | 99 +
.../org/apache/sis/image/DefaultIteratorTest.java | 1247 ------------
.../org/apache/sis/image/ImageCombinerTest.java | 217 ++
.../org/apache/sis/image/ImageProcessorTest.java | 60 +
.../java/org/apache/sis/image/ImageTestCase.java | 2 +-
.../org/apache/sis/image/InterpolationTest.java | 178 ++
.../org/apache/sis/image/LinearIteratorTest.java | 42 +-
.../org/apache/sis/image/PixelIteratorTest.java | 1392 +++++++++++++
.../java/org/apache/sis/image/PlanarImageTest.java | 99 +
.../org/apache/sis/image/ResampledImageTest.java | 359 ++++
.../org/apache/sis/image/ResamplingGridTest.java | 221 ++
.../apache/sis/image/StatisticsCalculatorTest.java | 151 ++
.../java/org/apache/sis/image/TiledImageMock.java | 321 ++-
.../apache/sis/index/tree/PointTreeNodeTest.java | 113 ++
.../org/apache/sis/index/tree/PointTreeTest.java | 184 ++
.../coverage/BufferedGridCoverageTest.java | 117 --
.../internal/coverage/ScaledColorSpaceTest.java | 104 -
.../sis/internal/coverage/j2d/ColorizerTest.java | 149 ++
.../sis/internal/coverage/j2d/ImageLayoutTest.java | 44 +
.../internal/coverage/j2d/ImageUtilitiesTest.java | 233 +++
.../coverage/j2d/SampleModelFactoryTest.java | 148 ++
.../coverage/j2d/ScaledColorSpaceTest.java | 104 +
.../org/apache/sis/internal/feature/ESRITest.java | 78 -
.../sis/internal/feature/GeometriesTestCase.java | 154 +-
.../sis/internal/feature/GeometryTypeTest.java | 54 +
.../org/apache/sis/internal/feature/JTSTest.java | 88 -
.../apache/sis/internal/feature/Java2DTest.java | 60 -
.../sis/internal/feature/esri/FactoryTest.java | 79 +
.../sis/internal/feature/j2d/FactoryTest.java | 61 +
.../sis/internal/feature/j2d/FlatShapeTest.java | 129 ++
.../sis/internal/feature/jts/FactoryTest.java | 89 +
.../apache/sis/internal/feature/jts/JTSTest.java | 9 +-
.../sis/internal/filter/FunctionNamesTest.java | 149 ++
.../internal/filter/sqlmm/RegistryTestCase.java | 497 +++++
.../filter/sqlmm/RegistryUsingJTS_Test.java | 38 +
.../sis/internal/filter/sqlmm/SQLMMTest.java | 46 +
.../internal/processing/image/IsolinesTest.java | 375 ++++
.../java/org/apache/sis/test/FeatureAssert.java | 204 ++
.../apache/sis/test/feature/FeatureComparator.java | 458 +++++
.../org/apache/sis/test/feature/package-info.java | 30 +
.../test/java/org/apache/sis/test/package-info.txt | 3 +
.../apache/sis/test/suite/FeatureTestSuite.java | 68 +-
core/sis-metadata/pom.xml | 10 +-
.../apache/sis/internal/jaxb/cat/CodeListUID.java | 94 +-
.../apache/sis/internal/jaxb/cat/package-info.java | 2 +-
.../sis/internal/jaxb/gco/GO_CharacterString.java | 2 +-
.../internal/jaxb/gco/ObjectIdentification.html | 2 +-
.../sis/internal/jaxb/gco/ObjectReference.java | 2 +-
.../apache/sis/internal/jaxb/gco/PropertyType.java | 6 +-
.../sis/internal/jaxb/gml/CodeListAdapter.java | 35 +-
.../apache/sis/internal/jaxb/gml/CodeListUID.java | 59 -
.../org/apache/sis/internal/jaxb/gml/Measure.java | 12 +-
.../apache/sis/internal/jaxb/gml/package-info.java | 2 +-
.../jaxb/lan/LocalisedCharacterString.java | 10 +-
.../apache/sis/internal/metadata/AxisNames.java | 23 +-
.../apache/sis/internal/metadata/Identifiers.java | 14 +-
.../apache/sis/internal/metadata/NameMeaning.java | 4 +-
.../apache/sis/internal/metadata/Resources.java | 2 -
.../apache/sis/internal/metadata/sql/Dialect.java | 42 +-
.../sis/internal/metadata/sql/Initializer.java | 283 +--
.../sis/internal/metadata/sql/LocalDataSource.java | 465 +++++
.../sis/internal/metadata/sql/SQLBuilder.java | 157 +-
.../sis/internal/metadata/sql/ScriptRunner.java | 14 +-
.../apache/sis/internal/metadata/sql/Syntax.java | 84 +
.../sis/internal/metadata/sql/package-info.java | 3 +-
.../java/org/apache/sis/internal/xml/Schemas.java | 100 -
.../org/apache/sis/internal/xml/package-info.java | 2 +-
.../org/apache/sis/metadata/AbstractMetadata.java | 2 +-
.../org/apache/sis/metadata/MetadataCopier.java | 2 +-
.../org/apache/sis/metadata/MetadataFormat.java | 2 +-
.../org/apache/sis/metadata/MetadataStandard.java | 2 +-
.../org/apache/sis/metadata/MetadataVisitor.java | 35 +-
.../apache/sis/metadata/ModifiableMetadata.java | 75 +-
.../org/apache/sis/metadata/PropertyAccessor.java | 2 +-
.../apache/sis/metadata/PropertyComparator.java | 4 +-
.../java/org/apache/sis/metadata/SpecialCases.java | 12 +-
.../java/org/apache/sis/metadata/StateChanger.java | 27 +-
.../org/apache/sis/metadata/TreeNodeChildren.java | 5 +-
.../apache/sis/metadata/iso/DefaultMetadata.java | 58 +-
.../org/apache/sis/metadata/iso/ISOMetadata.java | 8 +-
.../sis/metadata/iso/acquisition/package-info.java | 2 +-
.../sis/metadata/iso/citation/Citations.java | 43 +-
.../iso/citation/DefaultResponsibleParty.java | 109 +-
.../sis/metadata/iso/citation/package-info.java | 2 +-
.../iso/constraint/DefaultReleasability.java | 30 +-
.../sis/metadata/iso/constraint/package-info.java | 2 +-
.../iso/content/DefaultFeatureTypeInfo.java | 2 +-
.../iso/content/DefaultSampleDimension.java | 21 +-
.../sis/metadata/iso/content/package-info.java | 2 +-
.../metadata/iso/distribution/package-info.java | 2 +-
.../iso/extent/DefaultGeographicBoundingBox.java | 24 +-
.../apache/sis/metadata/iso/extent/Extents.java | 221 +-
.../sis/metadata/iso/extent/package-info.java | 2 +-
.../metadata/iso/identification/package-info.java | 2 +-
.../sis/metadata/iso/lineage/package-info.java | 2 +-
.../sis/metadata/iso/maintenance/package-info.java | 2 +-
.../org/apache/sis/metadata/iso/package-info.java | 2 +-
.../sis/metadata/iso/quality/package-info.java | 2 +-
.../sis/metadata/iso/spatial/package-info.java | 2 +-
.../apache/sis/metadata/sql/MetadataSource.java | 18 +-
.../apache/sis/metadata/sql/MetadataWriter.java | 44 +-
.../apache/sis/util/iso/DefaultNameFactory.java | 15 +-
.../org/apache/sis/util/iso/DefaultRecord.java | 48 +-
.../apache/sis/util/iso/DefaultRecordSchema.java | 24 +-
.../org/apache/sis/util/iso/DefaultRecordType.java | 131 +-
.../org/apache/sis/util/iso/DefaultScopedName.java | 9 +-
.../main/java/org/apache/sis/util/iso/Names.java | 2 +
.../org/apache/sis/util/iso/RecordDefinition.java | 56 +-
.../java/org/apache/sis/util/iso/package-info.java | 2 +-
.../java/org/apache/sis/xml/IdentifiedObject.java | 2 +-
.../src/main/java/org/apache/sis/xml/Pooled.java | 8 +-
.../java/org/apache/sis/xml/TransformVersion.java | 1 +
.../src/main/java/org/apache/sis/xml/XML.java | 57 +-
.../org/apache/sis/metadata/sql/Citations.sql | 20 +-
.../internal/jaxb/cat/CodeListMarshallingTest.java | 19 +-
.../apache/sis/internal/jaxb/gml/MeasureTest.java | 24 +-
.../sis/internal/jaxb/lan/LanguageCodeTest.java | 8 +-
.../sis/metadata/ModifiableMetadataTest.java | 42 +-
.../apache/sis/metadata/TreeNodeChildrenTest.java | 4 +-
.../org/apache/sis/metadata/TreeTableViewTest.java | 2 +-
.../iso/citation/DefaultResponsibilityTest.java | 4 +-
.../metadata/iso/citation/HardCodedCitations.java | 6 +-
.../constraint/DefaultLegalConstraintsTest.java | 2 +-
.../extent/DefaultGeographicBoundingBoxTest.java | 64 +-
.../sis/metadata/iso/extent/ExtentsTest.java | 6 +-
.../iso/identification/DefaultResolutionTest.java | 12 +-
.../sis/metadata/sql/MetadataWriterTest.java | 4 +-
.../java/org/apache/sis/test/sql/TestDatabase.java | 23 +-
.../java/org/apache/sis/test/sql/package-info.java | 3 +-
.../sis/test/xml/AnnotationConsistencyCheck.java | 6 +-
.../org/apache/sis/test/xml/PackageVerifier.java | 12 +-
.../org/apache/sis/test/xml/SchemaCompliance.java | 5 +-
.../java/org/apache/sis/test/xml/TestCase.java | 8 +-
.../java/org/apache/sis/test/xml/package-info.java | 2 +-
.../sis/util/iso/DefaultRecordSchemaTest.java | 18 +-
.../apache/sis/util/iso/DefaultRecordTypeTest.java | 46 +-
.../java/org/apache/sis/xml/NamespacesTest.java | 3 +-
.../org/apache/sis/metadata/xml/2007/Citation.xml | 12 +-
.../org/apache/sis/metadata/xml/2007/Extent.xml | 2 +-
.../org/apache/sis/metadata/xml/2007/Locales.xml | 26 +-
.../org/apache/sis/metadata/xml/2007/Metadata.xml | 88 +-
.../apache/sis/metadata/xml/2007/Multiplicity.xml | 2 +-
.../sis/metadata/xml/2007/PositionalAccuracy.xml | 4 +-
.../apache/sis/metadata/xml/2007/ProcessStep.xml | 2 +-
.../metadata/xml/2007/ServiceIdentification.xml | 4 +-
.../org/apache/sis/metadata/xml/2016/Citation.xml | 4 +-
.../org/apache/sis/metadata/xml/2016/Extent.xml | 2 +-
.../org/apache/sis/metadata/xml/2016/Locales.xml | 2 +-
.../org/apache/sis/metadata/xml/2016/Metadata.xml | 28 +-
.../apache/sis/metadata/xml/2016/Multiplicity.xml | 3 +-
.../sis/metadata/xml/2016/PositionalAccuracy.xml | 6 +-
.../apache/sis/metadata/xml/2016/ProcessStep.xml | 2 +-
.../metadata/xml/2016/ServiceIdentification.xml | 2 +-
core/sis-portrayal/pom.xml | 9 +-
.../sis/internal/map/ExceptionPresentation.java | 66 +
.../apache/sis/internal/map/ListChangeEvent.java | 98 +
.../org/apache/sis/internal/map/MapContext.java | 79 -
.../java/org/apache/sis/internal/map/MapGroup.java | 66 -
.../java/org/apache/sis/internal/map/MapItem.java | 88 -
.../java/org/apache/sis/internal/map/MapLayer.java | 104 -
.../org/apache/sis/internal/map/NotifiedList.java | 72 +
.../org/apache/sis/internal/map/Presentation.java | 146 ++
.../sis/internal/map/PropertyNameCollector.java | 60 +
.../sis/internal/map/ResourceSymbolizer.java | 37 +
.../org/apache/sis/internal/map/SEPortrayer.java | 755 +++++++
.../apache/sis/internal/map/SEPresentation.java | 85 +
.../apache/sis/internal/map/SymbologyVisitor.java | 394 ++++
.../org/apache/sis/internal/map/package-info.java | 9 +-
.../main/java/org/apache/sis/portrayal/Canvas.java | 1234 ++++++++++++
.../org/apache/sis/portrayal/CanvasContext.java | 222 ++
.../org/apache/sis/portrayal/CanvasExtent.java | 235 +++
.../java/org/apache/sis/portrayal/MapItem.java | 294 +++
.../java/org/apache/sis/portrayal/MapLayer.java | 264 +++
.../java/org/apache/sis/portrayal/MapLayers.java | 194 ++
.../java/org/apache/sis/portrayal/Observable.java | 162 ++
.../org/apache/sis/portrayal/PlanarCanvas.java | 189 ++
.../org/apache/sis/portrayal/RenderException.java | 61 +
.../org/apache/sis/portrayal/package-info.java | 32 +
.../sis/internal/map/MockFeatureTypeStyle.java | 104 +
.../sis/internal/map/MockLineSymbolizer.java | 113 ++
.../java/org/apache/sis/internal/map/MockRule.java | 131 ++
.../org/apache/sis/internal/map/MockStyle.java | 86 +
.../apache/sis/internal/map/SEPortrayerTest.java | 772 +++++++
.../org/apache/sis/portrayal/MapLayersTest.java | 99 +
.../apache/sis/test/suite/PortrayalTestSuite.java | 46 +
core/sis-referencing-by-identifiers/pom.xml | 4 +-
.../apache/sis/internal/gazetteer/Resources.java | 2 -
.../gazetteer/GeohashReferenceSystem.java | 2 +-
.../sis/referencing/gazetteer/LocationFormat.java | 2 +-
.../gazetteer/MilitaryGridReferenceSystem.java | 16 +-
.../sis/referencing/gazetteer/LocationViewer.java | 2 +-
.../gazetteer/MilitaryGridReferenceSystemTest.java | 2 +-
core/sis-referencing/pom.xml | 27 +-
.../sis/geometry/AbstractDirectPosition.java | 34 +-
.../org/apache/sis/geometry/AbstractEnvelope.java | 157 +-
.../org/apache/sis/geometry/ArrayEnvelope.java | 2 +-
.../org/apache/sis/geometry/CoordinateFormat.java | 1314 +++++++++---
.../java/org/apache/sis/geometry/Envelope2D.java | 116 +-
.../java/org/apache/sis/geometry/Envelopes.java | 490 +++--
.../apache/sis/geometry/GeneralDirectPosition.java | 2 +
.../org/apache/sis/geometry/GeneralEnvelope.java | 238 ++-
.../java/org/apache/sis/geometry/Shapes2D.java | 357 ++--
.../apache/sis/geometry/WraparoundInEnvelope.java | 235 +++
.../org/apache/sis/geometry/WraparoundMethod.java | 173 ++
.../java/org/apache/sis/geometry/package-info.java | 5 +-
.../apache/sis/internal/jaxb/referencing/Code.java | 2 +-
.../internal/jaxb/referencing/SC_SingleCRS.java | 2 +-
.../sis/internal/referencing/AnnotatedMatrix.java | 140 ++
.../sis/internal/referencing/AxisDirections.java | 38 +-
.../internal/referencing/CoordinateOperations.java | 22 +-
.../internal/referencing/DefinitionVerifier.java | 95 +-
.../internal/referencing/DirectPositionView.java | 25 -
.../referencing/EllipsoidalHeightCombiner.java | 6 +-
.../sis/internal/referencing/ExtentSelector.java | 419 +++-
.../apache/sis/internal/referencing/Formulas.java | 29 +-
.../referencing/GeodeticObjectBuilder.java | 11 +-
.../apache/sis/internal/referencing/LazySet.java | 5 +-
.../referencing/MathTransformsOrFactory.java | 141 ++
.../internal/referencing/PositionTransformer.java | 2 +-
.../referencing/PositionalAccuracyConstant.java | 40 +-
.../apache/sis/internal/referencing/RTreeNode.java | 357 ++++
.../internal/referencing/ReferencingUtilities.java | 80 +-
.../apache/sis/internal/referencing/Resources.java | 66 +-
.../sis/internal/referencing/Resources.properties | 14 +-
.../internal/referencing/Resources_fr.properties | 14 +-
.../internal/referencing/ServicesForMetadata.java | 49 +-
.../internal/referencing/SignReversalComment.java | 2 +-
.../sis/internal/referencing/TemporalAccessor.java | 51 +-
.../internal/referencing/VerticalDatumTypes.java | 2 +-
.../sis/internal/referencing/WKTKeywords.java | 84 +-
.../sis/internal/referencing/WKTUtilities.java | 70 +-
.../internal/referencing/WraparoundAdjustment.java | 36 +-
.../internal/referencing/WraparoundApplicator.java | 156 ++
.../sis/internal/referencing/j2d/Bezier.java | 2 +-
.../referencing/j2d/ImmutableAffineTransform.java | 2 +-
.../referencing/j2d/IntervalRectangle.java | 65 +-
.../apache/sis/internal/referencing/j2d/Tile.java | 683 +++++++
.../internal/referencing/j2d/TileOrganizer.java | 566 ++++++
.../sis/internal/referencing/j2d/package-info.java | 2 +-
.../sis/internal/referencing/package-info.java | 2 +-
.../referencing/provider/AbstractProvider.java | 31 +-
.../sis/internal/referencing/provider/Affine.java | 11 +-
.../referencing/provider/AlbersEqualArea.java | 2 +-
.../provider/AzimuthalEquidistantSpherical.java | 83 +
.../referencing/provider/CassiniSoldner.java | 176 ++
.../provider/DatumShiftGridCompressed.java | 58 +-
.../referencing/provider/DatumShiftGridFile.java | 415 +++-
.../referencing/provider/DatumShiftGridGroup.java | 306 +++
.../referencing/provider/DatumShiftGridLoader.java | 39 +-
.../provider/FranceGeocentricInterpolation.java | 20 +-
.../referencing/provider/GeocentricAffine.java | 19 +-
.../GeocentricAffineBetweenGeographic.java | 8 +-
.../provider/GeocentricToGeographic.java | 10 +-
.../referencing/provider/GeodeticOperation.java | 14 +-
.../referencing/provider/Geographic2Dto3D.java | 8 +
.../referencing/provider/Geographic3Dto2D.java | 22 +
.../provider/GeographicToGeocentric.java | 8 +-
.../provider/HyperbolicCassiniSoldner.java | 66 +
.../referencing/provider/Interpolation1D.java | 2 +-
.../provider/LambertConformalBelgium.java | 2 +-
.../referencing/provider/LambertConformalWest.java | 2 +-
.../provider/LambertCylindricalEqualArea.java | 24 +-
.../LambertCylindricalEqualAreaSpherical.java | 4 +-
.../referencing/provider/MapProjection.java | 10 +-
.../referencing/provider/MapProjection3D.java | 9 +
.../provider/ModifiedAzimuthalEquidistant.java | 167 ++
.../internal/referencing/provider/Mollweide.java | 2 +-
.../internal/referencing/provider/Molodensky.java | 5 +-
.../sis/internal/referencing/provider/NADCON.java | 7 +-
.../sis/internal/referencing/provider/NTv1.java | 90 +
.../sis/internal/referencing/provider/NTv2.java | 559 +++--
.../referencing/provider/Orthographic.java | 2 +-
.../referencing/provider/PolarStereographicA.java | 2 +-
.../internal/referencing/provider/Providers.java | 2 +
.../referencing/provider/SatelliteTracking.java | 2 +-
.../provider/TransverseMercatorSouth.java | 2 +-
.../internal/referencing/provider/Wraparound.java | 120 ++
.../provider/ZonedTransverseMercator.java | 2 +-
.../java/org/apache/sis/io/wkt/AbstractParser.java | 197 +-
.../main/java/org/apache/sis/io/wkt/Colors.java | 1 +
.../main/java/org/apache/sis/io/wkt/Element.java | 367 ++--
.../main/java/org/apache/sis/io/wkt/Formatter.java | 59 +-
.../apache/sis/io/wkt/GeodeticObjectParser.java | 51 +-
.../org/apache/sis/io/wkt/MathTransformParser.java | 4 +-
.../org/apache/sis/io/wkt/SingletonElement.java | 83 +
.../java/org/apache/sis/io/wkt/StoredTree.java | 590 ++++++
.../main/java/org/apache/sis/io/wkt/Symbols.java | 24 +-
.../java/org/apache/sis/io/wkt/Transliterator.java | 20 +-
.../java/org/apache/sis/io/wkt/WKTDictionary.java | 1131 +++++++++++
.../main/java/org/apache/sis/io/wkt/WKTFormat.java | 333 ++-
.../main/java/org/apache/sis/io/wkt/Warnings.java | 3 +-
.../java/org/apache/sis/io/wkt/doc-files/ESRI.txt | 92 +
.../java/org/apache/sis/io/wkt/package-info.java | 11 +-
.../sis/parameter/DefaultParameterValueGroup.java | 63 +-
.../sis/parameter/MapProjectionDescriptor.java | 7 +-
.../sis/parameter/MapProjectionParameters.java | 8 +-
.../org/apache/sis/parameter/ParameterFormat.java | 2 +-
.../apache/sis/parameter/ParameterValueList.java | 7 +-
.../java/org/apache/sis/parameter/Parameters.java | 19 +-
.../sis/parameter/UninitializedParameter.java | 4 +-
.../org/apache/sis/parameter/package-info.java | 2 +-
.../sis/referencing/AbstractIdentifiedObject.java | 2 +-
.../main/java/org/apache/sis/referencing/CRS.java | 47 +-
.../java/org/apache/sis/referencing/CommonCRS.java | 196 +-
.../referencing/EllipsoidalHeightSeparator.java | 66 +-
.../sis/referencing/GeodesicsOnEllipsoid.java | 59 +-
.../apache/sis/referencing/GeodeticCalculator.java | 152 +-
.../apache/sis/referencing/IdentifiedObjects.java | 230 ++-
.../org/apache/sis/referencing/Properties.java | 37 +-
.../sis/referencing/StandardDefinitions.java | 8 +-
.../apache/sis/referencing/crs/AbstractCRS.java | 21 +-
.../sis/referencing/crs/AbstractDerivedCRS.java | 11 +-
.../sis/referencing/crs/DefaultCompoundCRS.java | 2 +-
.../sis/referencing/crs/DefaultGeographicCRS.java | 3 +-
.../apache/sis/referencing/crs/package-info.java | 2 +-
.../org/apache/sis/referencing/cs/AbstractCS.java | 4 +-
.../apache/sis/referencing/cs/AxesConvention.java | 2 +-
.../org/apache/sis/referencing/cs/AxisFilter.java | 2 +-
.../sis/referencing/cs/CoordinateSystems.java | 54 +-
.../apache/sis/referencing/cs/package-info.java | 2 +-
.../sis/referencing/datum/BursaWolfParameters.java | 7 +-
.../sis/referencing/datum/DatumShiftGrid.java | 227 ++-
.../sis/referencing/datum/DefaultEllipsoid.java | 9 +-
.../referencing/datum/DefaultGeodeticDatum.java | 63 +-
.../referencing/datum/DefaultPrimeMeridian.java | 2 +-
.../sis/referencing/datum/TimeDependentBWP.java | 2 +-
.../factory/CommonAuthorityFactory.java | 40 +-
.../factory/ConcurrentAuthorityFactory.java | 80 +-
.../factory/GeodeticAuthorityFactory.java | 6 +-
.../referencing/factory/GeodeticObjectFactory.java | 9 +-
.../factory/IdentifiedObjectFinder.java | 28 +-
.../factory/MultiAuthoritiesFactory.java | 5 +-
.../sis/referencing/factory/ReferenceKeeper.java | 151 ++
.../sis/referencing/factory/package-info.java | 2 +-
.../referencing/factory/sql/EPSGDataAccess.java | 85 +-
.../factory/sql/InstallationScriptProvider.java | 2 +-
.../sis/referencing/factory/sql/SQLTranslator.java | 2 +-
.../sis/referencing/factory/sql/TableInfo.java | 4 +-
.../sis/referencing/factory/sql/package-info.java | 4 +-
.../operation/AbstractCoordinateOperation.java | 6 +-
.../operation/AbstractSingleOperation.java | 124 +-
.../apache/sis/referencing/operation/CRSPair.java | 15 +-
.../operation/CoordinateOperationContext.java | 34 +-
.../operation/CoordinateOperationFinder.java | 218 +-
.../operation/CoordinateOperationRegistry.java | 230 ++-
.../operation/DefaultConicProjection.java | 2 +-
.../referencing/operation/DefaultConversion.java | 6 +-
.../DefaultCoordinateOperationFactory.java | 11 +-
.../operation/DefaultCylindricalProjection.java | 2 +-
.../operation/DefaultOperationMethod.java | 39 +-
.../operation/DefaultPassThroughOperation.java | 2 +-
.../operation/DefaultPlanarProjection.java | 2 +-
.../operation/InverseOperationMethod.java | 60 +-
.../operation/LooselyDefinedMethod.java | 90 +
.../referencing/operation/SubOperationInfo.java | 349 +++-
.../operation/builder/LinearTransformBuilder.java | 365 +++-
.../referencing/operation/builder/Linearizer.java | 158 ++
.../operation/builder/LocalizationGridBuilder.java | 326 ++-
.../operation/builder/ProjectedTransformTry.java | 179 +-
.../operation/builder/ResidualGrid.java | 135 +-
.../operation/builder/package-info.java | 2 +-
.../sis/referencing/operation/builder/readme.html | 6 +-
.../operation/matrix/AffineTransforms2D.java | 64 +-
.../sis/referencing/operation/matrix/Matrices.java | 159 +-
.../sis/referencing/operation/matrix/Matrix1.java | 11 +-
.../sis/referencing/operation/matrix/Matrix2.java | 10 -
.../referencing/operation/matrix/MatrixSIS.java | 36 +-
.../sis/referencing/operation/matrix/Solver.java | 4 +-
.../referencing/operation/matrix/package-info.java | 2 +-
.../sis/referencing/operation/package-info.java | 2 +-
.../operation/projection/AlbersEqualArea.java | 43 +-
.../operation/projection/AzimuthalEquidistant.java | 239 +++
.../operation/projection/CassiniSoldner.java | 412 ++++
.../operation/projection/CylindricalEqualArea.java | 7 +-
.../operation/projection/Initializer.java | 42 +
.../referencing/operation/projection/Inverter.java | 4 +-
.../projection/LambertConicConformal.java | 38 +-
.../referencing/operation/projection/Mercator.java | 15 +-
.../projection/ModifiedAzimuthalEquidistant.java | 259 +++
.../operation/projection/Mollweide.java | 4 +-
.../operation/projection/NormalizedProjection.java | 158 +-
.../operation/projection/ObliqueMercator.java | 15 +-
.../operation/projection/ObliqueStereographic.java | 58 +-
.../operation/projection/Orthographic.java | 43 +-
.../operation/projection/PolarStereographic.java | 7 +-
.../operation/projection/Polyconic.java | 5 +-
.../operation/projection/SatelliteTracking.java | 38 +-
.../operation/projection/Sinusoidal.java | 4 +-
.../operation/projection/TransverseMercator.java | 169 +-
.../operation/projection/ZonedGridSystem.java | 2 +-
.../operation/projection/package-info.java | 2 +-
.../transform/AbstractLinearTransform.java | 44 +-
.../operation/transform/AbstractMathTransform.java | 2 +
.../operation/transform/CartesianToPolar.java | 4 +-
.../operation/transform/CartesianToSpherical.java | 4 +-
.../operation/transform/ConcatenatedTransform.java | 112 +-
.../transform/ConcatenatedTransformDirect.java | 4 +-
.../transform/ConcatenatedTransformDirect2D.java | 4 +-
.../operation/transform/ContextualParameter.java | 2 +-
.../transform/CoordinateSystemTransform.java | 49 +-
.../operation/transform/CopyTransform.java | 112 +-
.../operation/transform/DatumShiftTransform.java | 2 +
.../transform/DefaultMathTransformFactory.java | 227 ++-
.../operation/transform/IdentityTransform.java | 10 +-
.../operation/transform/InterpolatedTransform.java | 47 +-
.../operation/transform/LinearTransform.java | 5 +-
.../operation/transform/MathTransforms.java | 90 +-
.../transform/MathTransformsOrFactory.java | 129 --
.../operation/transform/MolodenskyFormula.java | 2 +-
.../operation/transform/PassThroughTransform.java | 1 +
.../operation/transform/PolarToCartesian.java | 4 +-
.../operation/transform/ProjectiveTransform.java | 59 +-
.../transform/SpecializableTransform.java | 330 ++-
.../operation/transform/SphericalToCartesian.java | 4 +-
.../operation/transform/TransferFunction.java | 4 +-
.../operation/transform/TransformAdapter2D.java | 101 +
.../operation/transform/TransformSeparator.java | 108 +-
.../operation/transform/TranslationTransform.java | 32 +-
.../operation/transform/WraparoundTransform.java | 669 ++++++
.../operation/transform/package-info.java | 2 +-
.../org/apache/sis/referencing/package-info.java | 4 +-
...g.opengis.referencing.operation.OperationMethod | 6 +
.../apache/sis/geometry/AbstractEnvelopeTest.java | 8 +-
.../org/apache/sis/geometry/ArrayEnvelopeTest.java | 3 +-
.../apache/sis/geometry/CoordinateFormatTest.java | 138 +-
.../org/apache/sis/geometry/Envelope2DTest.java | 2 +-
.../org/apache/sis/geometry/EnvelopesTest.java | 21 +-
.../sis/geometry/GeneralDirectPositionTest.java | 2 +-
.../apache/sis/geometry/GeneralEnvelopeTest.java | 64 +-
.../apache/sis/geometry/ImmutableEnvelopeTest.java | 2 +-
.../java/org/apache/sis/geometry/Shapes2DTest.java | 2 +-
.../org/apache/sis/geometry/SubEnvelopeTest.java | 2 +-
.../org/apache/sis/geometry/TransformTestCase.java | 44 +-
.../sis/internal/jaxb/referencing/CodeTest.java | 2 +-
.../internal/referencing/AxisDirectionsTest.java | 38 +-
.../referencing/DefinitionVerifierTest.java | 24 +-
.../referencing/EllipsoidalHeightCombinerTest.java | 2 +-
.../internal/referencing/ExtentSelectorTest.java | 147 ++
.../sis/internal/referencing/FormulasTest.java | 18 +-
.../referencing/ReferencingUtilitiesTest.java | 2 +-
.../referencing/ServicesForMetadataTest.java | 4 +-
.../sis/internal/referencing/WKTKeywordsTest.java | 41 +-
.../sis/internal/referencing/WKTUtilitiesTest.java | 14 +-
.../FranceGeocentricInterpolationTest.java | 8 +-
.../provider/GeographicOffsetsTest.java | 8 +-
.../internal/referencing/provider/NADCONTest.java | 20 +-
.../internal/referencing/provider/NTv2Test.java | 117 +-
.../referencing/provider/ProviderMock.java | 4 +-
.../referencing/provider/ProvidersTest.java | 8 +-
.../java/org/apache/sis/io/wkt/ElementTest.java | 31 +-
.../sis/io/wkt/GeodeticObjectParserTest.java | 4 +-
.../apache/sis/io/wkt/MathTransformParserTest.java | 4 +-
.../java/org/apache/sis/io/wkt/SymbolsTest.java | 12 +-
.../org/apache/sis/io/wkt/WKTDictionaryTest.java | 401 ++++
.../java/org/apache/sis/io/wkt/WKTFormatTest.java | 3 +-
.../sis/parameter/DefaultParameterValueTest.java | 2 +-
.../sis/parameter/ParameterValueGroupWrapper.java | 3 +-
.../java/org/apache/sis/referencing/CRSTest.java | 30 +-
.../org/apache/sis/referencing/CommonCRSTest.java | 23 +-
.../sis/referencing/GeodesicsOnEllipsoidTest.java | 91 +-
.../sis/referencing/GeodeticCalculatorTest.java | 159 +-
.../sis/referencing/IdentifiedObjectsTest.java | 4 +-
.../referencing/crs/DefaultCompoundCRSTest.java | 2 +-
.../sis/referencing/crs/DefaultDerivedCRSTest.java | 2 +-
.../apache/sis/referencing/crs/HardCodedCRS.java | 91 +-
.../sis/referencing/crs/HardCodedCRSTest.java | 20 +-
.../sis/referencing/cs/CoordinateSystemsTest.java | 15 +-
.../apache/sis/referencing/cs/HardCodedAxes.java | 13 +-
.../org/apache/sis/referencing/cs/HardCodedCS.java | 9 +-
.../datum/DefaultGeodeticDatumTest.java | 44 +-
.../datum/DefaultPrimeMeridianTest.java | 2 -
.../sis/referencing/datum/GeodeticDatumMock.java | 8 +-
.../sis/referencing/datum/HardCodedDatum.java | 8 +-
.../referencing/factory/AuthorityFactoryMock.java | 2 +-
.../factory/CommonAuthorityFactoryTest.java | 1 -
.../apache/sis/referencing/factory/GIGS2004.java | 2 +-
.../factory/MultiAuthoritiesFactoryTest.java | 40 +-
.../referencing/factory/sql/EPSGInstallerTest.java | 2 +-
.../factory/sql/epsg/DataScriptFormatter.java | 2 +-
.../sis/referencing/factory/sql/epsg/package.html | 8 +-
.../referencing/geoapi/AuthorityFactoryTest.java | 72 +
.../geoapi/ParameterizedTransformTest.java | 87 +
.../operation/AbstractSingleOperationTest.java | 82 -
.../operation/CoordinateOperationFinderTest.java | 134 +-
.../operation/DefaultTransformationTest.java | 1 -
.../operation/HardCodedConversions.java | 109 +-
.../builder/LinearTransformBuilderTest.java | 44 +-
.../operation/builder/LinearizerTest.java | 73 +
.../operation/builder/ResidualGridTest.java | 8 +-
.../operation/matrix/AffineTransforms2DTest.java | 2 +-
.../referencing/operation/matrix/MatricesTest.java | 38 +-
.../operation/matrix/MatrixTestCase.java | 31 +-
.../operation/projection/AlbersEqualAreaTest.java | 50 +-
.../projection/AzimuthalEquidistantTest.java | 191 ++
.../operation/projection/CassiniSoldnerTest.java | 215 ++
.../operation/projection/InitializerTest.java | 10 +-
.../projection/LambertConicConformalTest.java | 9 +-
.../projection/MapProjectionTestCase.java | 45 +-
.../ModifiedAzimuthalEquidistantTest.java | 95 +
.../sis/referencing/operation/projection/NoOp.java | 2 +-
.../projection/ObliqueStereographicTest.java | 27 +-
.../projection/TransverseMercatorTest.java | 71 +-
.../doc-files/TransverseMercatorErrors.png | Bin 0 -> 7954 bytes
.../transform/ConcatenatedTransformTest.java | 71 +-
.../transform/CoordinateSystemTransformTest.java | 69 +-
.../transform/DefaultMathTransformFactoryTest.java | 96 +-
.../transform/InterpolatedTransformTest.java | 2 +-
.../transform/MathTransformFactoryMock.java | 2 +-
.../operation/transform/MathTransformTestCase.java | 2 +-
.../operation/transform/MathTransformWrapper.java | 14 +-
.../operation/transform/MathTransformsTest.java | 34 +-
.../transform/ProjectiveTransformTest.java | 63 +-
.../transform/TransformResultComparator.java | 4 +-
.../transform/TransformSeparatorTest.java | 65 +-
.../transform/WraparoundTransformTest.java | 182 ++
.../report/CoordinateOperationMethods.java | 2 +-
.../sis/test/suite/ReferencingTestSuite.java | 12 +-
.../resources/org/apache/sis/io/wkt/ExtraCRS.txt | 81 +
.../resources/org/apache/sis/io/wkt/Malformed.txt | 13 +
.../integration/Metadata with vertical CRS.xml | 14 +-
.../org/apache/sis/test/integration/Metadata.xml | 42 +-
core/sis-utility/pom.xml | 10 +-
.../sis/internal/converter/DateConverter.java | 2 +-
.../sis/internal/converter/StringConverter.java | 2 +-
.../java/org/apache/sis/internal/jdk9/JDK9.java | 225 ++-
.../apache/sis/internal/system/CommonExecutor.java | 133 ++
.../apache/sis/internal/system/DataDirectory.java | 8 +-
.../sis/internal/system/DelayedExecutor.java | 3 +-
.../sis/internal/system/DelayedRunnable.java | 8 +-
.../org/apache/sis/internal/system/Modules.java | 17 +-
.../org/apache/sis/internal/system/Shutdown.java | 5 +-
.../org/apache/sis/internal/system/Threads.java | 6 +-
.../apache/sis/internal/system/package-info.java | 2 +-
.../sis/internal/util/AutoMessageFormat.java | 2 +-
.../apache/sis/internal/util/CheckedArrayList.java | 2 +-
.../java/org/apache/sis/internal/util/Cloner.java | 76 +-
.../apache/sis/internal/util/CollectionsExt.java | 31 +-
.../org/apache/sis/internal/util/Constants.java | 12 +-
.../apache/sis/internal/util/DefinitionURI.java | 8 +-
.../org/apache/sis/internal/util/DoubleDouble.java | 13 +-
.../org/apache/sis/internal/util/Numerics.java | 101 +-
.../apache/sis/internal/util/PropertyFormat.java | 216 ++
.../sis/internal/util/StandardDateFormat.java | 89 +-
.../java/org/apache/sis/internal/util/Strings.java | 68 +-
.../java/org/apache/sis/internal/util/X364.java | 2 +-
.../java/org/apache/sis/internal/util/XPaths.java | 4 +-
.../org/apache/sis/internal/util/package-info.java | 2 +-
.../main/java/org/apache/sis/io/ClassFormat.java | 2 +-
.../java/org/apache/sis/io/CompoundFormat.java | 42 +-
.../src/main/java/org/apache/sis/io/IO.java | 2 +-
.../org/apache/sis/io/IdentifiedObjectFormat.java | 2 +-
.../main/java/org/apache/sis/io/TableAppender.java | 12 +-
.../main/java/org/apache/sis/io/package-info.java | 4 +-
.../main/java/org/apache/sis/math/ArrayVector.java | 207 +-
.../org/apache/sis/math/ConcatenatedVector.java | 23 +-
.../main/java/org/apache/sis/math/Fraction.java | 16 +-
.../org/apache/sis/math/LinearlyDerivedVector.java | 51 +-
.../java/org/apache/sis/math/MathFunctions.java | 41 +-
.../java/org/apache/sis/math/PackedVector.java | 25 +-
.../java/org/apache/sis/math/RepeatedVector.java | 28 +-
.../java/org/apache/sis/math/SequenceVector.java | 10 +-
.../main/java/org/apache/sis/math/Statistics.java | 4 +-
.../java/org/apache/sis/math/StatisticsFormat.java | 3 +-
.../src/main/java/org/apache/sis/math/Vector.java | 65 +-
.../java/org/apache/sis/measure/AngleFormat.java | 38 +-
.../sis/measure/FormattedCharacterIterator.java | 2 +-
.../java/org/apache/sis/measure/Longitude.java | 29 +-
.../java/org/apache/sis/measure/NumberRange.java | 93 +-
.../java/org/apache/sis/measure/Quantities.java | 76 +-
.../org/apache/sis/measure/QuantityFormat.java | 146 ++
.../main/java/org/apache/sis/measure/Range.java | 6 +-
.../java/org/apache/sis/measure/RangeFormat.java | 50 +-
.../main/java/org/apache/sis/measure/Scalar.java | 7 +-
.../java/org/apache/sis/measure/UnitDimension.java | 2 +-
.../java/org/apache/sis/measure/UnitFormat.java | 6 +-
.../main/java/org/apache/sis/measure/Units.java | 5 +-
.../java/org/apache/sis/measure/package-info.java | 2 +-
.../src/main/java/org/apache/sis/setup/About.java | 53 +-
.../java/org/apache/sis/setup/Configuration.java | 40 +-
.../apache/sis/setup/InstallationResources.java | 6 +-
.../java/org/apache/sis/util/ArgumentChecks.java | 103 +-
.../main/java/org/apache/sis/util/ArraysExt.java | 22 +-
.../java/org/apache/sis/util/CharSequences.java | 188 +-
.../main/java/org/apache/sis/util/Characters.java | 12 +-
.../src/main/java/org/apache/sis/util/Classes.java | 43 +-
.../main/java/org/apache/sis/util/Exceptions.java | 19 +-
.../src/main/java/org/apache/sis/util/Locales.java | 2 +-
.../src/main/java/org/apache/sis/util/Numbers.java | 54 +-
.../main/java/org/apache/sis/util/Workaround.java | 8 +
.../sis/util/collection/BackingStoreException.java | 22 +-
.../java/org/apache/sis/util/collection/Cache.java | 36 +-
.../org/apache/sis/util/collection/Containers.java | 2 +-
.../sis/util/collection/FrequencySortedSet.java | 3 +
.../apache/sis/util/collection/IntegerList.java | 38 +-
.../org/apache/sis/util/collection/TreeTable.java | 2 +-
.../sis/util/collection/TreeTableFormat.java | 211 +-
.../apache/sis/util/collection/WeakHashSet.java | 12 +-
.../sis/util/collection/WeakValueHashMap.java | 13 +-
.../apache/sis/util/collection/package-info.java | 2 +-
.../org/apache/sis/util/logging/LoggerAdapter.java | 2 +-
.../java/org/apache/sis/util/logging/Logging.java | 4 +-
.../apache/sis/util/logging/MonolineFormatter.java | 18 +-
.../apache/sis/util/logging/PerformanceLevel.java | 90 +-
.../java/org/apache/sis/util/package-info.java | 5 +-
.../java/org/apache/sis/util/resources/Errors.java | 42 +-
.../apache/sis/util/resources/Errors.properties | 7 +-
.../apache/sis/util/resources/Errors_fr.properties | 15 +-
.../sis/util/resources/IndexedResourceBundle.java | 37 +-
.../org/apache/sis/util/resources/Messages.java | 2 -
.../org/apache/sis/util/resources/Vocabulary.java | 787 ++++++--
.../sis/util/resources/Vocabulary.properties | 105 +-
.../sis/util/resources/Vocabulary_fr.properties | 107 +-
.../apache/sis/util/resources/package-info.java | 2 +-
.../sis/internal/util/DefinitionURITest.java | 1 +
.../apache/sis/internal/util/DoubleDoubleTest.java | 9 +-
.../org/apache/sis/internal/util/NumericsTest.java | 26 +-
.../sis/internal/util/StandardDateFormatTest.java | 4 +-
.../org/apache/sis/internal/util/StringsTest.java | 8 +-
.../org/apache/sis/internal/util/XPathsTest.java | 7 +-
.../org/apache/sis/math/MathFunctionsTest.java | 15 +-
.../java/org/apache/sis/math/StatisticsTest.java | 2 +-
.../test/java/org/apache/sis/math/VectorTest.java | 12 +-
.../org/apache/sis/measure/AngleFormatTest.java | 14 +-
.../java/org/apache/sis/measure/AngleTest.java | 51 +-
.../measure/FormattedCharacterIteratorTest.java | 2 +-
.../org/apache/sis/measure/NumberRangeTest.java | 19 +-
.../org/apache/sis/measure/QuantitiesTest.java | 16 +-
.../org/apache/sis/measure/RangeFormatTest.java | 51 +-
.../java/org/apache/sis/measure/RangeTest.java | 22 +-
.../java/org/apache/sis/measure/ScalarTest.java | 10 +-
.../org/apache/sis/measure/UnitFormatTest.java | 2 +-
.../java/org/apache/sis/measure/UnitsTest.java | 2 +-
.../src/test/java/org/apache/sis/test/Assert.java | 1 +
.../src/test/java/org/apache/sis/test/Assume.java | 2 +-
.../java/org/apache/sis/test/LoggingWatcher.java | 6 +-
.../java/org/apache/sis/test/OptionalTestData.java | 37 +-
.../test/java/org/apache/sis/test/TestCase.java | 2 +-
.../java/org/apache/sis/test/TestUtilities.java | 2 +-
.../org/apache/sis/util/CharSequencesTest.java | 26 +-
.../java/org/apache/sis/util/CharactersTest.java | 27 +-
.../test/java/org/apache/sis/util/ClassesTest.java | 34 +-
.../test/java/org/apache/sis/util/NumbersTest.java | 68 +-
.../org/apache/sis/util/collection/CacheTest.java | 2 +-
.../apache/sis/util/collection/RangeSetTest.java | 2 +-
.../sis/util/logging/PerformanceLevelTest.java | 46 +-
ide-project/NetBeans/build.xml | 17 +
ide-project/NetBeans/nbproject/build-impl.xml | 78 +-
ide-project/NetBeans/nbproject/build-impl.xml~ | 2131 ++++++++++++++++++++
ide-project/NetBeans/nbproject/genfiles.properties | 6 +-
ide-project/NetBeans/nbproject/project.properties | 64 +-
ide-project/NetBeans/nbproject/project.xml | 5 +
pom.xml | 139 +-
profiles/pom.xml | 6 +-
profiles/sis-french-profile/pom.xml | 6 +-
.../sis/internal/profile/fra/package-info.java | 6 +-
.../internal/profile/fra/DirectReferenceSystem.xml | 6 +-
profiles/sis-japan-profile/pom.xml | 10 +-
.../sis/internal/earth/netcdf/FactoryForUCAR.java | 123 ++
.../apache/sis/internal/earth/netcdf/GCOM_C.java | 70 +-
.../apache/sis/internal/earth/netcdf/GCOM_W.java | 83 +-
.../ucar.nc2.dataset.spi.CoordSystemBuilderFactory | 1 +
src/main/javadoc/overview.html | 4 +-
src/main/javadoc/sis.css | 7 +-
storage/pom.xml | 8 +-
storage/sis-earth-observation/pom.xml | 13 +-
.../storage/earthobservation/LandsatAggregate.java | 138 ++
.../sis/storage/earthobservation/LandsatBand.java | 73 +
.../storage/earthobservation/LandsatBandGroup.java | 72 +
.../storage/earthobservation/LandsatReader.java | 450 ++---
.../storage/earthobservation/LandsatResource.java | 226 +++
.../sis/storage/earthobservation/LandsatStore.java | 149 +-
.../earthobservation/LandsatStoreProvider.java | 37 +-
.../doc-files/LandsatMetadata.html | 47 +-
.../sis/storage/earthobservation/package-info.java | 3 +-
.../earthobservation/LandsatReaderTest.java | 92 +-
storage/sis-gdal/pom.xml | 4 +-
.../org/apache/sis/storage/gdal/Proj4Test.java | 2 +-
.../org/apache/sis/storage/gdal/TransformTest.java | 1 -
storage/sis-geotiff/pom.xml | 15 +-
.../apache/sis/internal/geotiff/Compression.java | 162 ++
.../org/apache/sis/internal/geotiff/Predictor.java | 65 +
.../org/apache/sis/internal/geotiff/Resources.java | 27 +-
.../sis/internal/geotiff/Resources.properties | 5 +
.../sis/internal/geotiff/Resources_fr.properties | 7 +-
.../sis/internal/geotiff/SchemaModifier.java | 119 ++
.../apache/sis/internal/geotiff/package-info.java | 2 +-
.../sis/internal/storage/inflater/CCITTRLE.java | 273 +++
.../storage/inflater/CompressionChannel.java | 131 ++
.../internal/storage/inflater/CopyFromBytes.java | 416 ++++
.../storage/inflater/HorizontalPredictor.java | 517 +++++
.../sis/internal/storage/inflater/Inflater.java | 319 +++
.../apache/sis/internal/storage/inflater/LZW.java | 261 +++
.../sis/internal/storage/inflater/PackBits.java | 143 ++
.../internal/storage/inflater/PixelChannel.java | 55 +
.../storage/inflater/PredictorChannel.java | 130 ++
.../apache/sis/internal/storage/inflater/ZIP.java | 136 ++
.../internal/storage/inflater/package-info.java | 49 +
.../org/apache/sis/storage/geotiff/CRSBuilder.java | 13 +-
.../sis/storage/geotiff/CompressedSubset.java | 278 +++
.../apache/sis/storage/geotiff/Compression.java | 154 --
.../org/apache/sis/storage/geotiff/DataCube.java | 214 ++
.../org/apache/sis/storage/geotiff/DataSubset.java | 486 +++++
.../org/apache/sis/storage/geotiff/GeoTIFF.java | 12 +-
.../apache/sis/storage/geotiff/GeoTiffStore.java | 159 +-
.../sis/storage/geotiff/GridGeometryBuilder.java | 19 +-
.../sis/storage/geotiff/ImageFileDirectory.java | 673 +++++--
.../org/apache/sis/storage/geotiff/Reader.java | 27 +-
.../sis/storage/geotiff/ReversedBitsChannel.java | 163 ++
.../java/org/apache/sis/storage/geotiff/Tags.java | 2 +
.../apache/sis/storage/geotiff/package-info.java | 11 +-
.../sis/internal/geotiff/CompressionTest.java | 43 +
.../internal/storage/inflater/CCITTRLETest.java | 576 ++++++
.../internal/storage/inflater/InflaterTest.java | 64 +
.../sis/storage/geotiff/CompressionTest.java | 43 -
.../sis/storage/geotiff/SelfConsistencyTest.java | 85 +
.../apache/sis/test/suite/GeoTiffTestSuite.java | 9 +-
storage/sis-netcdf/pom.xml | 18 +-
.../java/org/apache/sis/internal/netcdf/Axis.java | 247 ++-
.../org/apache/sis/internal/netcdf/AxisType.java | 179 ++
.../org/apache/sis/internal/netcdf/CRSBuilder.java | 215 +-
.../org/apache/sis/internal/netcdf/Convention.java | 87 +-
.../org/apache/sis/internal/netcdf/DataType.java | 72 +-
.../org/apache/sis/internal/netcdf/Decoder.java | 112 +-
.../sis/internal/netcdf/DiscreteSampling.java | 12 +-
.../org/apache/sis/internal/netcdf/FeatureSet.java | 950 +++++++++
.../java/org/apache/sis/internal/netcdf/Grid.java | 152 +-
.../apache/sis/internal/netcdf/GridAdjustment.java | 207 ++
.../apache/sis/internal/netcdf/GridCacheKey.java | 36 +-
.../apache/sis/internal/netcdf/GridCacheValue.java | 82 +
.../apache/sis/internal/netcdf/GridMapping.java | 62 +-
.../java/org/apache/sis/internal/netcdf/HYCOM.java | 129 ++
.../org/apache/sis/internal/netcdf/Linearizer.java | 297 ++-
.../java/org/apache/sis/internal/netcdf/Node.java | 38 +-
.../org/apache/sis/internal/netcdf/Raster.java | 8 +-
.../apache/sis/internal/netcdf/RasterResource.java | 155 +-
.../org/apache/sis/internal/netcdf/Resources.java | 37 +-
.../sis/internal/netcdf/Resources.properties | 8 +-
.../sis/internal/netcdf/Resources_fr.properties | 16 +-
.../sis/internal/netcdf/SatelliteGroundTrack.java | 246 ---
.../org/apache/sis/internal/netcdf/Variable.java | 633 ++++--
.../apache/sis/internal/netcdf/VariableRole.java | 13 +-
.../sis/internal/netcdf/impl/ChannelDecoder.java | 147 +-
.../sis/internal/netcdf/impl/FeaturesInfo.java | 426 ----
.../apache/sis/internal/netcdf/impl/GridInfo.java | 111 +-
.../org/apache/sis/internal/netcdf/impl/HYCOM.java | 128 --
.../sis/internal/netcdf/impl/VariableInfo.java | 423 ++--
.../sis/internal/netcdf/impl/package-info.java | 4 +-
.../internal/netcdf/ucar/CSBuilderFallback.java | 93 -
.../sis/internal/netcdf/ucar/DecoderWrapper.java | 219 +-
.../sis/internal/netcdf/ucar/DimensionWrapper.java | 7 +-
.../sis/internal/netcdf/ucar/FeaturesWrapper.java | 17 +-
.../sis/internal/netcdf/ucar/GridWrapper.java | 72 +-
.../sis/internal/netcdf/ucar/GroupWrapper.java | 8 +-
.../org/apache/sis/internal/netcdf/ucar/Utils.java | 4 +-
.../sis/internal/netcdf/ucar/VariableWrapper.java | 267 ++-
.../sis/internal/netcdf/ucar/package-info.java | 4 +-
.../apache/sis/storage/netcdf/AttributeNames.java | 1 -
.../apache/sis/storage/netcdf/MetadataReader.java | 30 +-
.../org/apache/sis/storage/netcdf/NetcdfStore.java | 31 +-
.../sis/storage/netcdf/NetcdfStoreProvider.java | 55 +-
.../apache/sis/storage/netcdf/package-info.java | 16 +-
.../apache/sis/internal/netcdf/DataTypeTest.java | 42 +-
.../apache/sis/internal/netcdf/FeatureSetTest.java | 200 ++
.../org/apache/sis/internal/netcdf/GridTest.java | 45 +-
.../internal/netcdf/SatelliteGroundTrackTest.java | 81 -
.../apache/sis/internal/netcdf/VariableTest.java | 28 +-
.../sis/internal/netcdf/impl/FeatureSetTest.java | 47 +
.../sis/internal/netcdf/impl/GridInfoTest.java | 9 +-
.../sis/internal/netcdf/impl/VariableInfoTest.java | 3 +-
.../sis/storage/netcdf/MetadataReaderTest.java | 16 +-
.../apache/sis/storage/netcdf/NetcdfStoreTest.java | 4 +-
.../sis/storage/netcdf/SelfConsistencyTest.java | 86 +
.../org/apache/sis/test/suite/NetcdfTestSuite.java | 8 +-
.../apache/sis/internal/shapefile/AutoChecker.java | 3 +-
.../internal/shapefile/ShapefileByteReader.java | 3 +-
.../sis/storage/shapefile/InputFeatureStream.java | 3 +-
.../apache/sis/storage/shapefile/cpg/CpgFiles.java | 79 +
storage/sis-sqlstore/pom.xml | 12 +
.../apache/sis/internal/sql/feature/Analyzer.java | 633 +++++-
.../apache/sis/internal/sql/feature/Column.java | 241 +++
.../apache/sis/internal/sql/feature/Database.java | 437 +++-
.../sis/internal/sql/feature/EWKBReader.java | 207 ++
.../sis/internal/sql/feature/FeatureAdapter.java | 374 ++++
.../sis/internal/sql/feature/FeatureIterator.java | 337 ++++
.../sis/internal/sql/feature/FeatureStream.java | 406 ++++
.../apache/sis/internal/sql/feature/Features.java | 499 -----
.../sis/internal/sql/feature/InfoStatements.java | 419 ++++
.../sis/internal/sql/feature/PrimaryKey.java | 112 +
.../apache/sis/internal/sql/feature/Relation.java | 75 +-
.../apache/sis/internal/sql/feature/Resources.java | 27 +-
.../sis/internal/sql/feature/Resources.properties | 5 +
.../internal/sql/feature/Resources_fr.properties | 7 +-
.../sis/internal/sql/feature/SchemaModifier.java | 63 +
.../sis/internal/sql/feature/SelectionClause.java | 176 ++
.../sql/feature/SelectionClauseWriter.java | 419 ++++
.../sis/internal/sql/feature/SpatialFunctions.java | 144 --
.../org/apache/sis/internal/sql/feature/Table.java | 529 ++---
.../sis/internal/sql/feature/TableAnalyzer.java | 189 ++
.../sis/internal/sql/feature/TableReference.java | 45 +-
.../sis/internal/sql/feature/ValueGetter.java | 372 ++++
.../sis/internal/sql/feature/package-info.java | 6 +-
.../internal/sql/postgis/ExtendedClauseWriter.java | 70 +
.../sis/internal/sql/postgis/ExtendedInfo.java | 82 +
.../apache/sis/internal/sql/postgis/Postgres.java | 151 ++
.../sis/internal/sql/postgis/package-info.java | 27 +
.../sis/internal/stream/BaseStreamWrapper.java | 97 +
.../apache/sis/internal/stream/DeferredStream.java | 168 ++
.../sis/internal/stream/DoubleStreamWrapper.java | 285 +++
.../sis/internal/stream/PaginedDoubleStream.java | 102 +
.../apache/sis/internal/stream/PaginedStream.java | 113 ++
.../apache/sis/internal/stream/StreamWrapper.java | 319 +++
.../apache/sis/internal/stream/package-info.java | 34 +
.../java/org/apache/sis/storage/sql/SQLStore.java | 66 +-
.../apache/sis/storage/sql/SQLStoreProvider.java | 9 +-
.../org/apache/sis/storage/sql/package-info.java | 20 +-
.../apache/sis/internal/sql/feature/EWKBTest.java | 125 ++
.../sql/feature/SelectionClauseWriterTest.java | 151 ++
.../sis/internal/sql/postgis/PostgresTest.java | 45 +
.../org/apache/sis/storage/sql/SQLStoreTest.java | 205 +-
.../org/apache/sis/test/suite/SQLTestSuite.java | 4 +-
.../sis/internal/sql/feature/hexa_ewkb_4326.csv | 21 +
.../sis/internal/sql/feature/hexa_ewkb_4326.sql | 43 +
storage/sis-storage/pom.xml | 15 +-
.../apache/sis/index/tree/LatLonPointRadius.java | 138 --
.../java/org/apache/sis/index/tree/NodeType.java | 28 -
.../java/org/apache/sis/index/tree/QuadTree.java | 622 ------
.../org/apache/sis/index/tree/QuadTreeData.java | 59 -
.../org/apache/sis/index/tree/QuadTreeNode.java | 178 --
.../org/apache/sis/index/tree/QuadTreeWriter.java | 163 --
.../java/org/apache/sis/index/tree/Quadrant.java | 62 -
.../org/apache/sis/index/tree/package-info.java | 24 -
.../sis/internal/storage/AbstractFeatureSet.java | 2 +
.../sis/internal/storage/AbstractGridResource.java | 319 ++-
.../sis/internal/storage/AbstractResource.java | 75 +-
.../sis/internal/storage/AggregatedFeatureSet.java | 2 +
.../apache/sis/internal/storage/Capability.java | 10 +-
.../internal/storage/ConcatenatedFeatureSet.java | 4 +-
.../sis/internal/storage/GridResourceWrapper.java | 227 +++
.../sis/internal/storage/JoinFeatureSet.java | 44 +-
.../sis/internal/storage/MemoryGridResource.java | 181 ++
.../sis/internal/storage/MetadataBuilder.java | 327 ++-
.../internal/storage/RasterLoadingStrategy.java | 112 +
.../org/apache/sis/internal/storage/Resources.java | 27 +-
.../sis/internal/storage/Resources.properties | 5 +
.../sis/internal/storage/Resources_fr.properties | 7 +-
.../apache/sis/internal/storage/StoreMetadata.java | 27 +-
.../sis/internal/storage/StoreUtilities.java | 32 +-
.../sis/internal/storage/TiledGridCoverage.java | 776 +++++++
.../sis/internal/storage/TiledGridResource.java | 543 +++++
.../apache/sis/internal/storage/URIDataStore.java | 43 +-
.../internal/storage/csv/MovingFeatureBuilder.java | 299 +++
.../storage/csv/MovingFeatureIterator.java | 11 +-
.../org/apache/sis/internal/storage/csv/Store.java | 3 +-
.../sis/internal/storage/csv/StoreProvider.java | 10 +-
.../storage/folder/FolderStoreProvider.java | 29 +-
.../apache/sis/internal/storage/folder/Store.java | 19 +-
.../sis/internal/storage/folder/package-info.java | 2 +-
.../sis/internal/storage/io/ChannelData.java | 61 +-
.../sis/internal/storage/io/ChannelDataInput.java | 20 +-
.../sis/internal/storage/io/ChannelDataOutput.java | 20 +-
.../sis/internal/storage/io/ChannelFactory.java | 5 +-
.../sis/internal/storage/io/DataTransfer.java | 7 +-
.../internal/storage/io/HyperRectangleReader.java | 83 +-
.../sis/internal/storage/io/IOUtilities.java | 48 +-
.../internal/storage/io/MemoryDataTransfer.java | 3 +-
.../org/apache/sis/internal/storage/io/Region.java | 62 +-
.../apache/sis/internal/storage/package-info.java | 2 +-
.../sis/internal/storage/query/FeatureSubset.java | 148 --
.../sis/internal/storage/query/SimpleQuery.java | 486 -----
.../internal/storage/query/SortByComparator.java | 116 --
.../sis/internal/storage/query/package-info.java | 32 -
.../sis/internal/storage/wkt/FirstKeywordPeek.java | 162 +-
.../org/apache/sis/internal/storage/wkt/Store.java | 2 +-
.../sis/internal/storage/wkt/StoreFormat.java | 13 +-
.../sis/internal/storage/wkt/package-info.java | 2 +-
.../org/apache/sis/internal/storage/xml/Store.java | 3 +-
.../java/org/apache/sis/storage/CoverageQuery.java | 374 ++++
.../org/apache/sis/storage/CoverageSubset.java | 208 ++
.../java/org/apache/sis/storage/DataStore.java | 77 +-
.../org/apache/sis/storage/DataStoreProvider.java | 8 +-
.../org/apache/sis/storage/DataStoreRegistry.java | 85 +-
.../java/org/apache/sis/storage/FeatureNaming.java | 3 +-
.../java/org/apache/sis/storage/FeatureQuery.java | 673 +++++++
.../java/org/apache/sis/storage/FeatureSet.java | 5 +-
.../java/org/apache/sis/storage/FeatureSubset.java | 147 ++
.../apache/sis/storage/GridCoverageResource.java | 37 +-
.../main/java/org/apache/sis/storage/Query.java | 79 +-
.../main/java/org/apache/sis/storage/Resource.java | 7 +
.../org/apache/sis/storage/StorageConnector.java | 65 +-
.../sis/storage/UnsupportedEncodingException.java | 62 +
.../apache/sis/storage/event/StoreListeners.java | 28 +-
.../java/org/apache/sis/storage/package-info.java | 2 +-
.../org.apache.sis.storage.DataStoreProvider | 1 +
.../apache/sis/index/tree/TestQuadTreeNode.java | 31 -
.../storage/ConcatenatedFeatureSetTest.java | 5 +-
.../sis/internal/storage/JoinFeatureSetTest.java | 14 +-
.../internal/storage/MemoryGridResourceTest.java | 105 +
.../sis/internal/storage/MetadataBuilderTest.java | 73 +-
.../sis/internal/storage/StoreUtilitiesTest.java | 47 +
.../sis/internal/storage/folder/StoreTest.java | 5 +-
.../storage/io/HyperRectangleReaderTest.java | 3 +-
.../storage/io/RewindableLineReaderTest.java | 2 +-
.../internal/storage/query/SimpleQueryTest.java | 197 --
.../org/apache/sis/storage/CoverageQueryTest.java | 182 ++
.../org/apache/sis/storage/DataStoresTest.java | 81 +-
.../org/apache/sis/storage/FeatureQueryTest.java | 212 ++
.../org/apache/sis/storage/GridResourceMock.java | 106 +
.../sis/test/storage/CoverageReadConsistency.java | 555 +++++
.../apache/sis/test/storage/SubsampledImage.java | 263 +++
.../org/apache/sis/test/storage/package-info.java | 34 +
.../apache/sis/test/suite/StorageTestSuite.java | 7 +-
storage/sis-xmlstore/pom.xml | 2 +-
.../apache/sis/internal/storage/gpx/Metadata.java | 7 +-
.../sis/internal/storage/gpx/StoreProvider.java | 10 +-
.../apache/sis/internal/storage/gpx/Writer.java | 4 +-
.../storage/xml/stream/StaxStreamReader.java | 16 +-
1341 files changed, 144541 insertions(+), 31768 deletions(-)
diff --cc application/sis-javafx/src/main/java/org/apache/sis/gui/metadata/IdentificationInfo.java
index 0000000,1c83184..597bb89
mode 000000,100644..100644
--- a/application/sis-javafx/src/main/java/org/apache/sis/gui/metadata/IdentificationInfo.java
+++ b/application/sis-javafx/src/main/java/org/apache/sis/gui/metadata/IdentificationInfo.java
@@@ -1,0 -1,502 +1,501 @@@
+ /*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ package org.apache.sis.gui.metadata;
+
+ import java.util.Date;
+ import java.util.Set;
+ import java.util.Collection;
+ import java.util.LinkedHashSet;
+ import java.util.StringJoiner;
+ import javafx.concurrent.Task;
+ import javafx.geometry.HPos;
+ import javafx.scene.canvas.Canvas;
+ import javafx.scene.canvas.GraphicsContext;
+ import javafx.scene.control.Label;
+ import javafx.scene.image.Image;
+ import javafx.scene.paint.Color;
+ import javafx.scene.text.Font;
+ import javafx.scene.text.FontWeight;
+ import org.opengis.metadata.Metadata;
+ import org.opengis.metadata.Identifier;
+ import org.opengis.metadata.citation.Citation;
+ import org.opengis.metadata.citation.CitationDate;
+ import org.opengis.metadata.citation.DateType;
+ import org.opengis.metadata.extent.Extent;
+ import org.opengis.metadata.extent.GeographicBoundingBox;
+ import org.opengis.metadata.extent.GeographicDescription;
+ import org.opengis.metadata.extent.GeographicExtent;
+ import org.opengis.metadata.identification.Identification;
+ import org.opengis.metadata.distribution.Format;
-import org.opengis.util.InternationalString;
+ import org.apache.sis.metadata.iso.citation.Citations;
+ import org.apache.sis.metadata.iso.extent.Extents;
+ import org.apache.sis.referencing.IdentifiedObjects;
+ import org.apache.sis.internal.referencing.Formulas;
+ import org.apache.sis.internal.gui.BackgroundThreads;
+ import org.apache.sis.measure.Latitude;
+ import org.apache.sis.measure.Longitude;
+ import org.apache.sis.storage.Aggregate;
+ import org.apache.sis.storage.Resource;
+ import org.apache.sis.storage.DataStoreException;
+ import org.apache.sis.util.CharSequences;
+ import org.apache.sis.util.Workaround;
+ import org.apache.sis.util.resources.Vocabulary;
+
+ import static org.apache.sis.internal.util.CollectionsExt.nonNull;
+
+
+ /**
+ * The pane where to show the values of {@link Identification} objects.
+ * The same pane can be used for an arbitrary amount of identifications.
+ * Each instance is identified by its title.
+ * The content is:
+ *
+ * <ol>
+ * <li>The title in bold font.</li>
+ * <li>Identifiers.</li>
+ * <li>Abstract, or purpose, or credit (in this preference order).</li>
+ * <li>Topic category.</li>
+ * <li>Release date, or publication date, or creation date, or any date (in this preference order).</li>
+ * <li>Type of resource.</li>
+ * <li>Resource format.</li>
+ * <li>Spatiotemporal extent as a textual description.</li>
+ * <li>Extent shown as a rectangle on a world map.</li>
+ * </ol>
+ *
+ * @author Smaniotto Enzo (GSoC)
+ * @author Martin Desruisseaux (Geomatys)
+ * @version 1.1
+ * @since 1.1
+ * @module
+ */
+ final class IdentificationInfo extends Section<Identification> {
+ /**
+ * Size of the map. Current version uses a size of 360×180° so that the scale factor
+ * from the map to degrees is 1. Future version may use a different size, in which
+ * case the scale factor will need to be added in the code.
+ */
+ private static final double MAP_WIDTH = Longitude.MAX_VALUE - Longitude.MIN_VALUE,
+ MAP_HEIGHT = Latitude.MAX_VALUE - Latitude.MIN_VALUE;
+
+ /**
+ * Minimal size of rectangles to be drawn by {@link IdentificationInfo#drawOnMap(GeographicBoundingBox)}.
+ * If a rectangle is smaller, it will be expanded to this size. We use a minimal size because otherwise
+ * small rectangles may be practically invisible.
+ */
+ private static final double MIN_RECT_SIZE = 6;
+
+ /**
+ * The resource title, or if non the identifier as a fallback.
+ */
+ private final Label title;
+
+ /**
+ * The canvas where to draw geographic bounding boxes over a world map.
+ * Shall never be null, but need to be recreated for each new map.
+ * A canvas of size (0,0) is available at initialization time for drawing a new map.
+ *
+ * @see #isWorldMapEmpty()
+ * @see #drawOnMap(GeographicBoundingBox)
+ */
+ private Canvas extentOnMap;
+
+ /**
+ * Whether the geographic bounding box covers the world.
+ */
+ private boolean isWorld;
+
+ /**
+ * Whether the map was visible with previous data, before {@link #buildContent(Identification)} call.
+ * We use this information for avoiding flicker effect when a map is removed, then added back after a
+ * slight delay by {@link #completeMissingGeographicBounds(Aggregate)}.
+ */
+ private boolean mapWasVisible;
+
+ /**
+ * The task which is running in background thread for searching bounding boxes in {@link Aggregate} children.
+ * We use this reference for cancelling the task if a new resource is selected before the previous task finished.
+ */
+ private Task<?> aggregateWalker;
+
+ /**
+ * Creates an initially empty view for identification information.
+ */
+ IdentificationInfo(final MetadataSummary owner) {
+ super(owner);
+ title = new Label();
+ title.setFont(Font.font(null, FontWeight.BOLD, 15));
+ add(title, 0, 0, NUM_CHILD_PER_LINE, 1);
+
+ extentOnMap = new Canvas(); // Size of (0,0) by default.
+ add(extentOnMap, 0, 0, NUM_CHILD_PER_LINE, 1); // Will be moved to a different location by buildContent(…).
+ setHalignment(extentOnMap, HPos.CENTER);
+ finished();
+ }
+
+ /**
+ * If the world map contains a map from some previous metadata, discards the old canvas and create a new one.
+ * We do that because as of JavaFX 13, we found no way to clear the content of an existing {@link Canvas}.
+ */
+ @Workaround(library = "JavaFX", version = "13")
+ private void clearWorldMap() {
+ // Do not clear `isWorld` because caller may want the clear the map because it is world map.
+ if (!isWorldMapEmpty()) {
+ final int p = linesStartIndex() - 1;
+ assert getChildren().get(p) == extentOnMap;
+ getChildren().set(p, extentOnMap = new Canvas());
+ setColumnSpan(extentOnMap, NUM_CHILD_PER_LINE);
+ setHalignment(extentOnMap, HPos.CENTER);
+ }
+ }
+
+ /**
+ * Returns whether {@link #extentOnMap} is considered empty and available for use.
+ */
+ private boolean isWorldMapEmpty() {
+ return extentOnMap.getWidth() == 0 && extentOnMap.getHeight() == 0;
+ }
+
+ /**
+ * Returns {@code true} if this section contains no data.
+ */
+ @Override
+ boolean isEmpty() {
+ return super.isEmpty() && isWorldMapEmpty();
+ }
+
+ /**
+ * If this pane has no geographic bounds information, search for geographic bounds in the child resources.
+ * This method is used as a fallback when {@link #buildContent(Identification)} did not find bounding box
+ * in the metadata directly provided. If bounds has been found, then this method does nothing.
+ *
+ * <p>The method does nothing if there is more than one {@link Identification} metadata element,
+ * because we would not know to which element to assign the extent of children resources.</p>
+ */
+ final void completeMissingGeographicBounds(final Aggregate resource) {
+ if (!isWorld && isWorldMapEmpty() && !super.isEmpty() && numPages() == 1) {
+ /*
+ * If a map was visible previously, add back an empty map for avoiding flicking effect.
+ * If it appears that the map has no bounding box to show, it will be removed after the
+ * background thread finished its work.
+ */
+ if (mapWasVisible) {
+ drawMapBackground();
+ }
+ BackgroundThreads.execute(aggregateWalker = new Task<Set<GeographicBoundingBox>>() {
+ /** Invoked in a background thread for fetching bounding boxes. */
+ @Override protected Set<GeographicBoundingBox> call() throws DataStoreException {
+ final Set<GeographicBoundingBox> boxes = new LinkedHashSet<>();
+ for (final Resource child : resource.components()) {
+ final Metadata metadata = child.getMetadata();
+ if (isCancelled()) break;
+ if (metadata != null) {
+ for (final Identification id : nonNull(metadata.getIdentificationInfo())) {
+ if (id != null) {
+ for (final Extent extent : id.getExtents()) {
+ final GeographicBoundingBox b = Extents.getGeographicBoundingBox(extent);
+ if (b != null) boxes.add(b);
+ }
+ }
+ }
+ }
+ }
+ return boxes;
+ }
+
+ /** Shows the result in JavaFX thread. */
+ @Override protected void succeeded() {
+ aggregateWalker = null;
+ drawOnMap(getValue());
+ }
+
+ /** Invoked in JavaFX thread if metadata loading failed. */
+ @Override protected void failed() {
+ aggregateWalker = null;
+ owner.setError(getException());
+ }
+ });
+ }
+ }
+
+ /**
+ * Sets the identification information from the given metadata.
+ */
+ @Override
+ void setInformation(final Metadata metadata) {
+ if (aggregateWalker != null) {
+ aggregateWalker.cancel();
+ aggregateWalker = null;
+ }
+ final Collection<? extends Identification> info;
+ if (metadata == null) {
+ clearWorldMap();
+ info = null;
+ } else {
+ info = metadata.getIdentificationInfo();
+ }
+ setInformation(nonNull(info), Identification[]::new);
+ }
+
+ /**
+ * Invoked when new identification information should be shown.
+ * This method updates all fields in this section with the content of given identification information.
+ * The content is summarized in {@linkplain IdentificationInfo class javadoc}.
+ */
+ @Override
+ void buildContent(final Identification info) {
+ mapWasVisible = !isWorldMapEmpty();
+ isWorld = false;
+ clearWorldMap();
+ String text = null;
+ final Citation citation = info.getCitation();
+ if (citation != null) {
+ text = owner.string(citation.getTitle());
+ if (text == null) {
+ text = Citations.getIdentifier(citation);
+ }
+ }
+ if (text == null) {
+ text = owner.vocabulary.getString(Vocabulary.Keys.Untitled);
+ } else if (CharSequences.isUnicodeIdentifier(text)) {
+ text = CharSequences.camelCaseToSentence(text).toString();
+ }
+ title.setText(text);
+ /*
+ * Identifiers as a comma-separated list on a single line. Each identifier
+ * is formatted as "codespace:code" or only "code" if there is no codespace.
+ */
+ if (citation != null) {
+ final StringJoiner buffer = new StringJoiner(", ");
+ for (final Identifier id : citation.getIdentifiers()) {
+ buffer.add(IdentifiedObjects.toString(id));
+ }
+ if (buffer.length() != 0) {
+ addLine(Vocabulary.Keys.Identifiers, buffer.toString());
+ }
+ }
+ /*
+ * The abstract, or if there is no abstract the purpose, or if no purpose the credit as a fallback.
+ * We use those fallback because they can provide some hints about the product.
+ * The topic category (climatology, health, etc.) follows.
+ */
+ short label = Vocabulary.Keys.Abstract;
+ text = owner.string(info.getAbstract());
+ if (text == null) {
+ label = Vocabulary.Keys.Purpose;
+ text = owner.string(info.getPurpose());
+ if (text == null) {
- for (final InternationalString c : nonNull(info.getCredits())) {
- text = owner.string(c);
++ for (final String c : nonNull(info.getCredits())) {
++ text = c;
+ if (text != null) {
+ label = Vocabulary.Keys.Credit;
+ break;
+ }
+ }
+ }
+ }
+ addLine(label, text);
+ /*
+ * Topic category.
+ */
+ addLine(Vocabulary.Keys.TopicCategory, owner.string(nonNull(info.getTopicCategories())));
+ /*
+ * Select a single, arbitrary date. We take the release or publication date if available.
+ * If no publication date is found, fallback on the creation date. If no creation date is
+ * found neither, fallback on the first date regardless its type.
+ */
+ if (citation != null) {
+ Date date = null;
+ label = Vocabulary.Keys.Date;
+ for (final CitationDate c : nonNull(citation.getDates())) {
+ final Date cd = c.getDate();
+ if (cd != null) {
+ final DateType type = c.getDateType();
+ if (DateType.PUBLICATION.equals(type) || DateType.RELEASED.equals(type)) {
+ label = Vocabulary.Keys.PublicationDate;
+ date = cd;
+ break; // Take the first publication or release date.
+ }
+ final boolean isCreation = DateType.CREATION.equals(type);
+ if (date == null || isCreation) {
+ label = isCreation ? Vocabulary.Keys.CreationDate : Vocabulary.Keys.Date;
+ date = cd; // Fallback date: creation date, or the first date otherwise.
+ }
+ }
+ }
+ if (date != null) {
+ addLine(label, owner.getDateFormat().format(date));
+ }
+ }
+ /*
+ * Type of resource: vector, grid, table, tin, video, etc. It gives a slight overview
+ * of the next section, "Spatial representation". For that reason we put it close to
+ * that next section, i.e. last in this section but just before the map.
+ */
+ addLine(Vocabulary.Keys.TypeOfResource, owner.string(nonNull(info.getSpatialRepresentationTypes())));
+ /*
+ * Resource format. Current implementation shows only the first format found.
+ */
+ for (final Format format : nonNull(info.getResourceFormats())) {
+ final Citation c = format.getFormatSpecificationCitation();
+ if (c != null) {
+ text = owner.string(c.getTitle());
+ if (text != null) {
+ addLine(Vocabulary.Keys.Format, text);
+ break;
+ }
+ }
+ }
+ /*
+ * Write the first description about the spatio-temporal extent, then draw all geographic bounding boxes
+ * on a world map. If the bounding box encompasses the whole world, replace it by a "World" description.
+ * The reason is that drawing a box over the whole world is not very informative; it rather looks like a
+ * border around the image.
+ */
+ text = null;
+ Identifier identifier = null;
+ for (final Extent extent : nonNull(info.getExtents())) {
+ if (extent != null) {
+ if (text == null) {
+ text = owner.string(extent.getDescription());
+ }
+ for (final GeographicExtent ge : nonNull(extent.getGeographicElements())) {
+ if (identifier == null && ge instanceof GeographicDescription) {
+ identifier = ((GeographicDescription) ge).getGeographicIdentifier();
+ }
+ if (!isWorld && ge instanceof GeographicBoundingBox) {
+ isWorld = drawOnMap((GeographicBoundingBox) ge);
+ }
+ }
+ }
+ }
+ if (text == null) {
+ text = IdentifiedObjects.toString(identifier);
+ }
+ if (isWorld) {
+ clearWorldMap();
+ if (text == null) {
+ text = owner.vocabulary.getString(Vocabulary.Keys.World);
+ }
+ }
+ addLine(Vocabulary.Keys.Extent, text);
+ setRowIndex(extentOnMap, nextRowIndex());
+ }
+
+ /**
+ * Draws all given geographic bounding boxes on the map.
+ */
+ private void drawOnMap(final Set<GeographicBoundingBox> boxes) {
+ if (boxes.isEmpty()) {
+ clearWorldMap();
+ return;
+ }
+ for (final GeographicBoundingBox box : boxes) {
+ isWorld = drawOnMap(box);
+ if (isWorld) {
+ clearWorldMap();
+ return;
+ }
+ }
+ }
+
+ /**
+ * Draws the given geographic bounding box on the map. This method can be invoked many times
+ * if there is many bounding boxes on the same map.
+ *
+ * @param bbox the bounding box to draw.
+ * @return {@code true} if the given bounding box encompasses the whole world.
+ */
+ private boolean drawOnMap(final GeographicBoundingBox bbox) {
+ double north = Latitude.clamp(bbox.getNorthBoundLatitude());
+ double south = Latitude.clamp(bbox.getSouthBoundLatitude());
+ double east = bbox.getEastBoundLongitude();
+ double west = bbox.getWestBoundLongitude();
+ if (Math.abs(east - west) >= (Longitude.MAX_VALUE - Longitude.MIN_VALUE - 2*Formulas.ANGULAR_TOLERANCE)) {
+ if (north >= Latitude.MAX_VALUE - Formulas.ANGULAR_TOLERANCE &&
+ south <= Latitude.MIN_VALUE + Formulas.ANGULAR_TOLERANCE)
+ {
+ return true; // Bounding box encompasses the whole world.
+ }
+ west = Longitude.MIN_VALUE;
+ east = Longitude.MAX_VALUE; // Whole world in longitudes, but not in latitude.
+ } else {
+ if (west != 180) west = Longitude.normalize(west);
+ if (east != 180) east = Longitude.normalize(east);
+ if (east < west) {
+ east += Longitude.MAX_VALUE - Longitude.MIN_VALUE; // Box crosses the anti-meridian.
+ }
+ }
+ if (north >= south && Double.isFinite(east) && Double.isFinite(west)) {
+ double x = MAP_WIDTH / 2 + west;
+ double y = MAP_HEIGHT / 2 - north;
+ double w = east - west;
+ double h = north - south;
+ if (w < MIN_RECT_SIZE) {
+ x -= (MIN_RECT_SIZE - w) / 2;
+ w = MIN_RECT_SIZE;
+ }
+ if (h < MIN_RECT_SIZE) {
+ y -= (MIN_RECT_SIZE - h) / 2;
+ h = MIN_RECT_SIZE;
+ }
+ final double wi = Math.min(w, MAP_WIDTH - x); // Width of part inside [-180 … +180]°.
+ w -= wi; // Width of part not drawn by `wi`.
+ final boolean crossAntimeridian = (w > 0);
+ /*
+ * At this point we got the coordinates of the rectangle to draw, adjusted for making sure
+ * that they are inside valid ranges. The `w` variable is usually 0, unless we had to cut
+ * the rectangle in two parts because of anti-meridian crossing.
+ */
+ if (isWorldMapEmpty()) {
+ drawMapBackground();
+ }
+ final GraphicsContext gc = extentOnMap.getGraphicsContext2D();
+ gc.setStroke(Color.DARKBLUE);
+ gc.setGlobalAlpha(0.1);
+ gc.fillRect(x, y, wi, h);
+ if (crossAntimeridian) {
+ gc.fillRect(0, y, w, h); // Second half of rectangle crossing anti-meridian.
+ }
+ gc.setGlobalAlpha(1.0);
+ if (!crossAntimeridian) {
+ gc.strokeRect(x, y, wi, h);
+ } else {
+ double xw = x + wi;
+ double yh = y + h;
+ gc.strokePolyline(new double[] {xw, x, x, xw},
+ new double[] {y, y, yh, yh}, 4);
+ gc.strokePolyline(new double[] {0, w, w, 0},
+ new double[] {y, y, yh, yh}, 4);
+ }
+ }
+ return false;
+ }
+
+ /**
+ * Draws the map where bounding boxes will be overlay.
+ */
+ private boolean drawMapBackground() {
+ final Image image = MetadataSummary.getWorldMap();
+ if (image == null) {
+ return false;
+ }
+ extentOnMap.setWidth (image.getWidth());
+ extentOnMap.setHeight(image.getHeight());
+ extentOnMap.getGraphicsContext2D().drawImage(image, 0, 0);
+ return true;
+ }
+ }
diff --cc core/sis-feature/src/test/java/org/apache/sis/filter/PeriodLiteral.java
index 3adffe2,ab10b06..49e4412
--- a/core/sis-feature/src/test/java/org/apache/sis/filter/PeriodLiteral.java
+++ b/core/sis-feature/src/test/java/org/apache/sis/filter/PeriodLiteral.java
@@@ -18,16 -18,20 +18,20 @@@ package org.apache.sis.filter
import java.util.Date;
import java.io.Serializable;
+ import org.opengis.util.ScopedName;
-import org.opengis.metadata.Identifier;
+ import org.apache.sis.test.TestUtilities;
+
+ // Branch-dependent imports
+ import org.opengis.feature.Feature;
+ import org.opengis.filter.Expression;
+ import org.opengis.filter.Literal;
import org.opengis.temporal.Period;
import org.opengis.temporal.Duration;
import org.opengis.temporal.RelativePosition;
import org.opengis.temporal.TemporalPosition;
import org.opengis.temporal.TemporalPrimitive;
import org.opengis.temporal.TemporalGeometricPrimitive;
- import org.opengis.filter.expression.Literal;
- import org.opengis.filter.expression.ExpressionVisitor;
+import org.opengis.referencing.ReferenceIdentifier;
- import org.apache.sis.test.TestUtilities;
/**
@@@ -79,7 -75,8 +75,8 @@@ final strictfp class PeriodLiteral impl
}
/** Not needed for the tests. */
- @Override public Identifier getName() {throw new UnsupportedOperationException();}
+ @Override public ReferenceIdentifier getName() {throw new UnsupportedOperationException();}
+ @Override public ScopedName getFunctionName() {throw new UnsupportedOperationException();}
@Override public RelativePosition relativePosition(TemporalPrimitive o) {throw new UnsupportedOperationException();}
@Override public Duration distance(TemporalGeometricPrimitive o) {throw new UnsupportedOperationException();}
@Override public Duration length() {throw new UnsupportedOperationException();}
diff --cc core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/citation/HardCodedCitations.java
index f23a5eb,33e3787..a41e840
--- a/core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/citation/HardCodedCitations.java
+++ b/core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/citation/HardCodedCitations.java
@@@ -90,12 -88,11 +90,12 @@@ public final strictfp class HardCodedCi
*/
public static final DefaultCitation EPSG;
static {
- final DefaultOnlineResource r = new DefaultOnlineResource(URI.create("http://www.epsg.org"));
+ final DefaultOnlineResource r = new DefaultOnlineResource(URI.create("https://epsg.org/"));
r.setFunction(OnLineFunction.INFORMATION);
- final DefaultResponsibility p = new DefaultResponsibility(Role.PRINCIPAL_INVESTIGATOR, null,
- new DefaultOrganisation("International Association of Oil & Gas Producers", null, null, new DefaultContact(r)));
+ final DefaultResponsibleParty p = new DefaultResponsibleParty(Role.PRINCIPAL_INVESTIGATOR);
+ p.setParties(singleton(new DefaultOrganisation("International Association of Oil & Gas Producers",
+ null, null, new DefaultContact(r))));
final DefaultCitation c = new DefaultCitation("EPSG Geodetic Parameter Dataset");
c.getPresentationForms().add(PresentationForm.TABLE_DIGITAL);
diff --cc core/sis-referencing/src/main/java/org/apache/sis/referencing/Properties.java
index 10c7911,6ad7f91..de893f1
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/Properties.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/Properties.java
@@@ -24,11 -24,13 +24,13 @@@ import org.opengis.util.GenericName
import org.opengis.referencing.datum.Datum;
import org.opengis.referencing.ReferenceSystem;
import org.opengis.referencing.IdentifiedObject;
+import org.opengis.referencing.ReferenceIdentifier;
import org.opengis.referencing.operation.CoordinateOperation;
import org.opengis.referencing.operation.OperationMethod;
+ import org.opengis.referencing.operation.SingleOperation;
import org.opengis.metadata.quality.PositionalAccuracy;
import org.apache.sis.internal.util.AbstractMap;
+ import org.apache.sis.internal.referencing.CoordinateOperations;
import org.apache.sis.util.Deprecable;
diff --cc core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/CoordinateOperationFinder.java
index dd64de3,8997504..b3c2b57
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/CoordinateOperationFinder.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/CoordinateOperationFinder.java
@@@ -977,31 -1010,14 +1010,29 @@@ public class CoordinateOperationFinder
int delta = source.getCoordinateSystem().getDimension();
final int startAtDimension = endAtDimension;
endAtDimension += delta;
- /*
- * Constructs the pass through transform only if there is at least one coordinate to pass.
- * Actually the code below would work inconditionally, but we perform this check anyway
- * for avoiding the creation of intermediate objects.
- */
- if (!(startAtDimension == 0 && endAtDimension == remainingSourceDimensions)) {
+ final int numTrailingCoordinates = remainingSourceDimensions - endAtDimension;
+ CoordinateOperation subOperation = info.operation;
+ if ((startAtDimension | numTrailingCoordinates) != 0) {
- subOperation = new DefaultPassThroughOperation(IdentifiedObjects.getProperties(subOperation),
- stepSourceCRS, stepTargetCRS, subOperation, startAtDimension, numTrailingCoordinates);
+ final Map<String,?> properties = IdentifiedObjects.getProperties(subOperation);
+ /*
+ * The DefaultPassThroughOperation constuctor expect a SingleOperation.
+ * In most case, the 'subOperation' is already of this kind. However if
+ * it is not, try to copy it in such object.
+ */
+ final SingleOperation op;
+ if (SubTypes.isSingleOperation(subOperation)) {
+ op = (SingleOperation) subOperation;
+ } else {
++ final MathTransform subTransform = subOperation.getMathTransform();
+ op = factorySIS.createSingleOperation(properties,
+ subOperation.getSourceCRS(), subOperation.getTargetCRS(), null,
+ new DefaultOperationMethod(subTransform), subTransform);
+ }
+ subOperation = new DefaultPassThroughOperation(properties, stepSourceCRS, stepTargetCRS,
- op, startAtDimension, remainingSourceDimensions - endAtDimension);
++ op, startAtDimension, numTrailingCoordinates);
}
/*
- * Concatenate the operation with the ones we have found so far, and use the current 'stepTargetCRS'
+ * Concatenate the operation with the ones we have found so far, and use the current `stepTargetCRS`
* as the source CRS for the next operation step. We also need to adjust the dimension indices,
* since the previous operations may have removed some dimensions. Note that the delta may also
* be negative in a few occasions.
diff --cc core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/CoordinateOperationRegistry.java
index 43f8db0,505f3ec..a5021e2
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/CoordinateOperationRegistry.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/CoordinateOperationRegistry.java
@@@ -785,10 -882,10 +882,10 @@@ class CoordinateOperationRegistry
/*
* Reuse the same operation method, but we may need to change its number of dimension.
* The capability to resize an OperationMethod is specific to Apache SIS, so we must
- * be prepared to see the 'redimension' call fails. In such case, we will try to get
+ * be prepared to see the `redimension` call fails. In such case, we will try to get
* the SIS implementation of the operation method and try again.
*/
- if (operation instanceof SingleOperation) {
+ if (SubTypes.isSingleOperation(operation)) {
final SingleOperation single = (SingleOperation) operation;
properties.put(CoordinateOperations.PARAMETERS_KEY, single.getParameterValues());
if (method == null) {
diff --cc core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/DefaultPassThroughOperation.java
index 0a7026c,717129a..38e0cfb
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/DefaultPassThroughOperation.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/DefaultPassThroughOperation.java
@@@ -71,10 -68,10 +71,10 @@@ public class DefaultPassThroughOperatio
*
* @see #getOperation()
*/
- private CoordinateOperation operation;
+ private SingleOperation operation;
/**
- * Constructs a single operation from a set of properties.
+ * Constructs a pass-through operation from a set of properties.
* The properties given in argument follow the same rules than for the
* {@linkplain AbstractCoordinateOperation#AbstractCoordinateOperation(Map, CoordinateReferenceSystem,
* CoordinateReferenceSystem, CoordinateReferenceSystem, MathTransform) super-class constructor}.
diff --cc ide-project/NetBeans/nbproject/build-impl.xml~
index 0000000,fb2b9ce..7cbe9a0
mode 000000,100644..100644
--- a/ide-project/NetBeans/nbproject/build-impl.xml~
+++ b/ide-project/NetBeans/nbproject/build-impl.xml~
@@@ -1,0 -1,2149 +1,2131 @@@
+ <?xml version="1.0" encoding="UTF-8"?>
+ <!--
+ *** GENERATED FROM project.xml - DO NOT EDIT ***
+ *** EDIT ../build.xml INSTEAD ***
+
+ For the purpose of easier reading the script
+ is divided into following sections:
+
+ - initialization
+ - compilation
+ - jar
+ - execution
+ - debugging
+ - javadoc
+ - test compilation
+ - test execution
+ - test debugging
+ - applet
+ - cleanup
+
+ -->
-<project xmlns:if="ant:if" xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" xmlns:unless="ant:unless" basedir=".." default="default" name="Apache_SIS_on_GeoAPI_4.0-impl">
++<project xmlns:if="ant:if" xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" xmlns:unless="ant:unless" basedir=".." default="default" name="Apache_SIS_on_GeoAPI_3.1-impl">
+ <fail message="Please build using Ant 1.8.0 or higher.">
+ <condition>
+ <not>
+ <antversion atleast="1.8.0"/>
+ </not>
+ </condition>
+ </fail>
+ <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
+ <!--
+ ======================
+ INITIALIZATION SECTION
+ ======================
+ -->
+ <target name="-pre-init">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="-pre-init" name="-init-private">
+ <property file="nbproject/private/config.properties"/>
+ <property file="nbproject/private/configs/${config}.properties"/>
+ <property file="nbproject/private/private.properties"/>
+ </target>
+ <target depends="-pre-init,-init-private" name="-init-user">
+ <property file="${user.properties.file}"/>
+ <!-- The two properties below are usually overridden -->
+ <!-- by the active platform. Just a fallback. -->
+ <property name="default.javac.source" value="1.6"/>
+ <property name="default.javac.target" value="1.6"/>
+ </target>
+ <target depends="-pre-init,-init-private,-init-user" name="-init-project">
+ <property file="nbproject/configs/${config}.properties"/>
+ <property file="nbproject/project.properties"/>
+ </target>
+ <target name="-init-modules-supported">
+ <condition property="modules.supported.internal" value="true">
+ <not>
+ <matches pattern="1\.[0-8](\..*)?" string="${javac.source}"/>
+ </not>
+ </condition>
+ </target>
+ <target depends="-init-modules-supported" if="modules.supported.internal" name="-init-macrodef-modulename">
+ <macrodef name="modulename" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute name="property"/>
+ <attribute name="sourcepath"/>
+ <sequential>
+ <loadresource property="@{property}" quiet="true">
+ <javaresource classpath="@{sourcepath}" name="module-info.java" parentFirst="false"/>
+ <filterchain>
+ <stripjavacomments/>
+ <linecontainsregexp>
+ <regexp pattern="module .* \{"/>
+ </linecontainsregexp>
+ <tokenfilter>
+ <linetokenizer/>
+ <replaceregex flags="s" pattern="(\s*module\s+)(\S*)(\s*\{.*)" replace="\2"/>
+ </tokenfilter>
+ <striplinebreaks/>
+ </filterchain>
+ </loadresource>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-modules-supported,-init-macrodef-modulename" if="modules.supported.internal" name="-init-source-module-properties">
+ <fail message="Java 9 support requires Ant 1.10.0 or higher.">
+ <condition>
+ <not>
+ <antversion atleast="1.10.0"/>
+ </not>
+ </condition>
+ </fail>
+ <j2seproject3:modulename property="module.name" sourcepath="${src.local-src.dir}:${src.javafx.dir}:${src.webapp.dir}:${src.console.dir}:${src.portrayal.dir}:${src.earth-obs.dir}:${src.geotiff.dir}:${src.netcdf.dir}:${src.shapefile.dir}:${src.sql.dir}:${src.xmlstore.dir}:${src.storage.dir}:${src.feature.dir}:${src.referencing.dir}:${src.ref-by-id.dir}:${src.metadata.dir}:${src.utility.dir}:${src.fra-profile.dir}:${src.jpn-profile.dir}:${src.gdal.dir}:${src.c.gdal.dir}"/>
+ <condition property="named.module.internal">
+ <and>
+ <isset property="module.name"/>
+ <length length="0" string="${module.name}" when="greater"/>
+ </and>
+ </condition>
+ <condition property="unnamed.module.internal">
+ <not>
+ <isset property="named.module.internal"/>
+ </not>
+ </condition>
+ <property name="javac.modulepath" value=""/>
+ <property name="run.modulepath" value="${javac.modulepath}"/>
+ <property name="module.build.classes.dir" value="${build.classes.dir}"/>
+ <property name="debug.modulepath" value="${run.modulepath}"/>
+ <property name="javac.upgrademodulepath" value=""/>
+ <property name="run.upgrademodulepath" value="${javac.upgrademodulepath}"/>
+ <condition else="" property="javac.systemmodulepath.cmd.line.arg" value="--system '${javac.systemmodulepath}'">
+ <and>
+ <isset property="javac.systemmodulepath"/>
+ <length length="0" string="${javac.systemmodulepath}" when="greater"/>
+ </and>
+ </condition>
+ <property name="dist.jlink.dir" value="${dist.dir}/jlink"/>
+ <property name="dist.jlink.output" value="${dist.jlink.dir}/${application.title}"/>
+ <property name="module.name" value=""/>
+ </target>
+ <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property,-init-modules-supported" name="-do-init">
+ <property name="platform.java" value="${java.home}/bin/java"/>
+ <available file="${manifest.file}" property="manifest.available"/>
+ <condition property="splashscreen.available">
+ <and>
+ <not>
+ <equals arg1="${application.splash}" arg2="" trim="true"/>
+ </not>
+ <available file="${application.splash}"/>
+ </and>
+ </condition>
+ <condition property="main.class.available">
+ <and>
+ <isset property="main.class"/>
+ <not>
+ <equals arg1="${main.class}" arg2="" trim="true"/>
+ </not>
+ </and>
+ </condition>
+ <condition property="profile.available">
+ <and>
+ <isset property="javac.profile"/>
+ <length length="0" string="${javac.profile}" when="greater"/>
+ <not>
+ <matches pattern="1\.[0-7](\..*)?" string="${javac.source}"/>
+ </not>
+ </and>
+ </condition>
+ <condition property="do.archive">
+ <or>
+ <not>
+ <istrue value="${jar.archive.disabled}"/>
+ </not>
+ <istrue value="${not.archive.disabled}"/>
+ </or>
+ </condition>
+ <condition property="do.archive+manifest.available">
+ <and>
+ <isset property="manifest.available"/>
+ <istrue value="${do.archive}"/>
+ </and>
+ </condition>
+ <condition property="do.archive+main.class.available">
+ <and>
+ <isset property="main.class.available"/>
+ <istrue value="${do.archive}"/>
+ </and>
+ </condition>
+ <condition property="do.archive+splashscreen.available">
+ <and>
+ <isset property="splashscreen.available"/>
+ <istrue value="${do.archive}"/>
+ </and>
+ </condition>
+ <condition property="do.archive+profile.available">
+ <and>
+ <isset property="profile.available"/>
+ <istrue value="${do.archive}"/>
+ </and>
+ </condition>
+ <condition property="have.tests">
+ <or>
+ <available file="${test.javafx.dir}"/>
+ <available file="${test.webapp.dir}"/>
+ <available file="${test.console.dir}"/>
+ <available file="${test.portrayal.dir}"/>
+ <available file="${test.earth-obs.dir}"/>
+ <available file="${test.geotiff.dir}"/>
+ <available file="${test.netcdf.dir}"/>
+ <available file="${test.shapefile.dir}"/>
+ <available file="${test.sql.dir}"/>
+ <available file="${test.xmlstore.dir}"/>
+ <available file="${test.storage.dir}"/>
+ <available file="${test.feature.dir}"/>
+ <available file="${test.referencing.dir}"/>
+ <available file="${test.ref-by-id.dir}"/>
+ <available file="${test.metadata.dir}"/>
+ <available file="${test.utility.dir}"/>
+ <available file="${test.fra-profile.dir}"/>
+ <available file="${test.jpn-profile.dir}"/>
+ <available file="${test.gdal.dir}"/>
+ </or>
+ </condition>
+ <condition property="have.sources">
+ <or>
+ <available file="${src.local-src.dir}"/>
+ <available file="${src.javafx.dir}"/>
+ <available file="${src.webapp.dir}"/>
+ <available file="${src.console.dir}"/>
+ <available file="${src.portrayal.dir}"/>
+ <available file="${src.earth-obs.dir}"/>
+ <available file="${src.geotiff.dir}"/>
+ <available file="${src.netcdf.dir}"/>
+ <available file="${src.shapefile.dir}"/>
+ <available file="${src.sql.dir}"/>
+ <available file="${src.xmlstore.dir}"/>
+ <available file="${src.storage.dir}"/>
+ <available file="${src.feature.dir}"/>
+ <available file="${src.referencing.dir}"/>
+ <available file="${src.ref-by-id.dir}"/>
+ <available file="${src.metadata.dir}"/>
+ <available file="${src.utility.dir}"/>
+ <available file="${src.fra-profile.dir}"/>
+ <available file="${src.jpn-profile.dir}"/>
+ <available file="${src.gdal.dir}"/>
+ <available file="${src.c.gdal.dir}"/>
+ </or>
+ </condition>
+ <condition property="netbeans.home+have.tests">
+ <and>
+ <isset property="netbeans.home"/>
+ <isset property="have.tests"/>
+ </and>
+ </condition>
+ <condition property="no.javadoc.preview">
+ <and>
+ <isset property="javadoc.preview"/>
+ <isfalse value="${javadoc.preview}"/>
+ </and>
+ </condition>
+ <property name="run.jvmargs" value=""/>
+ <property name="run.jvmargs.ide" value=""/>
+ <property name="javac.compilerargs" value=""/>
+ <property name="work.dir" value="${basedir}"/>
+ <condition property="no.deps">
+ <and>
+ <istrue value="${no.dependencies}"/>
+ </and>
+ </condition>
+ <property name="javac.debug" value="true"/>
+ <property name="javadoc.preview" value="true"/>
+ <property name="application.args" value=""/>
+ <property name="source.encoding" value="${file.encoding}"/>
+ <property name="runtime.encoding" value="${source.encoding}"/>
+ <property name="manifest.encoding" value="${source.encoding}"/>
+ <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
+ <and>
+ <isset property="javadoc.encoding"/>
+ <not>
+ <equals arg1="${javadoc.encoding}" arg2=""/>
+ </not>
+ </and>
+ </condition>
+ <property name="javadoc.encoding.used" value="${source.encoding}"/>
+ <property name="includes" value="**"/>
+ <property name="excludes" value=""/>
+ <property name="do.depend" value="false"/>
+ <condition property="do.depend.true">
+ <istrue value="${do.depend}"/>
+ </condition>
+ <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
+ <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
+ <and>
+ <isset property="endorsed.classpath"/>
+ <not>
+ <equals arg1="${endorsed.classpath}" arg2="" trim="true"/>
+ </not>
+ </and>
+ </condition>
+ <condition else="" property="javac.profile.cmd.line.arg" value="-profile ${javac.profile}">
+ <isset property="profile.available"/>
+ </condition>
+ <condition else="false" property="jdkBug6558476">
+ <and>
+ <matches pattern="1\.[56]" string="${java.specification.version}"/>
+ <not>
+ <os family="unix"/>
+ </not>
+ </and>
+ </condition>
+ <condition else="false" property="javac.fork">
+ <or>
+ <istrue value="${jdkBug6558476}"/>
+ <istrue value="${javac.external.vm}"/>
+ </or>
+ </condition>
+ <property name="jar.index" value="false"/>
+ <property name="jar.index.metainf" value="${jar.index}"/>
+ <property name="copylibs.rebase" value="true"/>
+ <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
+ <condition property="junit.available">
+ <or>
+ <available classname="org.junit.Test" classpath="${run.test.classpath}"/>
+ <available classname="junit.framework.Test" classpath="${run.test.classpath}"/>
+ </or>
+ </condition>
+ <condition property="testng.available">
+ <available classname="org.testng.annotations.Test" classpath="${run.test.classpath}"/>
+ </condition>
+ <condition property="junit+testng.available">
+ <and>
+ <istrue value="${junit.available}"/>
+ <istrue value="${testng.available}"/>
+ </and>
+ </condition>
+ <condition else="testng" property="testng.mode" value="mixed">
+ <istrue value="${junit+testng.available}"/>
+ </condition>
+ <condition else="" property="testng.debug.mode" value="-mixed">
+ <istrue value="${junit+testng.available}"/>
+ </condition>
+ <property name="java.failonerror" value="true"/>
+ </target>
+ <target name="-post-init">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
+ <fail unless="src.local-src.dir">Must set src.local-src.dir</fail>
+ <fail unless="src.javafx.dir">Must set src.javafx.dir</fail>
+ <fail unless="src.webapp.dir">Must set src.webapp.dir</fail>
+ <fail unless="src.console.dir">Must set src.console.dir</fail>
+ <fail unless="src.portrayal.dir">Must set src.portrayal.dir</fail>
+ <fail unless="src.earth-obs.dir">Must set src.earth-obs.dir</fail>
+ <fail unless="src.geotiff.dir">Must set src.geotiff.dir</fail>
+ <fail unless="src.netcdf.dir">Must set src.netcdf.dir</fail>
+ <fail unless="src.shapefile.dir">Must set src.shapefile.dir</fail>
+ <fail unless="src.sql.dir">Must set src.sql.dir</fail>
+ <fail unless="src.xmlstore.dir">Must set src.xmlstore.dir</fail>
+ <fail unless="src.storage.dir">Must set src.storage.dir</fail>
+ <fail unless="src.feature.dir">Must set src.feature.dir</fail>
+ <fail unless="src.referencing.dir">Must set src.referencing.dir</fail>
+ <fail unless="src.ref-by-id.dir">Must set src.ref-by-id.dir</fail>
+ <fail unless="src.metadata.dir">Must set src.metadata.dir</fail>
+ <fail unless="src.utility.dir">Must set src.utility.dir</fail>
+ <fail unless="src.fra-profile.dir">Must set src.fra-profile.dir</fail>
+ <fail unless="src.jpn-profile.dir">Must set src.jpn-profile.dir</fail>
+ <fail unless="src.gdal.dir">Must set src.gdal.dir</fail>
+ <fail unless="src.c.gdal.dir">Must set src.c.gdal.dir</fail>
+ <fail unless="test.javafx.dir">Must set test.javafx.dir</fail>
+ <fail unless="test.webapp.dir">Must set test.webapp.dir</fail>
+ <fail unless="test.console.dir">Must set test.console.dir</fail>
+ <fail unless="test.portrayal.dir">Must set test.portrayal.dir</fail>
+ <fail unless="test.earth-obs.dir">Must set test.earth-obs.dir</fail>
+ <fail unless="test.geotiff.dir">Must set test.geotiff.dir</fail>
+ <fail unless="test.netcdf.dir">Must set test.netcdf.dir</fail>
+ <fail unless="test.shapefile.dir">Must set test.shapefile.dir</fail>
+ <fail unless="test.sql.dir">Must set test.sql.dir</fail>
+ <fail unless="test.xmlstore.dir">Must set test.xmlstore.dir</fail>
+ <fail unless="test.storage.dir">Must set test.storage.dir</fail>
+ <fail unless="test.feature.dir">Must set test.feature.dir</fail>
+ <fail unless="test.referencing.dir">Must set test.referencing.dir</fail>
+ <fail unless="test.ref-by-id.dir">Must set test.ref-by-id.dir</fail>
+ <fail unless="test.metadata.dir">Must set test.metadata.dir</fail>
+ <fail unless="test.utility.dir">Must set test.utility.dir</fail>
+ <fail unless="test.fra-profile.dir">Must set test.fra-profile.dir</fail>
+ <fail unless="test.jpn-profile.dir">Must set test.jpn-profile.dir</fail>
+ <fail unless="test.gdal.dir">Must set test.gdal.dir</fail>
+ <fail unless="build.dir">Must set build.dir</fail>
+ <fail unless="dist.dir">Must set dist.dir</fail>
+ <fail unless="build.classes.dir">Must set build.classes.dir</fail>
+ <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
+ <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
+ <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
+ <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
+ <fail unless="dist.jar">Must set dist.jar</fail>
+ </target>
+ <target name="-init-macrodef-property">
+ <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <attribute name="name"/>
+ <attribute name="value"/>
+ <sequential>
+ <property name="@{name}" value="${@{value}}"/>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-ap-cmdline-properties,-init-source-module-properties" if="modules.supported.internal" name="-init-macrodef-javac-with-module">
+ <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${src.local-src.dir}:${src.javafx.dir}:${src.webapp.dir}:${src.console.dir}:${src.portrayal.dir}:${src.earth-obs.dir}:${src.geotiff.dir}:${src.netcdf.dir}:${src.shapefile.dir}:${src.sql.dir}:${src.xmlstore.dir}:${src.storage.dir}:${src.feature.dir}:${src.referencing.dir}:${src.ref-by-id.dir}:${src.metadata.dir}:${src.utility.dir}:${src.fra-profile.dir}:${src.jpn-profile.dir}:${src.gdal.dir}:${src.c.gdal.dir}" name="srcdir"/>
+ <attribute default="${build.classes.dir}" name="destdir"/>
+ <attribute default="${javac.classpath}" name="classpath"/>
+ <attribute default="${javac.modulepath}" name="modulepath"/>
+ <attribute default="${javac.upgrademodulepath}" name="upgrademodulepath"/>
+ <attribute default="${javac.processorpath}" name="processorpath"/>
+ <attribute default="${javac.processormodulepath}" name="processormodulepath"/>
+ <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <attribute default="${javac.debug}" name="debug"/>
+ <attribute default="${empty.dir}" name="sourcepath" unless:set="named.module.internal"/>
+ <attribute default="${src.local-src.dir}:${src.javafx.dir}:${src.webapp.dir}:${src.console.dir}:${src.portrayal.dir}:${src.earth-obs.dir}:${src.geotiff.dir}:${src.netcdf.dir}:${src.shapefile.dir}:${src.sql.dir}:${src.xmlstore.dir}:${src.storage.dir}:${src.feature.dir}:${src.referencing.dir}:${src.ref-by-id.dir}:${src.metadata.dir}:${src.utility.dir}:${src.fra-profile.dir}:${src.jpn-profile.dir}:${src.gdal.dir}:${src.c.gdal.dir}" if:set="named.module.internal" name="sourcepath"/>
+ <attribute default="${empty.dir}" name="gensrcdir"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <condition property="warn.excludes.internal">
+ <and>
+ <isset property="named.module.internal"/>
+ <length length="0" string="@{excludes}" trim="true" when="greater"/>
+ </and>
+ </condition>
+ <echo if:set="warn.excludes.internal" level="warning" message="The javac excludes are not supported in the JDK 9 Named Module."/>
+ <property location="${build.dir}/empty" name="empty.dir"/>
+ <mkdir dir="${empty.dir}"/>
+ <mkdir dir="@{apgeneratedsrcdir}"/>
+ <condition property="processormodulepath.set">
+ <resourcecount count="0" when="greater">
+ <path>
+ <pathelement path="@{processormodulepath}"/>
+ </path>
+ </resourcecount>
+ </condition>
+ <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
+ <src>
+ <dirset dir="@{gensrcdir}" erroronmissingdir="false">
+ <include name="*"/>
+ </dirset>
+ </src>
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ <modulepath>
+ <path path="@{modulepath}"/>
+ </modulepath>
+ <upgrademodulepath>
+ <path path="@{upgrademodulepath}"/>
+ </upgrademodulepath>
+ <compilerarg line="${javac.systemmodulepath.cmd.line.arg}"/>
+ <compilerarg line="${javac.profile.cmd.line.arg}"/>
+ <compilerarg line="${javac.compilerargs}"/>
+ <compilerarg if:set="processormodulepath.set" value="--processor-module-path"/>
+ <compilerarg if:set="processormodulepath.set" path="@{processormodulepath}"/>
+ <compilerarg unless:set="processormodulepath.set" value="-processorpath"/>
+ <compilerarg path="@{processorpath}:${empty.dir}" unless:set="processormodulepath.set"/>
+ <compilerarg line="${ap.processors.internal}"/>
+ <compilerarg line="${annotation.processing.processor.options}"/>
+ <compilerarg value="-s"/>
+ <compilerarg path="@{apgeneratedsrcdir}"/>
+ <compilerarg line="${ap.proc.none.internal}"/>
+ <customize/>
+ </javac>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-ap-cmdline-properties,-init-source-module-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors" unless="modules.supported.internal">
+ <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${src.local-src.dir}:${src.javafx.dir}:${src.webapp.dir}:${src.console.dir}:${src.portrayal.dir}:${src.earth-obs.dir}:${src.geotiff.dir}:${src.netcdf.dir}:${src.shapefile.dir}:${src.sql.dir}:${src.xmlstore.dir}:${src.storage.dir}:${src.feature.dir}:${src.referencing.dir}:${src.ref-by-id.dir}:${src.metadata.dir}:${src.utility.dir}:${src.fra-profile.dir}:${src.jpn-profile.dir}:${src.gdal.dir}:${src.c.gdal.dir}" name="srcdir"/>
+ <attribute default="${build.classes.dir}" name="destdir"/>
+ <attribute default="${javac.classpath}" name="classpath"/>
+ <attribute default="${javac.modulepath}" name="modulepath"/>
+ <attribute default="${javac.upgrademodulepath}" name="upgrademodulepath"/>
+ <attribute default="${javac.processorpath}" name="processorpath"/>
+ <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <attribute default="${javac.debug}" name="debug"/>
+ <attribute default="${empty.dir}" name="sourcepath"/>
+ <attribute default="${empty.dir}" name="gensrcdir"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <property location="${build.dir}/empty" name="empty.dir"/>
+ <mkdir dir="${empty.dir}"/>
+ <mkdir dir="@{apgeneratedsrcdir}"/>
+ <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
+ <src>
+ <dirset dir="@{gensrcdir}" erroronmissingdir="false">
+ <include name="*"/>
+ </dirset>
+ </src>
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
+ <compilerarg line="${javac.profile.cmd.line.arg}"/>
+ <compilerarg line="${javac.compilerargs}"/>
+ <compilerarg value="-processorpath"/>
+ <compilerarg path="@{processorpath}:${empty.dir}"/>
+ <compilerarg line="${ap.processors.internal}"/>
+ <compilerarg line="${annotation.processing.processor.options}"/>
+ <compilerarg value="-s"/>
+ <compilerarg path="@{apgeneratedsrcdir}"/>
+ <compilerarg line="${ap.proc.none.internal}"/>
+ <customize/>
+ </javac>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-ap-cmdline-properties,-init-source-module-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
+ <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${src.local-src.dir}:${src.javafx.dir}:${src.webapp.dir}:${src.console.dir}:${src.portrayal.dir}:${src.earth-obs.dir}:${src.geotiff.dir}:${src.netcdf.dir}:${src.shapefile.dir}:${src.sql.dir}:${src.xmlstore.dir}:${src.storage.dir}:${src.feature.dir}:${src.referencing.dir}:${src.ref-by-id.dir}:${src.metadata.dir}:${src.utility.dir}:${src.fra-profile.dir}:${src.jpn-profile.dir}:${src.gdal.dir}:${src.c.gdal.dir}" name="srcdir"/>
+ <attribute default="${build.classes.dir}" name="destdir"/>
+ <attribute default="${javac.classpath}" name="classpath"/>
+ <attribute default="${javac.modulepath}" name="modulepath"/>
+ <attribute default="${javac.upgrademodulepath}" name="upgrademodulepath"/>
+ <attribute default="${javac.processorpath}" name="processorpath"/>
+ <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <attribute default="${javac.debug}" name="debug"/>
+ <attribute default="${empty.dir}" name="sourcepath"/>
+ <attribute default="${empty.dir}" name="gensrcdir"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <property location="${build.dir}/empty" name="empty.dir"/>
+ <mkdir dir="${empty.dir}"/>
+ <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
+ <src>
+ <dirset dir="@{gensrcdir}" erroronmissingdir="false">
+ <include name="*"/>
+ </dirset>
+ </src>
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
+ <compilerarg line="${javac.profile.cmd.line.arg}"/>
+ <compilerarg line="${javac.compilerargs}"/>
+ <customize/>
+ </javac>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-macrodef-javac-with-module,-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
+ <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${src.local-src.dir}:${src.javafx.dir}:${src.webapp.dir}:${src.console.dir}:${src.portrayal.dir}:${src.earth-obs.dir}:${src.geotiff.dir}:${src.netcdf.dir}:${src.shapefile.dir}:${src.sql.dir}:${src.xmlstore.dir}:${src.storage.dir}:${src.feature.dir}:${src.referencing.dir}:${src.ref-by-id.dir}:${src.metadata.dir}:${src.utility.dir}:${src.fra-profile.dir}:${src.jpn-profile.dir}:${src.gdal.dir}:${src.c.gdal.dir}" name="srcdir"/>
+ <attribute default="${build.classes.dir}" name="destdir"/>
+ <attribute default="${javac.classpath}" name="classpath"/>
+ <sequential>
+ <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ </depend>
+ </sequential>
+ </macrodef>
+ <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${build.classes.dir}" name="destdir"/>
+ <sequential>
+ <fail unless="javac.includes">Must set javac.includes</fail>
+ <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
+ <path>
+ <filelist dir="@{destdir}" files="${javac.includes}"/>
+ </path>
+ <globmapper from="*.java" to="*.class"/>
+ </pathconvert>
+ <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
+ <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
+ <delete>
+ <files includesfile="${javac.includesfile.binary}"/>
+ </delete>
+ <delete>
+ <fileset file="${javac.includesfile.binary}"/>
+ </delete>
+ </sequential>
+ </macrodef>
+ </target>
+ <target if="${junit.available}" name="-init-macrodef-junit-init">
+ <condition else="false" property="nb.junit.batch" value="true">
+ <and>
+ <istrue value="${junit.available}"/>
+ <not>
+ <isset property="test.method"/>
+ </not>
+ </and>
+ </condition>
+ <condition else="false" property="nb.junit.single" value="true">
+ <and>
+ <istrue value="${junit.available}"/>
+ <isset property="test.method"/>
+ </and>
+ </condition>
+ </target>
+ <target name="-init-test-properties">
+ <property name="test.binaryincludes" value="<nothing>"/>
+ <property name="test.binarytestincludes" value=""/>
+ <property name="test.binaryexcludes" value=""/>
+ </target>
+ <target depends="-init-modules-supported" if="modules.supported.internal" name="-init-macrodef-junit-prototype-with-module">
+ <macrodef name="junit-prototype" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <element name="customizePrototype" optional="true"/>
+ <sequential>
+ <property name="junit.forkmode" value="perTest"/>
+ <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
+ <syspropertyset>
+ <propertyref prefix="test-sys-prop."/>
+ <mapper from="test-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ <classpath>
+ <path path="${run.test.classpath}"/>
+ </classpath>
+ <modulepath>
+ <path path="${run.test.modulepath}"/>
+ </modulepath>
+ <formatter type="brief" usefile="false"/>
+ <formatter type="xml"/>
+ <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
+ <jvmarg value="-ea"/>
+ <jvmarg line="${run.test.jvmargs}"/>
+ <customizePrototype/>
+ </junit>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-modules-supported" name="-init-macrodef-junit-prototype-without-module" unless="modules.supported.internal">
+ <macrodef name="junit-prototype" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <element name="customizePrototype" optional="true"/>
+ <sequential>
+ <property name="junit.forkmode" value="perTest"/>
+ <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
+ <syspropertyset>
+ <propertyref prefix="test-sys-prop."/>
+ <mapper from="test-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ <classpath>
+ <path path="${run.test.classpath}"/>
+ </classpath>
+ <formatter type="brief" usefile="false"/>
+ <formatter type="xml"/>
+ <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
+ <jvmarg value="-ea"/>
+ <customizePrototype/>
+ </junit>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-test-properties,-init-macrodef-junit-prototype-with-module,-init-macrodef-junit-prototype-without-module" if="${nb.junit.single}" name="-init-macrodef-junit-single" unless="${nb.junit.batch}">
+ <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <attribute default="**" name="testincludes"/>
+ <attribute default="" name="testmethods"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <j2seproject3:junit-prototype>
+ <customizePrototype>
+ <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
+ <customize/>
+ </customizePrototype>
+ </j2seproject3:junit-prototype>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-test-properties,-init-macrodef-junit-prototype-with-module,-init-macrodef-junit-prototype-without-module" if="${nb.junit.batch}" name="-init-macrodef-junit-batch" unless="${nb.junit.single}">
+ <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <attribute default="**" name="testincludes"/>
+ <attribute default="" name="testmethods"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <j2seproject3:junit-prototype>
+ <customizePrototype>
+ <batchtest todir="${build.test.results.dir}">
+ <fileset dir="${test.javafx.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.webapp.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.console.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.portrayal.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.earth-obs.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.geotiff.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.netcdf.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.shapefile.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.sql.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.xmlstore.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.storage.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.feature.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.referencing.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.ref-by-id.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.metadata.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.utility.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.fra-profile.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.jpn-profile.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.gdal.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
+ <filename name="${test.binarytestincludes}"/>
+ </fileset>
+ </batchtest>
+ <customize/>
+ </customizePrototype>
+ </j2seproject3:junit-prototype>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-macrodef-junit-init,-init-macrodef-junit-single, -init-macrodef-junit-batch" if="${junit.available}" name="-init-macrodef-junit"/>
+ <target if="${testng.available}" name="-init-macrodef-testng">
+ <macrodef name="testng" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <attribute default="**" name="testincludes"/>
+ <attribute default="" name="testmethods"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <condition else="" property="testng.methods.arg" value="@{testincludes}.@{testmethods}">
+ <isset property="test.method"/>
+ </condition>
+ <union id="test.set">
+ <fileset dir="${test.javafx.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.webapp.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.console.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.portrayal.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.earth-obs.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.geotiff.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.netcdf.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.shapefile.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.sql.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.xmlstore.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.storage.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.feature.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.referencing.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.ref-by-id.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.metadata.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.utility.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.fra-profile.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.jpn-profile.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ <fileset dir="${test.gdal.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ </union>
+ <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
- <testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="Apache_SIS_on_GeoAPI_4.0" testname="TestNG tests" workingDir="${work.dir}">
++ <testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="Apache_SIS_on_GeoAPI_3.1" testname="TestNG tests" workingDir="${work.dir}">
+ <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
+ <propertyset>
+ <propertyref prefix="test-sys-prop."/>
+ <mapper from="test-sys-prop.*" to="*" type="glob"/>
+ </propertyset>
+ <classpath>
+ <path path="${run.test.classpath}"/>
+ </classpath>
+ <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
+ <customize/>
+ </testng>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-test-impl">
+ <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <attribute default="**" name="testincludes"/>
+ <attribute default="" name="testmethods"/>
+ <element implicit="true" name="customize" optional="true"/>
+ <sequential>
+ <echo>No tests executed.</echo>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-macrodef-junit" if="${junit.available}" name="-init-macrodef-junit-impl">
+ <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <attribute default="**" name="testincludes"/>
+ <attribute default="" name="testmethods"/>
+ <element implicit="true" name="customize" optional="true"/>
+ <sequential>
+ <j2seproject3:junit excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
+ <customize/>
+ </j2seproject3:junit>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-macrodef-testng" if="${testng.available}" name="-init-macrodef-testng-impl">
+ <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <attribute default="**" name="testincludes"/>
+ <attribute default="" name="testmethods"/>
+ <element implicit="true" name="customize" optional="true"/>
+ <sequential>
+ <j2seproject3:testng excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
+ <customize/>
+ </j2seproject3:testng>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-macrodef-test-impl,-init-macrodef-junit-impl,-init-macrodef-testng-impl" name="-init-macrodef-test">
+ <macrodef name="test" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <attribute default="**" name="testincludes"/>
+ <attribute default="" name="testmethods"/>
+ <sequential>
+ <j2seproject3:test-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
+ <customize>
+ <jvmarg line="${run.jvmargs}"/>
+ <jvmarg line="${run.jvmargs.ide}"/>
+ </customize>
+ </j2seproject3:test-impl>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-macrodef-junit" if="${junit.available}" name="-init-macrodef-junit-debug-impl">
+ <macrodef name="test-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <attribute default="**" name="testincludes"/>
+ <attribute default="" name="testmethods"/>
+ <element name="customizeDebuggee" optional="true"/>
+ <sequential>
+ <j2seproject3:junit excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
+ <customize>
+ <jvmarg value="-agentlib:jdwp=transport=${debug-transport},address=${jpda.address}"/>
+ <customizeDebuggee/>
+ </customize>
+ </j2seproject3:junit>
+ </sequential>
+ </macrodef>
+ </target>
+ <target if="${testng.available}" name="-init-macrodef-testng-debug">
+ <macrodef name="testng-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${main.class}" name="testClass"/>
+ <attribute default="" name="testMethod"/>
+ <element name="customize2" optional="true"/>
+ <sequential>
+ <condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}">
+ <isset property="test.method"/>
+ </condition>
- <condition else="-suitename Apache_SIS_on_GeoAPI_4.0 -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
++ <condition else="-suitename Apache_SIS_on_GeoAPI_3.1 -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
+ <matches pattern=".*\.xml" string="@{testClass}"/>
+ </condition>
+ <delete dir="${build.test.results.dir}" quiet="true"/>
+ <mkdir dir="${build.test.results.dir}"/>
+ <j2seproject3:debug classname="org.testng.TestNG" classpath="${debug.test.classpath}">
+ <customizeDebuggee>
+ <customize2/>
+ <jvmarg value="-ea"/>
+ <arg line="${testng.debug.mode}"/>
+ <arg line="-d ${build.test.results.dir}"/>
+ <arg line="-listener org.testng.reporters.VerboseReporter"/>
+ <arg line="${testng.cmd.args}"/>
+ </customizeDebuggee>
+ </j2seproject3:debug>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-macrodef-testng-debug" if="${testng.available}" name="-init-macrodef-testng-debug-impl">
+ <macrodef name="testng-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${main.class}" name="testClass"/>
+ <attribute default="" name="testMethod"/>
+ <element implicit="true" name="customize2" optional="true"/>
+ <sequential>
+ <j2seproject3:testng-debug testClass="@{testClass}" testMethod="@{testMethod}">
+ <customize2/>
+ </j2seproject3:testng-debug>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-macrodef-junit-debug-impl" if="${junit.available}" name="-init-macrodef-test-debug-junit">
+ <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <attribute default="**" name="testincludes"/>
+ <attribute default="" name="testmethods"/>
+ <attribute default="${main.class}" name="testClass"/>
+ <attribute default="" name="testMethod"/>
+ <sequential>
+ <j2seproject3:test-debug-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
+ <customizeDebuggee>
+ <jvmarg line="${run.jvmargs}"/>
+ <jvmarg line="${run.jvmargs.ide}"/>
+ </customizeDebuggee>
+ </j2seproject3:test-debug-impl>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-macrodef-testng-debug-impl" if="${testng.available}" name="-init-macrodef-test-debug-testng">
+ <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <attribute default="**" name="testincludes"/>
+ <attribute default="" name="testmethods"/>
+ <attribute default="${main.class}" name="testClass"/>
+ <attribute default="" name="testMethod"/>
+ <sequential>
+ <j2seproject3:testng-debug-impl testClass="@{testClass}" testMethod="@{testMethod}">
+ <customize2>
+ <syspropertyset>
+ <propertyref prefix="test-sys-prop."/>
+ <mapper from="test-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ </customize2>
+ </j2seproject3:testng-debug-impl>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-macrodef-test-debug-junit,-init-macrodef-test-debug-testng" name="-init-macrodef-test-debug"/>
+ <!--
+ pre NB7.2 profiling section; consider it deprecated
+ -->
+ <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile, -profile-init-check" if="profiler.info.jvmargs.agent" name="profile-init"/>
+ <target if="profiler.info.jvmargs.agent" name="-profile-pre-init">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target if="profiler.info.jvmargs.agent" name="-profile-post-init">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target if="profiler.info.jvmargs.agent" name="-profile-init-macrodef-profile">
+ <macrodef name="resolve">
+ <attribute name="name"/>
+ <attribute name="value"/>
+ <sequential>
+ <property name="@{name}" value="${env.@{value}}"/>
+ </sequential>
+ </macrodef>
+ <macrodef name="profile">
+ <attribute default="${main.class}" name="classname"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <property environment="env"/>
+ <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
+ <java classname="@{classname}" dir="${profiler.info.dir}" failonerror="${java.failonerror}" fork="true" jvm="${profiler.info.jvm}">
+ <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
+ <jvmarg value="${profiler.info.jvmargs.agent}"/>
+ <jvmarg line="${profiler.info.jvmargs}"/>
+ <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
+ <arg line="${application.args}"/>
+ <classpath>
+ <path path="${run.classpath}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="run-sys-prop."/>
+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ <customize/>
+ </java>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile" if="profiler.info.jvmargs.agent" name="-profile-init-check">
+ <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
+ <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
+ </target>
+ <!--
+ end of pre NB7.2 profiling section
+ -->
+ <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
+ <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <attribute default="${main.class}" name="name"/>
+ <attribute default="${debug.modulepath}" name="modulepath"/>
+ <attribute default="${debug.classpath}" name="classpath"/>
+ <attribute default="" name="stopclassname"/>
+ <sequential>
+ <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
+ <modulepath>
+ <path path="@{modulepath}"/>
+ </modulepath>
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ </nbjpdastart>
+ </sequential>
+ </macrodef>
+ <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <attribute default="${build.classes.dir}" name="dir"/>
+ <sequential>
+ <nbjpdareload>
+ <fileset dir="@{dir}" includes="${fix.classes}">
+ <include name="${fix.includes}*.class"/>
+ </fileset>
+ </nbjpdareload>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-debug-args">
+ <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
+ <os family="windows"/>
+ </condition>
+ <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
+ <isset property="debug.transport"/>
+ </condition>
+ </target>
+ <target depends="-init-debug-args" name="-init-macrodef-debug">
+ <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${module.name}" name="modulename"/>
+ <attribute default="${main.class}" name="classname"/>
+ <attribute default="${debug.modulepath}" name="modulepath"/>
+ <attribute default="${debug.classpath}" name="classpath"/>
+ <element name="customizeDebuggee" optional="true"/>
+ <sequential>
+ <j2seproject1:java classname="@{classname}" classpath="@{classpath}" modulename="@{modulename}" modulepath="@{modulepath}">
+ <customize>
+ <jvmarg value="-agentlib:jdwp=transport=${debug-transport},address=${jpda.address}"/>
+ <customizeDebuggee/>
+ </customize>
+ </j2seproject1:java>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-source-module-properties" if="named.module.internal" name="-init-macrodef-java-with-module">
+ <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <attribute default="${module.name}" name="modulename"/>
+ <attribute default="${main.class}" name="classname"/>
+ <attribute default="${run.modulepath}" name="modulepath"/>
+ <attribute default="${run.upgrademodulepath}" name="upgrademodulepath"/>
+ <attribute default="${run.classpath}" name="classpath"/>
+ <attribute default="jvm" name="jvm"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true" module="@{modulename}">
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ <modulepath>
+ <pathelement path="@{modulepath}"/>
+ <pathelement location="${module.build.classes.dir}"/>
+ </modulepath>
+ <upgrademodulepath>
+ <path path="@{upgrademodulepath}"/>
+ </upgrademodulepath>
+ <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
+ <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
+ <jvmarg line="${run.jvmargs}"/>
+ <jvmarg line="${run.jvmargs.ide}"/>
+ <syspropertyset>
+ <propertyref prefix="run-sys-prop."/>
+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ <customize/>
+ </java>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-source-module-properties" if="unnamed.module.internal" name="-init-macrodef-java-with-unnamed-module">
+ <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <attribute default="" name="modulename"/>
+ <attribute default="${main.class}" name="classname"/>
+ <attribute default="${run.modulepath}" name="modulepath"/>
+ <attribute default="${run.upgrademodulepath}" name="upgrademodulepath"/>
+ <attribute default="${run.classpath}" name="classpath"/>
+ <attribute default="jvm" name="jvm"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true">
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ <modulepath>
+ <path path="@{modulepath}"/>
+ </modulepath>
+ <upgrademodulepath>
+ <path path="@{upgrademodulepath}"/>
+ </upgrademodulepath>
+ <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
+ <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
+ <jvmarg line="${run.jvmargs}"/>
+ <jvmarg line="${run.jvmargs.ide}"/>
+ <syspropertyset>
+ <propertyref prefix="run-sys-prop."/>
+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ <customize/>
+ </java>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-source-module-properties" name="-init-macrodef-java-without-module" unless="modules.supported.internal">
+ <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <attribute default="" name="modulename"/>
+ <attribute default="${main.class}" name="classname"/>
+ <attribute default="" name="modulepath"/>
+ <attribute default="${run.classpath}" name="classpath"/>
+ <attribute default="jvm" name="jvm"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true">
+ <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
+ <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
+ <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
+ <jvmarg line="${run.jvmargs}"/>
+ <jvmarg line="${run.jvmargs.ide}"/>
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="run-sys-prop."/>
+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ <customize/>
+ </java>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-macrodef-java-with-module, -init-macrodef-java-with-unnamed-module, -init-macrodef-java-without-module" name="-init-macrodef-java"/>
+ <target name="-init-macrodef-copylibs">
+ <macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${manifest.file}" name="manifest"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
+ <pathconvert property="run.classpath.without.build.classes.dir">
+ <path path="${run.classpath}"/>
+ <map from="${build.classes.dir.resolved}" to=""/>
+ </pathconvert>
+ <pathconvert pathsep=" " property="jar.classpath">
+ <path path="${run.classpath.without.build.classes.dir}"/>
+ <chainedmapper>
+ <flattenmapper/>
+ <filtermapper>
+ <replacestring from=" " to="%20"/>
+ </filtermapper>
+ <globmapper from="*" to="lib/*"/>
+ </chainedmapper>
+ </pathconvert>
+ <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
+ <copylibs compress="${jar.compress}" excludeFromCopy="${copylibs.excludes}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" manifestencoding="UTF-8" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
+ <fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>
+ <manifest>
+ <attribute name="Class-Path" value="${jar.classpath}"/>
+ <customize/>
+ </manifest>
+ </copylibs>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-presetdef-jar">
+ <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}" manifestencoding="UTF-8">
+ <j2seproject1:fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>
+ </jar>
+ </presetdef>
+ </target>
+ <target name="-init-ap-cmdline-properties">
+ <property name="annotation.processing.enabled" value="true"/>
+ <property name="annotation.processing.processors.list" value=""/>
+ <property name="annotation.processing.processor.options" value=""/>
+ <property name="annotation.processing.run.all.processors" value="true"/>
+ <property name="javac.processorpath" value="${javac.classpath}"/>
+ <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
+ <condition property="ap.supported.internal" value="true">
+ <not>
+ <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
+ </not>
+ </condition>
+ </target>
+ <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
+ <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
+ <isfalse value="${annotation.processing.run.all.processors}"/>
+ </condition>
+ <condition else="" property="ap.proc.none.internal" value="-proc:none">
+ <isfalse value="${annotation.processing.enabled}"/>
+ </condition>
+ </target>
+ <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
+ <property name="ap.cmd.line.internal" value=""/>
+ </target>
+ <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-test,-init-macrodef-test-debug,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar,-init-ap-cmdline" name="init"/>
+ <!--
+ ===================
+ COMPILATION SECTION
+ ===================
+ -->
+ <target name="-deps-jar-init" unless="built-jar.properties">
+ <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
+ <delete file="${built-jar.properties}" quiet="true"/>
+ </target>
+ <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
- <echo level="warn" message="Cycle detected: Apache SIS on GeoAPI 4.0 was already built"/>
++ <echo level="warn" message="Cycle detected: Apache SIS on GeoAPI 3.1 was already built"/>
+ </target>
+ <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
+ <mkdir dir="${build.dir}"/>
+ <touch file="${built-jar.properties}" verbose="false"/>
+ <property file="${built-jar.properties}" prefix="already.built.jar."/>
+ <antcall target="-warn-already-built-jar"/>
+ <propertyfile file="${built-jar.properties}">
+ <entry key="${basedir}" value=""/>
+ </propertyfile>
- <antcall target="-maybe-call-dep">
- <param name="call.built.properties" value="${built-jar.properties}"/>
- <param location="${project.GeoAPI}" name="call.subproject"/>
- <param location="${project.GeoAPI}/build.xml" name="call.script"/>
- <param name="call.target" value="jar"/>
- <param name="transfer.built-jar.properties" value="${built-jar.properties}"/>
- <param name="transfer.not.archive.disabled" value="true"/>
- <param name="transfer.do.jlink" value="false"/>
- </antcall>
+ </target>
+ <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
+ <target depends="init" name="-check-automatic-build">
+ <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
+ </target>
+ <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
+ <antcall target="clean">
+ <param name="no.dependencies" value="true"/>
+ </antcall>
+ </target>
+ <target depends="init,deps-jar" name="-pre-pre-compile">
+ <mkdir dir="${build.classes.dir}"/>
+ </target>
+ <target name="-pre-compile">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target if="do.depend.true" name="-compile-depend">
+ <pathconvert property="build.generated.subdirs">
+ <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
+ <include name="*"/>
+ </dirset>
+ </pathconvert>
+ <j2seproject3:depend srcdir="${src.local-src.dir}:${src.javafx.dir}:${src.webapp.dir}:${src.console.dir}:${src.portrayal.dir}:${src.earth-obs.dir}:${src.geotiff.dir}:${src.netcdf.dir}:${src.shapefile.dir}:${src.sql.dir}:${src.xmlstore.dir}:${src.storage.dir}:${src.feature.dir}:${src.referencing.dir}:${src.ref-by-id.dir}:${src.metadata.dir}:${src.utility.dir}:${src.fra-profile.dir}:${src.jpn-profile.dir}:${src.gdal.dir}:${src.c.gdal.dir}:${build.generated.subdirs}"/>
+ </target>
+ <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">
+ <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
+ <copy todir="${build.classes.dir}">
+ <fileset dir="${src.local-src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${src.javafx.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${src.webapp.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${src.console.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${src.portrayal.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${src.earth-obs.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${src.geotiff.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${src.netcdf.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${src.shapefile.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${src.sql.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${src.xmlstore.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${src.storage.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${src.feature.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${src.referencing.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${src.ref-by-id.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${src.metadata.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${src.utility.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${src.fra-profile.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${src.jpn-profile.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${src.gdal.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${src.c.gdal.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ </copy>
+ </target>
+ <target if="has.persistence.xml" name="-copy-persistence-xml">
+ <mkdir dir="${build.classes.dir}/META-INF"/>
+ <copy todir="${build.classes.dir}/META-INF">
+ <fileset dir="${meta.inf.dir}" includes="persistence.xml orm.xml"/>
+ </copy>
+ </target>
+ <target name="-post-compile">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
+ <target name="-pre-compile-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
+ <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
+ <j2seproject3:force-recompile/>
+ <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}, module-info.java" sourcepath="${src.local-src.dir}:${src.javafx.dir}:${src.webapp.dir}:${src.console.dir}:${src.portrayal.dir}:${src.earth-obs.dir}:${src.geotiff.dir}:${src.netcdf.dir}:${src.shapefile.dir}:${src.sql.dir}:${src.xmlstore.dir}:${src.storage.dir}:${src.feature.dir}:${src.referencing.dir}:${src.ref-by-id.dir}:${src.metadata.dir}:${src.utility.dir}:${src.fra-profile [...]
+ </target>
+ <target name="-post-compile-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
+ <!--
+ ====================
+ JAR BUILDING SECTION
+ ====================
+ -->
+ <target depends="init" name="-pre-pre-jar">
+ <dirname file="${dist.jar}" property="dist.jar.dir"/>
+ <mkdir dir="${dist.jar.dir}"/>
+ </target>
+ <target name="-pre-jar">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile" name="-check-module-main-class">
+ <pathconvert property="main.class.file">
+ <string value="${main.class}"/>
+ <unpackagemapper from="*" to="*.class"/>
+ </pathconvert>
+ <condition property="do.module.main.class">
+ <and>
+ <isset property="main.class.available"/>
+ <available file="${build.classes.dir}/module-info.class"/>
+ <available file="${build.classes.dir}/${main.class.file}"/>
+ <isset property="libs.CopyLibs.classpath"/>
+ <available classname="org.netbeans.modules.java.j2seproject.moduletask.ModuleMainClass" classpath="${libs.CopyLibs.classpath}"/>
+ </and>
+ </condition>
+ </target>
+ <target depends="-check-module-main-class" if="do.module.main.class" name="-set-module-main-class">
+ <taskdef classname="org.netbeans.modules.java.j2seproject.moduletask.ModuleMainClass" classpath="${libs.CopyLibs.classpath}" name="modulemainclass"/>
+ <modulemainclass failonerror="false" mainclass="${main.class}" moduleinfo="${build.classes.dir}/module-info.class"/>
+ </target>
+ <target depends="init" if="do.archive" name="-do-jar-create-manifest" unless="manifest.available">
+ <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
+ <touch file="${tmp.manifest.file}" verbose="false"/>
+ </target>
+ <target depends="init" if="do.archive+manifest.available" name="-do-jar-copy-manifest">
+ <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
+ <copy encoding="${manifest.encoding}" file="${manifest.file}" outputencoding="UTF-8" tofile="${tmp.manifest.file}"/>
+ </target>
+ <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+main.class.available" name="-do-jar-set-mainclass">
+ <manifest encoding="UTF-8" file="${tmp.manifest.file}" mode="update">
+ <attribute name="Main-Class" value="${main.class}"/>
+ </manifest>
+ </target>
+ <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+profile.available" name="-do-jar-set-profile">
+ <manifest encoding="UTF-8" file="${tmp.manifest.file}" mode="update">
+ <attribute name="Profile" value="${javac.profile}"/>
+ </manifest>
+ </target>
+ <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+splashscreen.available" name="-do-jar-set-splashscreen">
+ <basename file="${application.splash}" property="splashscreen.basename"/>
+ <mkdir dir="${build.classes.dir}/META-INF"/>
+ <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
+ <manifest encoding="UTF-8" file="${tmp.manifest.file}" mode="update">
+ <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
+ </manifest>
+ </target>
+ <target depends="init,compile" name="-check-do-mkdist">
+ <condition property="do.mkdist">
+ <and>
+ <isset property="do.archive"/>
+ <isset property="libs.CopyLibs.classpath"/>
+ <not>
+ <istrue value="${mkdist.disabled}"/>
+ </not>
+ <not>
+ <available file="${build.classes.dir}/module-info.class"/>
+ </not>
+ </and>
+ </condition>
+ </target>
+ <target depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-check-do-mkdist" if="do.mkdist" name="-do-jar-copylibs">
+ <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
+ <echo level="info">To run this application from the command line without Ant, try:</echo>
+ <property location="${dist.jar}" name="dist.jar.resolved"/>
+ <echo level="info">java -jar "${dist.jar.resolved}"</echo>
+ </target>
+ <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-check-do-mkdist" if="do.archive" name="-do-jar-jar" unless="do.mkdist">
+ <j2seproject1:jar manifest="${tmp.manifest.file}"/>
+ <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
+ <property location="${dist.jar}" name="dist.jar.resolved"/>
+ <condition else="${dist.jar.resolved}" property="jar.usage.message.class.path.replacement" value="">
+ <isset property="named.module.internal"/>
+ </condition>
+ <pathconvert property="run.classpath.with.dist.jar">
+ <path path="${run.classpath}"/>
+ <map from="${build.classes.dir.resolved}" to="${jar.usage.message.class.path.replacement}"/>
+ </pathconvert>
+ <pathconvert property="run.modulepath.with.dist.jar">
+ <path location="${dist.jar.resolved}"/>
+ <path path="${run.modulepath}"/>
+ <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
+ </pathconvert>
+ <condition else="${run.modulepath}" property="jar.usage.message.run.modulepath.with.dist.jar" value="${run.modulepath.with.dist.jar}">
+ <isset property="named.module.internal"/>
+ </condition>
+ <condition else="" property="jar.usage.message.module.path" value=" -p ${jar.usage.message.run.modulepath.with.dist.jar}">
+ <and>
+ <isset property="modules.supported.internal"/>
+ <length length="0" string="${jar.usage.message.run.modulepath.with.dist.jar}" when="greater"/>
+ </and>
+ </condition>
+ <condition else="" property="jar.usage.message.class.path" value=" -cp ${run.classpath.with.dist.jar}">
+ <length length="0" string="${run.classpath.with.dist.jar}" when="greater"/>
+ </condition>
+ <condition else="/${main.class}" property="jar.usage.message.main.class.class.selector" value="">
+ <isset property="do.module.main.class"/>
+ </condition>
+ <condition else=" ${main.class}" property="jar.usage.message.main.class" value=" -m ${module.name}${jar.usage.message.main.class.class.selector}">
+ <isset property="named.module.internal"/>
+ </condition>
+ <condition else="" property="jar.usage.message" value="To run this application from the command line without Ant, try:${line.separator}${platform.java}${jar.usage.message.module.path}${jar.usage.message.class.path}${jar.usage.message.main.class}">
+ <isset property="main.class.available"/>
+ </condition>
+ <condition else="debug" property="jar.usage.level" value="info">
+ <isset property="main.class.available"/>
+ </condition>
+ <echo level="${jar.usage.level}" message="${jar.usage.message}"/>
+ </target>
+ <target depends="-do-jar-copylibs" if="do.archive" name="-do-jar-delete-manifest">
+ <delete>
+ <fileset file="${tmp.manifest.file}"/>
+ </delete>
+ </target>
+ <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-do-jar-jar,-do-jar-delete-manifest" name="-do-jar-without-libraries"/>
+ <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-do-jar-copylibs,-do-jar-delete-manifest" name="-do-jar-with-libraries"/>
+ <target name="-post-jar">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-jar,-set-module-main-class,-do-jar-without-libraries,-do-jar-with-libraries,-post-jar" name="-do-jar"/>
+ <target depends="init,compile,-pre-jar,-do-jar,-post-jar,deploy" description="Build JAR." name="jar"/>
+ <!--
+ =================
+ DEPLOY SECTION
+ =================
+ -->
+ <target name="-pre-deploy">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init" name="-check-jlink">
+ <condition property="do.jlink.internal">
+ <and>
+ <istrue value="${do.jlink}"/>
+ <isset property="do.archive"/>
+ <isset property="named.module.internal"/>
+ </and>
+ </condition>
+ </target>
+ <target depends="init,-do-jar,-post-jar,-pre-deploy,-check-jlink" if="do.jlink.internal" name="-do-deploy">
+ <delete dir="${dist.jlink.dir}" failonerror="false" quiet="true"/>
+ <property name="jlink.launcher.name" value="${application.title}"/>
+ <condition else="${module.name}" property="jlink.add.modules" value="${module.name},${jlink.additionalmodules}">
+ <and>
+ <isset property="jlink.additionalmodules"/>
+ <length length="0" string="${jlink.additionalmodules}" when="greater"/>
+ </and>
+ </condition>
+ <condition property="jlink.do.strip.internal">
+ <and>
+ <isset property="jlink.strip"/>
+ <istrue value="${jlink.strip}"/>
+ </and>
+ </condition>
+ <condition property="jlink.do.additionalparam.internal">
+ <and>
+ <isset property="jlink.additionalparam"/>
+ <length length="0" string="${jlink.additionalparam}" when="greater"/>
+ </and>
+ </condition>
+ <condition property="jlink.do.launcher.internal">
+ <and>
+ <istrue value="${jlink.launcher}"/>
+ <isset property="main.class.available"/>
+ </and>
+ </condition>
+ <property name="platform.jlink" value="${jdk.home}/bin/jlink"/>
+ <property name="jlink.systemmodules.internal" value="${jdk.home}/jmods"/>
+ <exec executable="${platform.jlink}">
+ <arg value="--module-path"/>
+ <arg path="${jlink.systemmodules.internal}:${run.modulepath}:${dist.jar}"/>
+ <arg value="--add-modules"/>
+ <arg value="${jlink.add.modules}"/>
+ <arg if:set="jlink.do.strip.internal" value="--strip-debug"/>
+ <arg if:set="jlink.do.launcher.internal" value="--launcher"/>
+ <arg if:set="jlink.do.launcher.internal" value="${jlink.launcher.name}=${module.name}/${main.class}"/>
+ <arg if:set="jlink.do.additionalparam.internal" line="${jlink.additionalparam}"/>
+ <arg value="--output"/>
+ <arg value="${dist.jlink.output}"/>
+ </exec>
+ </target>
+ <target name="-post-deploy">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="-do-jar,-post-jar,-pre-deploy,-do-deploy,-post-deploy" name="deploy"/>
+ <!--
+ =================
+ EXECUTION SECTION
+ =================
+ -->
+ <target depends="init,compile" description="Run a main class." name="run">
+ <j2seproject1:java>
+ <customize>
+ <arg line="${application.args}"/>
+ </customize>
+ </j2seproject1:java>
+ </target>
+ <target name="-do-not-recompile">
+ <property name="javac.includes.binary" value=""/>
+ </target>
+ <target depends="init,compile-single" name="run-single">
+ <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
+ <j2seproject1:java classname="${run.class}"/>
+ </target>
+ <target depends="init,compile-test-single" name="run-test-with-main">
+ <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
+ <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
+ </target>
+ <!--
+ =================
+ DEBUGGING SECTION
+ =================
+ -->
+ <target depends="init" if="netbeans.home" name="-debug-start-debugger">
+ <j2seproject1:nbjpdastart name="${debug.class}"/>
+ </target>
+ <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
+ <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
+ </target>
+ <target depends="init,compile" name="-debug-start-debuggee">
+ <j2seproject3:debug>
+ <customizeDebuggee>
+ <arg line="${application.args}"/>
+ </customizeDebuggee>
+ </j2seproject3:debug>
+ </target>
+ <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
+ <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
+ <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
+ </target>
+ <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
+ <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
+ <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
+ <j2seproject3:debug classname="${debug.class}"/>
+ </target>
+ <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
+ <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
+ <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
+ <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
+ </target>
+ <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
+ <target depends="init" name="-pre-debug-fix">
+ <fail unless="fix.includes">Must set fix.includes</fail>
+ <property name="javac.includes" value="${fix.includes}.java"/>
+ </target>
+ <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
+ <j2seproject1:nbjpdareload/>
+ </target>
+ <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
+ <!--
+ =================
+ PROFILING SECTION
+ =================
+ -->
+ <!--
+ pre NB7.2 profiler integration
+ -->
+ <target depends="profile-init,compile" description="Profile a project in the IDE." if="profiler.info.jvmargs.agent" name="-profile-pre72">
+ <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
+ <nbprofiledirect>
+ <classpath>
+ <path path="${run.classpath}"/>
+ </classpath>
+ </nbprofiledirect>
+ <profile/>
+ </target>
+ <target depends="profile-init,compile-single" description="Profile a selected class in the IDE." if="profiler.info.jvmargs.agent" name="-profile-single-pre72">
+ <fail unless="profile.class">Must select one file in the IDE or set profile.class</fail>
+ <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
+ <nbprofiledirect>
+ <classpath>
+ <path path="${run.classpath}"/>
+ </classpath>
+ </nbprofiledirect>
+ <profile classname="${profile.class}"/>
+ </target>
+ <target depends="profile-init,compile-single" if="profiler.info.jvmargs.agent" name="-profile-applet-pre72">
+ <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
+ <nbprofiledirect>
+ <classpath>
+ <path path="${run.classpath}"/>
+ </classpath>
+ </nbprofiledirect>
+ <profile classname="sun.applet.AppletViewer">
+ <customize>
+ <arg value="${applet.url}"/>
+ </customize>
+ </profile>
+ </target>
+ <target depends="-init-macrodef-junit,profile-init,compile-test-single" if="profiler.info.jvmargs.agent" name="-profile-test-single-pre72">
+ <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
+ <nbprofiledirect>
+ <classpath>
+ <path path="${run.test.classpath}"/>
+ </classpath>
+ </nbprofiledirect>
+ <j2seproject3:junit excludes="${excludes}" includes="${includes}" testincludes="${profile.class}" testmethods="">
+ <customize>
+ <jvmarg value="-agentlib:jdwp=transport=${debug-transport},address=${jpda.address}"/>
+ <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
+ <jvmarg value="${profiler.info.jvmargs.agent}"/>
+ <jvmarg line="${profiler.info.jvmargs}"/>
+ <classpath>
+ <path path="${run.test.classpath}"/>
+ </classpath>
+ </customize>
+ </j2seproject3:junit>
+ </target>
+ <!--
+ end of pre NB72 profiling section
+ -->
+ <target if="netbeans.home" name="-profile-check">
+ <condition property="profiler.configured">
+ <or>
+ <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-agentpath:"/>
+ <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-javaagent:"/>
+ </or>
+ </condition>
+ </target>
+ <target depends="-profile-check,-profile-pre72" description="Profile a project in the IDE." if="profiler.configured" name="profile" unless="profiler.info.jvmargs.agent">
+ <startprofiler/>
+ <antcall target="run"/>
+ </target>
+ <target depends="-profile-check,-profile-single-pre72" description="Profile a selected class in the IDE." if="profiler.configured" name="profile-single" unless="profiler.info.jvmargs.agent">
+ <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
+ <startprofiler/>
+ <antcall target="run-single"/>
+ </target>
+ <target depends="-profile-test-single-pre72" description="Profile a selected test in the IDE." name="profile-test-single"/>
+ <target depends="-profile-check" description="Profile a selected test in the IDE." if="profiler.configured" name="profile-test" unless="profiler.info.jvmargs">
+ <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
+ <startprofiler/>
+ <antcall target="test-single"/>
+ </target>
+ <target depends="-profile-check" description="Profile a selected class in the IDE." if="profiler.configured" name="profile-test-with-main">
+ <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
+ <startprofiler/>
+ <antcall target="run-test-with-main"/>
+ </target>
+ <target depends="-profile-check,-profile-applet-pre72" if="profiler.configured" name="profile-applet" unless="profiler.info.jvmargs.agent">
+ <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
+ <startprofiler/>
+ <antcall target="run-applet"/>
+ </target>
+ <!--
+ ===============
+ JAVADOC SECTION
+ ===============
+ -->
+ <target depends="init" if="have.sources" name="-javadoc-build">
+ <mkdir dir="${dist.javadoc.dir}"/>
+ <condition else="" property="javadoc.endorsed.classpath.cmd.line.arg" value="-J${endorsed.classpath.cmd.line.arg}">
+ <and>
+ <isset property="endorsed.classpath.cmd.line.arg"/>
+ <not>
+ <equals arg1="${endorsed.classpath.cmd.line.arg}" arg2=""/>
+ </not>
+ </and>
+ </condition>
+ <condition else="" property="bug5101868workaround" value="*.java">
+ <matches pattern="1\.[56](\..*)?" string="${java.version}"/>
+ </condition>
+ <condition else="" property="javadoc.html5.cmd.line.arg" value="-html5">
+ <and>
+ <isset property="javadoc.html5"/>
+ <available file="${jdk.home}${file.separator}lib${file.separator}jrt-fs.jar"/>
+ </and>
+ </condition>
+ <javadoc additionalparam="-J-Dfile.encoding=${file.encoding} ${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version [...]
+ <classpath>
+ <path path="${javac.classpath}"/>
+ </classpath>
+ <fileset dir="${src.local-src.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ <fileset dir="${src.javafx.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ <fileset dir="${src.webapp.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ <fileset dir="${src.console.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ <fileset dir="${src.portrayal.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ <fileset dir="${src.earth-obs.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ <fileset dir="${src.geotiff.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ <fileset dir="${src.netcdf.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ <fileset dir="${src.shapefile.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ <fileset dir="${src.sql.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ <fileset dir="${src.xmlstore.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ <fileset dir="${src.storage.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ <fileset dir="${src.feature.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ <fileset dir="${src.referencing.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ <fileset dir="${src.ref-by-id.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ <fileset dir="${src.metadata.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ <fileset dir="${src.utility.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ <fileset dir="${src.fra-profile.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ <fileset dir="${src.jpn-profile.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ <fileset dir="${src.gdal.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ <fileset dir="${src.c.gdal.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
+ <include name="**/*.java"/>
+ <exclude name="*.java"/>
+ </fileset>
+ <arg line="${javadoc.endorsed.classpath.cmd.line.arg}"/>
+ <arg line="${javadoc.html5.cmd.line.arg}"/>
+ </javadoc>
+ <copy todir="${dist.javadoc.dir}">
+ <fileset dir="${src.local-src.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.javafx.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.webapp.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.console.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.portrayal.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.earth-obs.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.geotiff.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.netcdf.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.shapefile.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.sql.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.xmlstore.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.storage.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.feature.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.referencing.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.ref-by-id.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.metadata.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.utility.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.fra-profile.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.jpn-profile.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.gdal.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.c.gdal.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
+ <include name="**/doc-files/**"/>
+ </fileset>
+ </copy>
+ </target>
+ <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
+ <nbbrowse file="${dist.javadoc.dir}/index.html"/>
+ </target>
+ <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
+ <!--
+ =========================
+ TEST COMPILATION SECTION
+ =========================
+ -->
+ <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
+ <mkdir dir="${build.test.classes.dir}"/>
+ </target>
+ <target name="-pre-compile-test">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="-init-source-module-properties" if="named.module.internal" name="-init-test-javac-module-properties-with-module">
+ <j2seproject3:modulename property="test.module.name" sourcepath="${test.javafx.dir}:${test.webapp.dir}:${test.console.dir}:${test.portrayal.dir}:${test.earth-obs.dir}:${test.geotiff.dir}:${test.netcdf.dir}:${test.shapefile.dir}:${test.sql.dir}:${test.xmlstore.dir}:${test.storage.dir}:${test.feature.dir}:${test.referencing.dir}:${test.ref-by-id.dir}:${test.metadata.dir}:${test.utility.dir}:${test.fra-profile.dir}:${test.jpn-profile.dir}:${test.gdal.dir}"/>
+ <condition else="${empty.dir}" property="javac.test.sourcepath" value="${test.javafx.dir}:${test.webapp.dir}:${test.console.dir}:${test.portrayal.dir}:${test.earth-obs.dir}:${test.geotiff.dir}:${test.netcdf.dir}:${test.shapefile.dir}:${test.sql.dir}:${test.xmlstore.dir}:${test.storage.dir}:${test.feature.dir}:${test.referencing.dir}:${test.ref-by-id.dir}:${test.metadata.dir}:${test.utility.dir}:${test.fra-profile.dir}:${test.jpn-profile.dir}:${test.gdal.dir}">
+ <and>
+ <isset property="test.module.name"/>
+ <length length="0" string="${test.module.name}" when="greater"/>
+ </and>
+ </condition>
+ <condition else="--patch-module ${module.name}=${test.javafx.dir}:${test.webapp.dir}:${test.console.dir}:${test.portrayal.dir}:${test.earth-obs.dir}:${test.geotiff.dir}:${test.netcdf.dir}:${test.shapefile.dir}:${test.sql.dir}:${test.xmlstore.dir}:${test.storage.dir}:${test.feature.dir}:${test.referencing.dir}:${test.ref-by-id.dir}:${test.metadata.dir}:${test.utility.dir}:${test.fra-profile.dir}:${test.jpn-profile.dir}:${test.gdal.dir} --add-reads ${module.name}=ALL-UNNAMED" prop [...]
+ <and>
+ <isset property="test.module.name"/>
+ <length length="0" string="${test.module.name}" when="greater"/>
+ </and>
+ </condition>
+ </target>
+ <target depends="-init-source-module-properties" if="named.module.internal" name="-init-test-run-module-properties">
+ <condition else="${module.name}" property="run.test.addexport.source.module.internal" value="${test.module.name}">
+ <and>
+ <isset property="test.module.name"/>
+ <length length="0" string="${test.module.name}" when="greater"/>
+ </and>
+ </condition>
+ <fileset dir="${build.test.classes.dir}" id="run.test.packages.internal" includes="**/*.class"/>
+ <property location="${build.test.classes.dir}" name="build.test.classes.dir.abs.internal"/>
+ <pathconvert pathsep=" " property="run.test.addexports.internal" refid="run.test.packages.internal">
+ <chainedmapper>
+ <regexpmapper from="^(.*)\Q${file.separator}\E.*\.class$$" to="\1"/>
+ <filtermapper>
+ <uniqfilter/>
+ <replacestring from="${build.test.classes.dir.abs.internal}" to=""/>
+ </filtermapper>
+ <cutdirsmapper dirs="1"/>
+ <packagemapper from="*" to="--add-exports ${run.test.addexport.source.module.internal}/*=ALL-UNNAMED"/>
+ </chainedmapper>
+ </pathconvert>
+ <condition else="--patch-module ${module.name}=${build.test.classes.dir} --add-modules ${module.name} --add-reads ${module.name}=ALL-UNNAMED ${run.test.addexports.internal}" property="run.test.jvmargs" value="--add-modules ${test.module.name} --add-reads ${test.module.name}=ALL-UNNAMED ${run.test.addexports.internal}">
+ <and>
+ <isset property="test.module.name"/>
+ <length length="0" string="${test.module.name}" when="greater"/>
+ </and>
+ </condition>
+ </target>
+ <target depends="-init-source-module-properties" name="-init-test-module-properties-without-module" unless="named.module.internal">
+ <property name="javac.test.sourcepath" value="${empty.dir}"/>
+ <property name="javac.test.compilerargs" value=""/>
+ <property name="run.test.jvmargs" value=""/>
+ </target>
+ <target depends="-init-test-javac-module-properties-with-module,-init-test-module-properties-without-module" name="-init-test-module-properties"/>
+ <target if="do.depend.true" name="-compile-test-depend">
+ <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.javafx.dir}:${test.webapp.dir}:${test.console.dir}:${test.portrayal.dir}:${test.earth-obs.dir}:${test.geotiff.dir}:${test.netcdf.dir}:${test.shapefile.dir}:${test.sql.dir}:${test.xmlstore.dir}:${test.storage.dir}:${test.feature.dir}:${test.referencing.dir}:${test.ref-by-id.dir}:${test.metadata.dir}:${test.utility.dir}:${test.fra-profile.dir}:${test.jpn-profile.dir}:${test. [...]
+ </target>
+ <target depends="init,deps-jar,compile,-init-test-module-properties,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
+ <j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" modulepath="${javac.test.modulepath}" processorpath="${javac.test.processorpath}" sourcepath="${javac.test.sourcepath}" srcdir="${test.javafx.dir}:${test.webapp.dir}:${test.console.dir}:${test.portrayal.dir}:${test.earth-obs.dir}:${test.geotiff.dir}:${test.netcdf.dir}:${test.shapefile.dir}:${test.sql.dir}:${test.xmlstore.dir}:${te [...]
+ <customize>
+ <compilerarg line="${javac.test.compilerargs}"/>
+ </customize>
+ </j2seproject3:javac>
+ <copy todir="${build.test.classes.dir}">
+ <fileset dir="${test.javafx.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.webapp.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.console.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.portrayal.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.earth-obs.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.geotiff.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.netcdf.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.shapefile.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.sql.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.xmlstore.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.storage.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.feature.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.referencing.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.ref-by-id.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.metadata.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.utility.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.fra-profile.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.jpn-profile.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.gdal.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ </copy>
+ </target>
+ <target name="-post-compile-test">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
+ <target name="-pre-compile-test-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,deps-jar,compile,-init-test-module-properties,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
+ <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
+ <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
+ <j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}, module-info.java" modulepath="${javac.test.modulepath}" processorpath="${javac.test.processorpath}" sourcepath="${test.javafx.dir}:${test.webapp.dir}:${test.console.dir}:${test.portrayal.dir}:${test.earth-obs.dir}:${test.geotiff.dir}:${test.netcdf.dir}:${test.shapefile.dir}:${test.sql.dir}: [...]
+ <customize>
+ <compilerarg line="${javac.test.compilerargs}"/>
+ </customize>
+ </j2seproject3:javac>
+ <copy todir="${build.test.classes.dir}">
+ <fileset dir="${test.javafx.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.webapp.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.console.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.portrayal.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.earth-obs.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.geotiff.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.netcdf.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.shapefile.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.sql.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.xmlstore.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.storage.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.feature.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.referencing.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.ref-by-id.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.metadata.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.utility.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.fra-profile.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.jpn-profile.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ <fileset dir="${test.gdal.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ </copy>
+ </target>
+ <target name="-post-compile-test-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
+ <!--
+ =======================
+ TEST EXECUTION SECTION
+ =======================
+ -->
+ <target depends="init" if="have.tests" name="-pre-test-run">
+ <mkdir dir="${build.test.results.dir}"/>
+ </target>
+ <target depends="init,compile-test,-init-test-run-module-properties,-pre-test-run" if="have.tests" name="-do-test-run">
+ <j2seproject3:test includes="${includes}" testincludes="**/*Test.java"/>
+ </target>
+ <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
+ <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
+ </target>
+ <target depends="init" if="have.tests" name="test-report"/>
+ <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
+ <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
+ <target depends="init" if="have.tests" name="-pre-test-run-single">
+ <mkdir dir="${build.test.results.dir}"/>
+ </target>
+ <target depends="init,compile-test-single,-init-test-run-module-properties,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
+ <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
+ <j2seproject3:test excludes="" includes="${test.includes}" testincludes="${test.includes}"/>
+ </target>
+ <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
+ <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
+ </target>
+ <target depends="init,compile-test-single,-init-test-run-module-properties,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>
+ <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single-method">
+ <fail unless="test.class">Must select some files in the IDE or set test.class</fail>
+ <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
+ <j2seproject3:test excludes="" includes="${javac.includes}" testincludes="${test.class}" testmethods="${test.method}"/>
+ </target>
+ <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method" if="have.tests" name="-post-test-run-single-method">
+ <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
+ </target>
+ <target depends="init,compile-test-single,-init-test-run-module-properties,-pre-test-run-single,-do-test-run-single-method,-post-test-run-single-method" description="Run single unit test." name="test-single-method"/>
+ <!--
+ =======================
+ TEST DEBUGGING SECTION
+ =======================
+ -->
+ <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test">
+ <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
+ <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testincludes="${javac.includes}"/>
+ </target>
+ <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test-method">
+ <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
+ <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
+ <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testMethod="${test.method}" testincludes="${test.class}" testmethods="${test.method}"/>
+ </target>
+ <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
+ <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
+ </target>
+ <target depends="init,compile-test-single,-init-test-run-module-properties,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
+ <target depends="init,compile-test-single,-init-test-run-module-properties,-debug-start-debugger-test,-debug-start-debuggee-test-method" name="debug-test-method"/>
+ <target depends="debug-test-method" name="debug-single-method"/>
+ <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
+ <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
+ </target>
+ <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
+ <!--
+ =========================
+ APPLET EXECUTION SECTION
+ =========================
+ -->
+ <target depends="init,compile-single" name="run-applet">
+ <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
+ <j2seproject1:java classname="sun.applet.AppletViewer">
+ <customize>
+ <arg value="${applet.url}"/>
+ </customize>
+ </j2seproject1:java>
+ </target>
+ <!--
+ =========================
+ APPLET DEBUGGING SECTION
+ =========================
+ -->
+ <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
+ <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
+ <j2seproject3:debug classname="sun.applet.AppletViewer">
+ <customizeDebuggee>
+ <arg value="${applet.url}"/>
+ </customizeDebuggee>
+ </j2seproject3:debug>
+ </target>
+ <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
+ <!--
+ ===============
+ CLEANUP SECTION
+ ===============
+ -->
+ <target name="-deps-clean-init" unless="built-clean.properties">
+ <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
+ <delete file="${built-clean.properties}" quiet="true"/>
+ </target>
+ <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
- <echo level="warn" message="Cycle detected: Apache SIS on GeoAPI 4.0 was already built"/>
++ <echo level="warn" message="Cycle detected: Apache SIS on GeoAPI 3.1 was already built"/>
+ </target>
+ <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
+ <mkdir dir="${build.dir}"/>
+ <touch file="${built-clean.properties}" verbose="false"/>
+ <property file="${built-clean.properties}" prefix="already.built.clean."/>
+ <antcall target="-warn-already-built-clean"/>
+ <propertyfile file="${built-clean.properties}">
+ <entry key="${basedir}" value=""/>
+ </propertyfile>
- <antcall target="-maybe-call-dep">
- <param name="call.built.properties" value="${built-clean.properties}"/>
- <param location="${project.GeoAPI}" name="call.subproject"/>
- <param location="${project.GeoAPI}/build.xml" name="call.script"/>
- <param name="call.target" value="clean"/>
- <param name="transfer.built-clean.properties" value="${built-clean.properties}"/>
- <param name="transfer.not.archive.disabled" value="true"/>
- <param name="transfer.do.jlink" value="false"/>
- </antcall>
+ </target>
+ <target depends="init" name="-do-clean">
+ <delete dir="${build.dir}"/>
+ <delete dir="${dist.jlink.output}"/>
+ <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
+ </target>
+ <target name="-post-clean">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
+ <target name="-check-call-dep">
+ <property file="${call.built.properties}" prefix="already.built."/>
+ <condition property="should.call.dep">
+ <and>
+ <not>
+ <isset property="already.built.${call.subproject}"/>
+ </not>
+ <available file="${call.script}"/>
+ </and>
+ </condition>
+ </target>
+ <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
+ <ant antfile="${call.script}" inheritall="false" target="${call.target}">
+ <propertyset>
+ <propertyref prefix="transfer."/>
+ <mapper from="transfer.*" to="*" type="glob"/>
+ </propertyset>
+ </ant>
+ </target>
+ </project>
diff --cc ide-project/NetBeans/nbproject/genfiles.properties
index 2039f39,71b14ef..e05d431
--- a/ide-project/NetBeans/nbproject/genfiles.properties
+++ b/ide-project/NetBeans/nbproject/genfiles.properties
@@@ -3,6 -3,6 +3,6 @@@
build.xml.data.CRC32=58e6b21c
build.xml.script.CRC32=462eaba0
build.xml.stylesheet.CRC32=28e38971@1.53.1.46
- nbproject/build-impl.xml.data.CRC32=c66331aa
- nbproject/build-impl.xml.script.CRC32=a8b9b922
- nbproject/build-impl.xml.stylesheet.CRC32=3a2fa800@1.92.0.48
-nbproject/build-impl.xml.data.CRC32=59eb8bb4
-nbproject/build-impl.xml.script.CRC32=3caff6e1
-nbproject/build-impl.xml.stylesheet.CRC32=d549e5cc@1.97.0.48
++nbproject/build-impl.xml.data.CRC32=34ca6989
++nbproject/build-impl.xml.script.CRC32=12b72e40
++nbproject/build-impl.xml.stylesheet.CRC32=d549e5cc@1.99.0.48
diff --cc ide-project/NetBeans/nbproject/project.properties
index 6d18ad7,117e7cb..bc002e6
--- a/ide-project/NetBeans/nbproject/project.properties
+++ b/ide-project/NetBeans/nbproject/project.properties
@@@ -96,34 -105,30 +98,31 @@@ test.jpn-profile.dir = ${project.root}/
# Those dependencies must exist in the local Maven repository.
# Those numbers should match the ones declared in the pom.xml files.
#
+geoapi.version = 3.1-SNAPSHOT
jsr363.version = 1.0
- jaxb.version = 2.3.2
- istack.version = 3.0.8
- activation.version = 1.1
+ jaxb.version = 2.3.3
+ istack.version = 3.0.11
+ activation.version = 1.2.2
jama.version = 1.0.3
- geographlib.version = 1.50
- guava.version = 27.0.1-jre
- esri.api.version = 2.2.3
- jts.version = 1.16.1
- georss.version = 0.9.8
- rome.version = 0.9
- jdom1.version = 1.0
- jdom2.version = 2.0.4
+ geographlib.version = 1.52
+ guava.version = 30.1-jre
+ re2j.version = 1.3
+ esri.api.version = 2.2.4
+ jts.version = 1.18.2
+ jdom2.version = 2.0.6
jee.version = 8.0.1
osgi.version = 6.0.0
- netcdf.version = 4.6.14
- joda-time.version = 2.8.1
- httpclient.version = 4.5.1
- httpcore.version = 4.4.4
+ netcdf.version = 5.4.2
+ joda-time.version = 2.10.3
+ httpclient.version = 4.5.13
+ httpcore.version = 4.4.13
cm-logging.version = 1.2
- slf4j.version = 1.7.22
- junit.version = 4.12
+ slf4j.version = 1.7.28
+ junit.version = 4.13.2
hamcrest.version = 1.3
derby.version = 10.14.2.0
- hsqldb.version = 2.5.0
- postgresql.version = 42.2.8
- icons.version = 3.0.1
+ hsqldb.version = 2.6.0
+ postgresql.version = 42.2.23
#
# Classpaths for compilation, execution and tests.
diff --cc ide-project/NetBeans/nbproject/project.xml
index c7d2ae0,1c0d1e1..7fdc11e
--- a/ide-project/NetBeans/nbproject/project.xml
+++ b/ide-project/NetBeans/nbproject/project.xml
@@@ -21,9 -21,10 +21,10 @@@
<type>org.netbeans.modules.java.j2seproject</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
- <name>Apache SIS on GeoAPI 4.0</name>
+ <name>Apache SIS on GeoAPI 3.1</name>
<source-roots>
<root id="src.local-src.dir" name="Local sources (unversioned)"/>
+ <root id="src.javafx.dir" name="JavaFX application"/>
<root id="src.webapp.dir" name="Web application"/>
<root id="src.console.dir" name="Console"/>
<root id="src.portrayal.dir" name="Portrayal"/>
diff --cc pom.xml
index 84281c2,d5f89bb..93c4682
--- a/pom.xml
+++ b/pom.xml
@@@ -560,9 -556,10 +556,10 @@@
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<sis.plugin.version>${project.version}</sis.plugin.version>
- <sis.non-free.version>1.0</sis.non-free.version> <!-- Used only if "non-free" profile is enabled. -->
+ <sis.non-free.version>1.0</sis.non-free.version> <!-- Used only if "non-free" profile is activated. -->
+ <javafx.version>17</javafx.version> <!-- Used only if "javafx" profile is activated. -->
- <geoapi.version>4.0-SNAPSHOT</geoapi.version>
+ <geoapi.version>3.1-SNAPSHOT</geoapi.version>
- <jaxb.version>2.3.2</jaxb.version>
+ <jaxb.version>2.3.3</jaxb.version>
</properties>
<profiles>
diff --cc storage/sis-storage/src/main/java/org/apache/sis/internal/storage/MetadataBuilder.java
index d024582,bb76c79..d0e6377
--- a/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/MetadataBuilder.java
+++ b/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/MetadataBuilder.java
@@@ -136,10 -150,10 +150,12 @@@ import org.apache.sis.measure.Units
import static org.apache.sis.internal.util.StandardDateFormat.MILLISECONDS_PER_DAY;
// Branch-dependent imports
+ import org.opengis.temporal.Duration;
+ import org.opengis.feature.FeatureType;
+import org.opengis.metadata.citation.ResponsibleParty;
+import org.opengis.metadata.identification.CharacterSet;
- import org.opengis.feature.FeatureType;
+ import org.opengis.metadata.acquisition.AcquisitionInformation;
-import org.opengis.metadata.citation.Responsibility;
+import org.apache.sis.metadata.iso.citation.DefaultResponsibleParty;
/**
@@@ -269,9 -284,22 +286,22 @@@ public class MetadataBuilder
}
/**
+ * Returns the information about the series, or aggregate dataset, of which the dataset is a part.
+ */
+ private DefaultSeries series() {
+ final DefaultCitation citation = citation();
+ DefaultSeries series = DefaultSeries.castOrCopy(citation.getSeries());
+ if (series == null) {
+ series = new DefaultSeries();
+ citation.setSeries(series);
+ }
+ return series;
+ }
+
+ /**
* Part of the responsible party of the {@linkplain #citation}, or {@code null} if none.
*/
- private DefaultResponsibility responsibility;
+ private DefaultResponsibleParty responsibility;
/**
* Creates the responsibility object if it does not already exists, then returns it.
@@@ -1210,6 -1248,60 +1251,59 @@@
}
/**
+ * Adds the name of the series, or aggregate dataset, of which the dataset is a part.
+ * Storage location is:
+ *
+ * <ul>
+ * <li>{@code metadata/identificationInfo/citation/series/name}</li>
+ * </ul>
+ *
+ * @param name name of the series, or {@code null} for no-operation.
+ */
+ public final void addSeries(final CharSequence name) {
+ final InternationalString i18n = trim(name);
+ if (i18n != null) {
+ final DefaultSeries series = series();
+ series.setName(append(series.getName(), i18n));
+ }
+ }
+
+ /**
+ * Adds details on which pages of the publication the article was published.
+ * Storage location is:
+ *
+ * <ul>
+ * <li>{@code metadata/identificationInfo/citation/series/page}</li>
+ * </ul>
+ *
+ * @param page the page, or {@code null} for no-operation.
+ */
+ public final void addPage(final CharSequence page) {
- final InternationalString i18n = trim(page);
- if (i18n != null) {
++ if (page != null) {
+ final DefaultSeries series = series();
- series.setPage(append(series.getPage(), i18n));
++ series.setPage(page.toString());
+ }
+ }
+
+ /**
+ * Adds details on which pages of the publication the article was published.
+ * Storage location is:
+ *
+ * <ul>
+ * <li>{@code metadata/identificationInfo/citation/series/page}</li>
+ * </ul>
+ *
+ * @param page the page number, or 0 or negative for no-operation.
+ * @param total the total number of pages, or 0 or negative if unknown.
+ */
+ public final void addPage(final int page, final int total) {
+ if (page > 0) {
+ addPage(Vocabulary.formatInternational(
+ (total > 0) ? Vocabulary.Keys.Page_2 : Vocabulary.Keys.Page_1, page, total));
+ }
+ }
+
+ /**
* Adds a brief narrative summary of the resource(s).
* If a summary already exists, the new one will be appended after a new line.
* Storage location is:
@@@ -3020,6 -3139,107 +3145,108 @@@ parse: for (int i = 0; i < length;
}
/**
+ * Appends information from the metadata of a component.
+ * This is an helper method for building the metadata of an aggregate.
+ * Aggregate metadata should be set before to invoke this method, in particular:
+ *
+ * <ul>
+ * <li>The aggregated resource {@linkplain #addTitle title}.</li>
+ * <li>The {@linkplain #addFormatName format} (may not be the same than component format).</li>
+ * </ul>
+ *
+ * This method applies the following heuristic rules (may change in any future version).
+ * Those rules assume that the component metadata was built with {@code MetadataBuilder}
+ * (this assumption determines which metadata elements are inspected).
+ *
+ * <ul>
+ * <li>Content information is added verbatim. There is usually one instance per component.</li>
+ * <li>Extents are added as one {@link Extent} per component, but without duplicated values.</li>
+ * <li>All Coordinate Reference System information are added without duplicated values.</li>
+ * <li>Some citation information are merged in a single citation.
+ * The following information are ignored because considered too specific to the component:<ul>
+ * <li>titles</li>
+ * <li>identifiers</li>
+ * <li>series (includes page numbers).</li>
+ * </ul></li>
+ * <li>{@linkplain #addCompression Compression} are added (without duplicated value) but not the
+ * other format information (because the aggregate is assumed to have its own format name).</li>
+ * <li>Distributor names, but not the other distribution information because the aggregated resource
+ * may not be distributed in the same way then the components.</li>
+ * </ul>
+ *
+ * @param component the component from which to append metadata.
+ */
+ public final void addFromComponent(final Metadata component) {
+ /*
+ * Note: this method contains many loops like below:
+ *
+ * for (Foo r : info.getFoos()) {
+ * addIfNotPresent(bla().getFoos(), r);
+ * }
+ *
+ * We could easily factor out the above pattern in a method, but we don't do that because
+ * it would invoke `bla().getFoos()` before the loop. We want that call to happen only if
+ * the collection contains at least one element. Usually there is only 0 or 1 element.
+ */
+ for (final Identification info : component.getIdentificationInfo()) {
+ final Citation c = info.getCitation();
+ if (c != null) {
+ // Title, identifiers and series are assumed to not apply (see Javadoc).
+ final DefaultCitation citation = citation();
- for (Responsibility r : c.getCitedResponsibleParties()) {
++ for (ResponsibleParty r : c.getCitedResponsibleParties()) {
+ addIfNotPresent(citation.getCitedResponsibleParties(), r);
+ }
+ for (OnlineResource r : c.getOnlineResources()) {
+ addIfNotPresent(citation.getOnlineResources(), r);
+ }
+ citation.getPresentationForms().addAll(c.getPresentationForms());
+ }
+ final DefaultDataIdentification identification = identification();
+ for (Extent e : info.getExtents()) {
+ addIfNotPresent(identification.getExtents(), e);
+ }
+ for (Resolution r : info.getSpatialResolutions()) {
+ addIfNotPresent(identification.getSpatialResolutions(), r);
+ }
+ for (Duration r : info.getTemporalResolutions()) {
+ addIfNotPresent(identification.getTemporalResolutions(), r);
+ }
+ for (Format r : info.getResourceFormats()) {
+ addCompression(r.getFileDecompressionTechnique());
+ // Ignore format name (see Javadoc).
+ }
+ for (Constraints r : info.getResourceConstraints()) {
+ addIfNotPresent(identification.getResourceConstraints(), r);
+ }
+ identification.getTopicCategories().addAll(info.getTopicCategories());
+ identification.getSpatialRepresentationTypes().addAll(info.getSpatialRepresentationTypes());
+ }
+ final DefaultMetadata metadata = metadata();
+ for (ContentInformation info : component.getContentInfo()) {
+ addIfNotPresent(metadata.getContentInfo(), info);
+ }
+ for (final ReferenceSystem crs : component.getReferenceSystemInfo()) {
+ addReferenceSystem(crs);
+ }
+ for (SpatialRepresentation info : component.getSpatialRepresentationInfo()) {
+ addIfNotPresent(metadata.getSpatialRepresentationInfo(), info);
+ }
+ for (AcquisitionInformation info : component.getAcquisitionInformation()) {
+ addIfNotPresent(metadata.getAcquisitionInformation(), info);
+ }
- for (Distribution info : component.getDistributionInfo()) {
++ Distribution di = component.getDistributionInfo();
++ if (di != null) {
+ // See Javadoc about why we copy only the distributors.
- for (Distributor r : info.getDistributors()) {
++ for (Distributor r : di.getDistributors()) {
+ addIfNotPresent(distribution().getDistributors(), r);
+ }
+ }
+ for (Lineage info : component.getResourceLineages()) {
+ addIfNotPresent(metadata.getResourceLineages(), info);
+ }
+ }
+
+ /**
* Returns the metadata (optionally as an unmodifiable object), or {@code null} if none.
* If {@code freeze} is {@code true}, then the returned metadata instance can not be modified.
*