This is an automated email from the ASF dual-hosted git repository.
desruisseaux pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git
The following commit(s) were added to refs/heads/geoapi-4.0 by this push:
new 9e3604c81b Update for ISO 19108 interfaces and methods removed from
GeoAPI-pending.
9e3604c81b is described below
commit 9e3604c81b5b485dede475be2927eabc6eb3c29a
Author: Martin Desruisseaux <[email protected]>
AuthorDate: Tue May 7 17:48:14 2024 +0200
Update for ISO 19108 interfaces and methods removed from GeoAPI-pending.
---
.../pending/temporal/DefaultTemporalFactory.java | 79 +---------------------
geoapi/snapshot | 2 +-
2 files changed, 3 insertions(+), 78 deletions(-)
diff --git
a/endorsed/src/org.apache.sis.util/main/org/apache/sis/pending/temporal/DefaultTemporalFactory.java
b/endorsed/src/org.apache.sis.util/main/org/apache/sis/pending/temporal/DefaultTemporalFactory.java
index 05ace753bf..eb05607337 100644
---
a/endorsed/src/org.apache.sis.util/main/org/apache/sis/pending/temporal/DefaultTemporalFactory.java
+++
b/endorsed/src/org.apache.sis.util/main/org/apache/sis/pending/temporal/DefaultTemporalFactory.java
@@ -17,15 +17,10 @@
package org.apache.sis.pending.temporal;
import java.util.Date;
-import org.opengis.util.InternationalString;
// Specific to the geoapi-3.1 and geoapi-4.0 branches:
-import java.util.Collection;
-import javax.measure.Unit;
-import javax.measure.quantity.Time;
import org.opengis.temporal.*;
-import org.opengis.metadata.Identifier;
-import org.opengis.metadata.extent.Extent;
+import org.opengis.referencing.crs.TemporalCRS;
import org.apache.sis.util.resources.Errors;
@@ -64,77 +59,7 @@ public final class DefaultTemporalFactory implements
TemporalFactory {
}
/** Unsupported. */
- @Override public Calendar createCalendar(Identifier name, Extent
domainOfValidity) {
- throw unsupported();
- }
-
- /** Unsupported. */
- @Override public Calendar createCalendar(Identifier name, Extent
domainOfValidity, Collection<CalendarEra> referenceFrame, Clock timeBasis) {
- throw unsupported();
- }
-
- /** Unsupported. */
- @Override public CalendarDate createCalendarDate(TemporalReferenceSystem
frame, IndeterminateValue indeterminatePosition, InternationalString
calendarEraName, int[] calendarDate) {
- throw unsupported();
- }
-
- /** Unsupported. */
- @Override public CalendarEra createCalendarEra(InternationalString name,
InternationalString referenceEvent, CalendarDate referenceDate, JulianDate
julianReference, Period epochOfUse) {
- throw unsupported();
- }
-
- /** Unsupported. */
- @Override public Clock createClock(Identifier name, Extent
domainOfValidity, InternationalString referenceEvent, ClockTime referenceTime,
ClockTime utcReference) {
- throw unsupported();
- }
-
- /** Unsupported. */
- @Override public ClockTime createClockTime(TemporalReferenceSystem frame,
IndeterminateValue indeterminatePosition, Number[] clockTime) {
- throw unsupported();
- }
-
- /** Unsupported. */
- @Override public DateAndTime createDateAndTime(TemporalReferenceSystem
frame, IndeterminateValue indeterminatePosition, InternationalString
calendarEraName, int[] calendarDate, Number[] clockTime) {
- throw unsupported();
- }
-
- /** Unsupported. */
- @Override public JulianDate createJulianDate(TemporalReferenceSystem
frame, IndeterminateValue indeterminatePosition, Number coordinateValue) {
- throw unsupported();
- }
-
- /** Unsupported. */
- @Override public OrdinalEra createOrdinalEra(InternationalString name,
Date beginning, Date end, Collection<OrdinalEra> member) {
- throw unsupported();
- }
-
- /** Unsupported. */
- @Override public OrdinalPosition
createOrdinalPosition(TemporalReferenceSystem frame, IndeterminateValue
indeterminatePosition, OrdinalEra ordinalPosition) {
- throw unsupported();
- }
-
- /** Unsupported. */
- @Override public OrdinalReferenceSystem
createOrdinalReferenceSystem(Identifier name, Extent domainOfValidity,
Collection<OrdinalEra> ordinalEraSequence) {
- throw unsupported();
- }
-
- /** Unsupported. */
- @Override public TemporalCoordinate
createTemporalCoordinate(TemporalReferenceSystem frame, IndeterminateValue
indeterminatePosition, Number coordinateValue) {
- throw unsupported();
- }
-
- /** Unsupported. */
- @Override public TemporalCoordinateSystem
createTemporalCoordinateSystem(Identifier name, Extent domainOfValidity, Date
origin, Unit<Time> interval) {
- throw unsupported();
- }
-
- /** Unsupported. */
- @Override public TemporalPosition
createTemporalPosition(TemporalReferenceSystem frame, IndeterminateValue
indeterminatePosition) {
- throw unsupported();
- }
-
- /** Unsupported. */
- @Override public TemporalReferenceSystem
createTemporalReferenceSystem(Identifier name, Extent domainOfValidity) {
+ @Override public TemporalPosition createTemporalPosition(TemporalCRS tcrs,
IndeterminateValue iv) {
throw unsupported();
}
}
diff --git a/geoapi/snapshot b/geoapi/snapshot
index eba6172d3a..b523de038f 160000
--- a/geoapi/snapshot
+++ b/geoapi/snapshot
@@ -1 +1 @@
-Subproject commit eba6172d3a3b555c40736fa23efae8ec865d1fba
+Subproject commit b523de038f29cc88bc7ae8d6820848cec0410004