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