CRS 3D to 2D transformations incomplete
---------------------------------------

                 Key: GEOT-1720
                 URL: http://jira.codehaus.org/browse/GEOT-1720
             Project: GeoTools
          Issue Type: Bug
          Components: core referencing
    Affects Versions: 2.5-M0, 2.4.1
            Reporter: Jody Garnett
            Assignee: Martin Desruisseaux


We need functionality similar to the following:
{code}
CoordinateReferenceSystem crs3d = CRS.decode("EPSG:4327");
CoordinateReferenceSystem crs2d = CRS.flatten( crs3d );
{code}

There is a similar function defined already in the form of 
CRS.getHorizontalCRS( crs3d ).

This functionality is needed in two places:
- In PostGISDataStore when the Hints.FEAUTRE_2D hint is applied we need to 
generate a CRS that matchs the data with the 3d axis dropped
- In GeoServer when we generate  lat/lon bbox we need to reproject from 3d data 
to WGS84.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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