[Geoserver-devel] [jira] Created: (GEOS-2748) SDE Raster issue - image shifted

SDE Raster issue - image shifted
---------------------------------

                 Key: GEOS-2748
                 URL: http://jira.codehaus.org/browse/GEOS-2748
             Project: GeoServer
          Issue Type: Bug
          Components: ArcSDE
    Affects Versions: 1.7.3
         Environment: Oracle 10, SDE 9.2 SP 5
            Reporter: Aleda Freeman
            Assignee: Andrea Aime

The 2001 and 2005 ortho rasters which I have running in 1.6.5 and 1.7.3 - when I compare a GetMap for a certain bounding box, the 1.7.3 output is shifted south, by eyeballing the two output images it can be seen.

GeoServer 1.6.5 and IMG_COQ2001:
http://giswebservices.massgis.state.ma.us/geoserver/wms?request=getmap&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=massgis:GISDATA.IMG_COQ2001&SRS=EPSG:26986&BBOX=232718,899211,233895,900316&width=508&height=477&FORMAT=image/png8&STYLES=

GeoServer 1.7.3 and IMG_COQ2001:
http://maps.massgis.state.ma.us/geoserver/wms?request=getmap&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=massgis:GISDATA.IMG_COQ2001&SRS=EPSG:26986&BBOX=232718,899211,233895,900316&width=508&height=477&FORMAT=image/png8&STYLES=

GeoServer 1.6.5 and IMG_COQ2005:
http://giswebservices.massgis.state.ma.us/geoserver/wms?request=getmap&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=massgis:GISDATA.IMG_COQ2005&SRS=EPSG:26986&BBOX=232718,899211,233895,900316&width=508&height=477&FORMAT=image/png8&STYLES=

GeoServer 1.7.3 and IMG_COQ2005:
http://maps.massgis.state.ma.us/geoserver/wms?request=getmap&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=massgis:GISDATA.IMG_COQ2005&SRS=EPSG:26986&BBOX=232718,899211,233895,900316&width=508&height=477&FORMAT=image/png8&STYLES=

I created the info.xml fresh with 1.7.3 through the UI.
Here's the info.xml for IMG_COQ2001:

<coverage format = "massgis_COQ2001" >
  <name>GISDATA.IMG_COQ2001</name>
  <label>GISDATA.IMG_COQ2001 is an ArcSDE Raster</label>
  <description>ArcSDE Raster: GISDATA.IMG_COQ2001, Raster columns: [RASTER], Num bands: 3, Dimension: 600000x376001, Pixel type: TY
PE_8BIT_U, Has Color Map: false
        Raster 1: 13 levels, Grid range: 600000x376000, Tile size: 128x128, Envelope: 33000.25,774000.25 332999.75,961999.75
                Band 1: Min: 0.0, Max: 255.0, Mean: 134.50557047903814, Std. Dev: 58.269649877317555
                Band 2: Min: 0.0, Max: 255.0, Mean: 128.10711273810875, Std. Dev: 53.89689766411338
                Band 3: Min: 0.0, Max: 255.0, Mean: 109.03628080512378, Std. Dev: 52.35390466711413</description>
  <wmspath>/</wmspath>
  <keywords>WCS,massgis_COQ2001,GISDATA.IMG_COQ2001,ArcSDE,IS-IMAGERY,UnitsPerPixel=0.5,BytesPerPixel=3</keywords>
  <!--
    the default style this CoverageInfoDTO can be represented by.
    at least must contain the "default" attribute
  -->
  <styles default = "raster" />
  <!--
    crs: native CRS definition, srsName: user defined CRS identifier
  -->
  <envelope crs = "PROJCS[&apos;NAD_1983_StatePlane_Massachusetts_Mainland_FIPS_2001&apos;,
  GEOGCS[&apos;GCS_North_American_1983&apos;,
    DATUM[&apos;D_North_American_1983&apos;,
      SPHEROID[&apos;GRS_1980&apos;, 6378137.0, 298.257222101]],
    PRIMEM[&apos;Greenwich&apos;, 0.0],
    UNIT[&apos;degree&apos;, 0.017453292519943295],
    AXIS[&apos;Longitude&apos;, EAST],
    AXIS[&apos;Latitude&apos;, NORTH]],
  PROJECTION[&apos;Lambert_Conformal_Conic&apos;],
  PARAMETER[&apos;central_meridian&apos;, -71.5],
  PARAMETER[&apos;latitude_of_origin&apos;, 41.0],
  PARAMETER[&apos;standard_parallel_1&apos;, 41.71666666666667],
  PARAMETER[&apos;scale_factor&apos;, 1.0],
  PARAMETER[&apos;false_easting&apos;, 200000.0],
  PARAMETER[&apos;false_northing&apos;, 750000.0],
  PARAMETER[&apos;standard_parallel_2&apos;, 42.68333333333334],
  UNIT[&apos;m&apos;, 1.0],
  AXIS[&apos;x&apos;, EAST],
  AXIS[&apos;y&apos;, NORTH]]" srsName = "EPSG:26986" >
    <pos>33000.250000000146 774000.2499999831</pos>
    <pos>332999.7500000009 961999.7499999886</pos>
  </envelope>
  <grid dimension = "2" >
    <low>0 0 </low>
    <high>600000 376001 </high>
    <axisName>RED_BAND</axisName>
    <axisName>GREEN_BAND</axisName>
    <axisName>BLUE_BAND</axisName>
    <geoTransform >
      <scaleX>0.49999916666666666</scaleX>
      <scaleY>-0.49999734043260524</scaleY>
      <shearX>0.0</shearX>
      <shearY>0.0</shearY>
      <translateX>33000.499999583335</translateX>
      <translateY>961999.5000013298</translateY>
    </geoTransform>
  </grid>
  <CoverageDimension >
    <name>RED_BAND</name>
    <description>GridSampleDimension[-Infinity,Infinity]</description>
    <interval >
      <min>-Infinity</min>
      <max>Infinity</max>
    </interval>
    <nullValues >
    </nullValues>
  </CoverageDimension>
  <CoverageDimension >
    <name>GREEN_BAND</name>
    <description>GridSampleDimension[-Infinity,Infinity]</description>
    <interval >
      <min>-Infinity</min>
      <max>Infinity</max>
    </interval>
    <nullValues >
    </nullValues>
  </CoverageDimension>
  <CoverageDimension >
    <name>BLUE_BAND</name>
    <description>GridSampleDimension[-Infinity,Infinity]</description>
    <interval >
      <min>-Infinity</min>
      <max>Infinity</max>
    </interval>
    <nullValues >
    </nullValues>
  </CoverageDimension>
  <supportedCRSs >
    <requestCRSs>EPSG:26986</requestCRSs>
    <responseCRSs>EPSG:26986</responseCRSs>
  </supportedCRSs>
  <supportedFormats nativeFormat = "ArcSDE Raster" >
    <formats>IMAGEMOSAIC,GEOTIFF,GIF,PNG,JPEG,TIFF,ARCGRID,ARCSDE RASTER,GTOPO30</formats>
  </supportedFormats>
  <supportedInterpolations default = "nearest neighbor" >
    <interpolationMethods>nearest neighbor,bilinear,bicubic</interpolationMethods>
  </supportedInterpolations>
  <parameters >
    <parameter value = "QUALITY" name = "OVERVIEW_POLICY" />
  </parameters>
</coverage>

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

     [ http://jira.codehaus.org/browse/GEOS-2748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gabriel Roldán reopened GEOS-2748:
----------------------------------

SDE Raster issue - image shifted
---------------------------------

                Key: GEOS-2748
                URL: http://jira.codehaus.org/browse/GEOS-2748
            Project: GeoServer
         Issue Type: Bug
         Components: ArcSDE
   Affects Versions: 1.7.3
        Environment: Oracle 10, SDE 9.2 SP 5
           Reporter: Aleda Freeman
           Assignee: Gabriel Roldán
            Fix For: 1.7.5

The 2001 and 2005 ortho rasters which I have running in 1.6.5 and 1.7.3 - when I compare a GetMap for a certain bounding box, the 1.7.3 output is shifted south, by eyeballing the two output images it can be seen.
GeoServer 1.6.5 and IMG_COQ2001:
http://giswebservices.massgis.state.ma.us/geoserver/wms?request=getmap&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=massgis:GISDATA.IMG_COQ2001&SRS=EPSG:26986&BBOX=232718,899211,233895,900316&width=508&height=477&FORMAT=image/png8&STYLES=
GeoServer 1.7.3 and IMG_COQ2001:
http://maps.massgis.state.ma.us/geoserver/wms?request=getmap&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=massgis:GISDATA.IMG_COQ2001&SRS=EPSG:26986&BBOX=232718,899211,233895,900316&width=508&height=477&FORMAT=image/png8&STYLES=
GeoServer 1.6.5 and IMG_COQ2005:
http://giswebservices.massgis.state.ma.us/geoserver/wms?request=getmap&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=massgis:GISDATA.IMG_COQ2005&SRS=EPSG:26986&BBOX=232718,899211,233895,900316&width=508&height=477&FORMAT=image/png8&STYLES=
GeoServer 1.7.3 and IMG_COQ2005:
http://maps.massgis.state.ma.us/geoserver/wms?request=getmap&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=massgis:GISDATA.IMG_COQ2005&SRS=EPSG:26986&BBOX=232718,899211,233895,900316&width=508&height=477&FORMAT=image/png8&STYLES=
I created the info.xml fresh with 1.7.3 through the UI.
Here's the info.xml for IMG_COQ2001:
<coverage format = "massgis_COQ2001" >
  <name>GISDATA.IMG_COQ2001</name>
  <label>GISDATA.IMG_COQ2001 is an ArcSDE Raster</label>
  <description>ArcSDE Raster: GISDATA.IMG_COQ2001, Raster columns: [RASTER], Num bands: 3, Dimension: 600000x376001, Pixel type: TY
PE_8BIT_U, Has Color Map: false
        Raster 1: 13 levels, Grid range: 600000x376000, Tile size: 128x128, Envelope: 33000.25,774000.25 332999.75,961999.75
                Band 1: Min: 0.0, Max: 255.0, Mean: 134.50557047903814, Std. Dev: 58.269649877317555
                Band 2: Min: 0.0, Max: 255.0, Mean: 128.10711273810875, Std. Dev: 53.89689766411338
                Band 3: Min: 0.0, Max: 255.0, Mean: 109.03628080512378, Std. Dev: 52.35390466711413</description>
  <wmspath>/</wmspath>
  <keywords>WCS,massgis_COQ2001,GISDATA.IMG_COQ2001,ArcSDE,IS-IMAGERY,UnitsPerPixel=0.5,BytesPerPixel=3</keywords>
  <!--
    the default style this CoverageInfoDTO can be represented by.
    at least must contain the "default" attribute
  -->
  <styles default = "raster" />
  <!--
    crs: native CRS definition, srsName: user defined CRS identifier
  -->
  <envelope crs = "PROJCS[&apos;NAD_1983_StatePlane_Massachusetts_Mainland_FIPS_2001&apos;,
  GEOGCS[&apos;GCS_North_American_1983&apos;,
    DATUM[&apos;D_North_American_1983&apos;,
      SPHEROID[&apos;GRS_1980&apos;, 6378137.0, 298.257222101]],
    PRIMEM[&apos;Greenwich&apos;, 0.0],
    UNIT[&apos;degree&apos;, 0.017453292519943295],
    AXIS[&apos;Longitude&apos;, EAST],
    AXIS[&apos;Latitude&apos;, NORTH]],
  PROJECTION[&apos;Lambert_Conformal_Conic&apos;],
  PARAMETER[&apos;central_meridian&apos;, -71.5],
  PARAMETER[&apos;latitude_of_origin&apos;, 41.0],
  PARAMETER[&apos;standard_parallel_1&apos;, 41.71666666666667],
  PARAMETER[&apos;scale_factor&apos;, 1.0],
  PARAMETER[&apos;false_easting&apos;, 200000.0],
  PARAMETER[&apos;false_northing&apos;, 750000.0],
  PARAMETER[&apos;standard_parallel_2&apos;, 42.68333333333334],
  UNIT[&apos;m&apos;, 1.0],
  AXIS[&apos;x&apos;, EAST],
  AXIS[&apos;y&apos;, NORTH]]" srsName = "EPSG:26986" >
    <pos>33000.250000000146 774000.2499999831</pos>
    <pos>332999.7500000009 961999.7499999886</pos>
  </envelope>
  <grid dimension = "2" >
    <low>0 0 </low>
    <high>600000 376001 </high>
    <axisName>RED_BAND</axisName>
    <axisName>GREEN_BAND</axisName>
    <axisName>BLUE_BAND</axisName>
    <geoTransform >
      <scaleX>0.49999916666666666</scaleX>
      <scaleY>-0.49999734043260524</scaleY>
      <shearX>0.0</shearX>
      <shearY>0.0</shearY>
      <translateX>33000.499999583335</translateX>
      <translateY>961999.5000013298</translateY>
    </geoTransform>
  </grid>
  <CoverageDimension >
    <name>RED_BAND</name>
    <description>GridSampleDimension[-Infinity,Infinity]</description>
    <interval >
      <min>-Infinity</min>
      <max>Infinity</max>
    </interval>
    <nullValues >
    </nullValues>
  </CoverageDimension>
  <CoverageDimension >
    <name>GREEN_BAND</name>
    <description>GridSampleDimension[-Infinity,Infinity]</description>
    <interval >
      <min>-Infinity</min>
      <max>Infinity</max>
    </interval>
    <nullValues >
    </nullValues>
  </CoverageDimension>
  <CoverageDimension >
    <name>BLUE_BAND</name>
    <description>GridSampleDimension[-Infinity,Infinity]</description>
    <interval >
      <min>-Infinity</min>
      <max>Infinity</max>
    </interval>
    <nullValues >
    </nullValues>
  </CoverageDimension>
  <supportedCRSs >
    <requestCRSs>EPSG:26986</requestCRSs>
    <responseCRSs>EPSG:26986</responseCRSs>
  </supportedCRSs>
  <supportedFormats nativeFormat = "ArcSDE Raster" >
    <formats>IMAGEMOSAIC,GEOTIFF,GIF,PNG,JPEG,TIFF,ARCGRID,ARCSDE RASTER,GTOPO30</formats>
  </supportedFormats>
  <supportedInterpolations default = "nearest neighbor" >
    <interpolationMethods>nearest neighbor,bilinear,bicubic</interpolationMethods>
  </supportedInterpolations>
  <parameters >
    <parameter value = "QUALITY" name = "OVERVIEW_POLICY" />
  </parameters>
</coverage>

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