Re: [Geotools-devel] Question on proper class to represent a bounding box.

2008-05-19 Thread Jody Garnett
Sunburned Surveyor wrote: > It looks like we have a tie between > org.geotools.geometry.jts.ReferencedEnvelope and > org.geotools.geometry.Envelope2D. :] > > I work a lot with JTS, so I'm tempted to use ReferencedEnvelope...I'm > a little bit afraid of the ISO geometry stuff. Still, the Envelope2D

Re: [Geotools-devel] Question on proper class to represent a bounding box.

2008-05-19 Thread Jody Garnett
ReferencedEnvelope; the page is here: - http://docs.codehaus.org/display/GEOTDOC/01+ReferencedEnvelope If you come from a JTS background: The implementation is a JTS Envelope, and has a couple extra methods to match up some GeoAPI interfaces. If yoy come from an ISO Geometry background: The imple

Re: [Geotools-devel] Question on proper class to represent a bounding box.

2008-05-19 Thread Adrian Custer
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. --

Re: [Geotools-devel] Question on proper class to represent a bounding box.

2008-05-19 Thread Martin Desruisseaux
Sunburned Surveyor a écrit : > Envelope > Envelope2D > EnvelopeExample > org.geotools.geometry.iso.coordinate.EnvelopeImpl > org.geometry.jts.spatialschema.geometry.EnvelopeImpl I was not aware of "EnvelopeExample". There is the Envelopes I'm aware of: GeneralEnvelope --

[Geotools-devel] Question on proper class to represent a bounding box.

2008-05-19 Thread Sunburned Surveyor
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