Hello,

There's a lot of different envelopes floating around so, depending on
what you are trying to do, you'll need to use different ones.

The current release of Geotools (2.2.0) uses mostly the JTS class:
  com.vividsolutions.jts.geom.Envelope
which should work for all your 2D needs. 

The geoapi Envelope
  org.opengis.spatialschema.geometry.Envelope
may be used in certain places in Geotools' referencing subsystem but it
generally is not used.

The Geotools GeneralEnvelope
  org.geotools.geometry.GeneralEnvelope
is not, to my knowledge, used extensively yet.

The issue is that we currently use JTS for most of the geometric
operations but have built a fair amount of the structure to transition
to a Geotools implementation or to a GeoAPI implementation. I suspect
you probably can get away with using JTS classes only but if not, then
please give us some more info about what you are trying to do.

all the best,
adrian

On Sun, 2006-09-10 at 21:09 -0800, Amy Johnson wrote:
> Hello:
> 
> I'm trying to understand the differences between the classes Envelope 
> and GeneralEnvelope. Envelope appears to be deprecated but I'm not sure.
> 
> Thanks,
> 
> Amy
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to