On Sat, Dec 1, 2012 at 4:02 PM, Jody Garnett <[email protected]> wrote:
> Last week I was going through the steps to make Oracle3D work, and have
> some success in the form of WFS output from GeoServer :-)
>
> In doing this work am assembling a patch to sort out the utility methods
> that were introduced to making working with ReferencedEnvelope3D easier
> (these were only introduced in the 9.x stream so there is no issue with
> backporting). Indeed most of these were just introduced this week.
>
> Here is the jira: GEOT-4338 ReferencedEnvelope.reference being used both
> as cast and as factory method <https://jira.codehaus.org/browse/GEOT-4338>
>
> And here is the result:
>
> - create(ReferencedEnvelope)
> - create(CoordinateReferenceSystem)
> - create(Envelope, CoordinateReferenceSystem)
> - create(ReferencedEnvelope, CoordinateReferenceSystem)
> - create(Envelope, CoordinateReferenceSystem)
> - reference(Envelope)
> - reference(BoundingBox)
> - reference(ReferencedEnvelope)
> - reference(Envelope)
>
>
Scratch scratch... so I always used reference in the intended double duty
way without
finding it hard to read the code. "I want a REferencedEnvelope, if the
thing I pass you
is already one just cast, if it's not please give me an equivalent
ReferencedEnvelope"
To make the above distrinction clear I guess reference should stop doing
the conversion,
but that would be a serious backwards compatibility change.
Can you show some examples that are more clear with create than with
reference?
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
-------------------------------------------------------
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel