Strangely enough there is lots of interest and activity on this topic; you will see in the last week that Joda was considered, you will find that a JAXB utility classes is used right now for this purpose.
Due to the size of the JAXB dependency we are going to try and roll our own and have a look at the result. Mehdi Sidhoum has joined the project and is starting an unsupported module to that effect right now; if we like the result it will be rolled into the core library - if not we may go with Joda (but the idea is to wait for it to be rolled into Java 7). Wiki page seems to be taking shape here: - http://docs.codehaus.org/display/GEOTOOLS/GeoAPI+Temporal+Implementation Cheers, Jody > I know that working with time (temporal features) in GIS can get > really complex really quickly, but I want to cautiously ask about > existing support in GeoTools for SimpleFeatures with one or more > temporal attributes. > > I know that Peter began to explore this area a little bit with his GPX > code, and there are a couple of Temporal classes there. Is there other > temporal support in GeoTools? > > What I'm looking for is pretty simple. Here is an example: > > Given a set of SimpleFeature objects that represent waypoints, find > the waypoint in the set that is immediately "before" a given waypoint > in the set. Here is what the method signature might look like: > > public void getWaypointImmediatelyBefore(Collection<WaypointSimpleFeature> > argWaypoints) > { > // Implementation goes here... > } > > There would be other similar, but simple methods. I thought I would > bounce this by the mailing list before I took off on my own crazy > implementation using Joda. I don't know if a "temporal feature" is > something that could be abstracted with an interface, but maybe > someone has already done it! > > Thanks for any suggestions. > > Landon > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Geotools-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
