ArcSDE rasters fail to be read if in a geographic reference system, code 
assumes projected CS always
----------------------------------------------------------------------------------------------------

                 Key: GEOT-2308
                 URL: http://jira.codehaus.org/browse/GEOT-2308
             Project: GeoTools
          Issue Type: Bug
          Components: data arcsde
    Affects Versions: 2.5.3
            Reporter: Gabriel Roldán
            Assignee: Gabriel Roldán
             Fix For: 2.5.4


{{ArcSDERasterReader.calculateCoordinateReferenceSystem()}} assumes the raster 
is in a projected coord sys, failing if its in a geographic one:

{code}
    private CoordinateReferenceSystem calculateCoordinateReferenceSystem(
            ArcSDEPooledConnection con, SeRasterAttr rasterAttributes) throws 
DataSourceException {

        try {
            SeRasterColumn rCol = new SeRasterColumn(con, 
rasterAttributes.getRasterColumnId());

            PeProjectedCS pcs = new 
PeProjectedCS(rCol.getCoordRef().getProjectionDescription());
{code}

note the direct use of {{PeProjectedCS}}.


-- 
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:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to