Thanks for the discussion everyone; I am less jet-lagged now and can 
follow it today. I have created a bug report here:
- http://jira.codehaus.org/browse/GEOT-1720

So martin do you like the method name:
- CRS.flatten( CorodinateReferenceSystem crs ): CorodinateReferenceSystem

Cheers,
Jody

Andrea Aime wrote:
> Hi,
> let's say I'm doing a:
> CoordinateReferenceSystem 3d = CRS.decode("EPSG:4327");
>
> as you may know, 4327 is 4326 evil brother, in that is
> has the ellipsoidal height as a third axis.
>
> Now, let's say somewhere in the code I want to flatten
> data and their CRS. Removing the z from the data is the
> easy part, how do I shave off the 3rd dimension
> from the crs and get a 2d representatio of it?
> What I'm looking for is an api like:
>
> CoordinateReferenceSystem 2d = CRS.flatten(3d);
>
> Is there anything like that?
> Cheers
> Andrea
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to