You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sis.apache.org by Cullen Rombach <cu...@imagemattersllc.com.INVALID> on 2019/09/17 14:12:43 UTC
Missing sis-temporal module
Hello,
We are trying to use Apache SIS to parse ISO 19139 metadata with a temporal
extent that looks like this:
<gmd:extent>
<gmd:EX_Extent id="boundingExtent">
<gmd:temporalElement>
<gmd:EX_TemporalExtent>
<gmd:extent>
<gml:TimePeriod gml:id="d78cd3a2a-25a2-4216-bb87-575a0990f0f3">
<gml:beginPosition>2001-01-01T00:00:00.000Z</gml:beginPosition>
<gml:endPosition>2006-12-31T23:59:59.999Z</gml:endPosition>
</gml:TimePeriod>
</gmd:extent>
</gmd:EX_TemporalExtent>
</gmd:temporalElement>
</gmd:EX_Extent>
<gmd:extent>
However, we just end up with a logged warning that says the following:
This operation requires the “sis-temporal” module.
The resulting DefaultTemporalExtent object doesn't have anything in it (
extent is null). As far as I can tell, this module does not exist in the
Apache SIS 1.0 release candidate. If this is the case, when can we expect
sis-temporal to be implemented?
Regards,
Cullen Rombach
--
Cullen Rombach
Image Matters LLC
www.imagemattersllc.com
Re: Missing sis-temporal module
Posted by Martin Desruisseaux <ma...@geomatys.com>.
Hello Cullen
Indeed, the temporal module is not yet implemented. The temporal
interfaces in geospatial context are defined by ISO 19108 - Temporal
schema [1]. But the GeoAPI interfaces defined in org.opengis.temporal
package (never formally released) need to be revised in light of the
java.time package available since Java 8. This work has not started yet,
and it is hard to commit on a schedule.
There is a geotk-temporal module in Geotk. If my memory serves me right,
just adding the following dependency is sufficient for getting the
temporal extent supported:
<dependency>
<groupId>org.geotoolkit</groupId>
<artifactId>geotk-temporal</artifactId>
<version>the version used</version>
</dependency>
However this is not tested like SIS modules, and the Java classes are
almost certain to changes when we will start working on ISO 19108
support in SIS.
Regards,
Martin
[1] https://www.iso.org/standard/26013.html
Le 17/09/2019 à 16:12, Cullen Rombach a écrit :
> Hello,
>
> We are trying to use Apache SIS to parse ISO 19139 metadata with a temporal
> extent that looks like this:
>
> <gmd:extent>
> <gmd:EX_Extent id="boundingExtent">
> <gmd:temporalElement>
> <gmd:EX_TemporalExtent>
> <gmd:extent>
> <gml:TimePeriod gml:id="d78cd3a2a-25a2-4216-bb87-575a0990f0f3">
> <gml:beginPosition>2001-01-01T00:00:00.000Z</gml:beginPosition>
> <gml:endPosition>2006-12-31T23:59:59.999Z</gml:endPosition>
> </gml:TimePeriod>
> </gmd:extent>
> </gmd:EX_TemporalExtent>
> </gmd:temporalElement>
> </gmd:EX_Extent>
> <gmd:extent>
>
> However, we just end up with a logged warning that says the following:
>
> This operation requires the “sis-temporal” module.
>
> The resulting DefaultTemporalExtent object doesn't have anything in it (
> extent is null). As far as I can tell, this module does not exist in the
> Apache SIS 1.0 release candidate. If this is the case, when can we expect
> sis-temporal to be implemented?
>
> Regards,
> Cullen Rombach
>