Hi guys,
I just want to throw in a small observation.
I noticed that the default implementation of both TemporalCRS and
TemporalDatum on GeoTools rely on java.util.Date to store the axis origin
and perform the different conversions along with javax.measure.Unit stuff.
I'm wondering if wouldn't be better to use the temporal schema
implementation instead in order to have better aligned code, more coherent
conversions and temporal frames and also avoid to convert a posteriori util
Dates into opengis Positions, Instants or Periods.
What do you guys think about?
On Thu, Jul 3, 2008 at 2:42 AM, Jody Garnett <[EMAIL PROTECTED]> wrote:
> Alessio Fabiani wrote:
>
>> Hi guys,
>> sorry for cross-posting, but the topic is of interest for both GeoTools
>> and GeoServer developers. In the WCS 1.0.0 protocol there's the possibility
>> to parse an EnvelopeWithTime, i.e. a spatial envelope with a time period or
>> two time positions associated, in order to briefly describe the domain of a
>> spatio-temporal coverage.
>>
>> My problem is how to handle such a thing at the GeoTools level. What could
>> be the best way to manage the envelopeWithTime? ... I thought about two
>> possible ways:
>>
>> 1. Modify/using/improving the GeneralEnvelope
>> 2. Create a new EnvelopeWithTime object which extends the GeneralEnvelope
>>
> Right now we have BoundingBox as a subclass of GeneralEnveloper; you could
> make EnvelopeWithTime as a subclass of that... and add some methods to get
> the Range<Date,Date> at the same time.
>
>
> Jody
>
>
--
-------------------------------------------------------
Eng. Alessio Fabiani
Vice-President /CTO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy
phone: +39 0584983027
fax: +39 0584983027
mob: +39 349 8227000
http://www.geo-solutions.it
-------------------------------------------------------
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel