I second Martin's comments. Stick to the implementations in the referencing module's org.geotools.geometry package.
Stay away from org.geotools.geometry.iso and org.geotools.jts unless you really need to use those packages. The former is, I suspect, moving full speed back to unsupported land. --adrian On Mon, 2008-05-19 at 12:56 -0700, Sunburned Surveyor wrote: > I noticed that the current GPX code in GeoTools defines the > "BoundsType" class, which can be used to represent a rectangular > bounding box. I was hoping I could identify a "universal" bounding box > type commonly used in GeoTools that could be converted to/from or > substituted for this class. I noticed in the GeoTools Javadoc (2.5 > branch) the following 5 classes that could be used to represent an > envelope: > > Envelope > Envelope2D > EnvelopeExample > org.geotools.geometry.iso.coordinate.EnvelopeImpl > org.geometry.jts.spatialschema.geometry.EnvelopeImpl > > Is it possible these different envelope classes are represented by a > single interface that I could reference in my code, or do I need to > pick one? Could we refactor these 5 different classes into a single > Envelope2D class/interface? > > Thanks, > > The Sunburned Surveyor > > ------------------------------------------------------------------------- > 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
