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 ------------------------------------------------------------------------- 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