I think with the different ReferencedEnvelope classes, it is best to use
a factory-like strategy to create envelopes rather than to call the
constructor directly. Makes sense.
On 12/04/2012 08:51 AM, Jody wrote:
Correct.
The alternative is to check the CRS yourself.
It is a pure factory method in that respect.
--
Jody
Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
On Tuesday, 4 December 2012 at 5:11 PM, Andrea Aime wrote:
On Mon, Dec 3, 2012 at 11:02 PM, Jody Garnett <[email protected]
<mailto:[email protected]>> wrote:
Niels and myself were discussing what more can be done for
ReferenceEnveloped3D integration in GeoTools.
I have asked Niels to look over the javadocs, and add a code example
to the user guide.
The other thing we *could* do is go through the codebase and replace
each constructor call, with a call to ReferencedEnvelope.create.
How do people feel about that? I do not think it was the long term
strategy, but it would leave the codebase back where we started.
Clarification needed here... what does create that a constructor
cannot? That is generates either ReferencedEnvelope or
ReferencedEnvelope3D
based on the CRS dimension?
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel