[gdal-dev] GDALSuggestedWarpOutput return wrong pnPixels and pnLines

Vincent BERNAT vincent.bernat at magellium.fr
Wed Aug 17 05:10:19 PDT 2016


Hi all,

I work with gdal-2.1.0 on CentOS
I have an image and when I want to use the GDALSuggestedWarpOutput, it returns no failure but
pnPixels = 2173
pnLines  = 0

What could be the problem ?

Thanks a lot.
Regards,
Vincent

here are the gdalinfo :

Driver: SRP/Standard Raster Product (ASRP/USRP)
Files: VALIDATION_KO/ANTIME/ANTIME01.IMG
       VALIDATION_KO/ANTIME/ANTIME01.GEN
       VALIDATION_KO/ANTIME/ANTIME01.IMG
       VALIDATION_KO/ANTIME/ANTIME01.QAL
Size is 1536, 1536
Coordinate System is:
PROJCS["UTM Zone 60, Northern Hemisphere",
    GEOGCS["WGS 84",
        DATUM["WGS_1984",
            SPHEROID["WGS 84",6378137,298.257223563,
                AUTHORITY["EPSG","7030"]],
            AUTHORITY["EPSG","6326"]],
        PRIMEM["Greenwich",0,
            AUTHORITY["EPSG","8901"]],
        UNIT["degree",0.0174532925199433,
            AUTHORITY["EPSG","9122"]],
        AUTHORITY["EPSG","4326"]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",177],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",500000],
    PARAMETER["false_northing",0],
    UNIT["Meter",1]]
Origin = (722080.000000000000000,5320960.000000000000000)
Pixel Size = (5.000000000000000,-5.000000000000000)
Metadata:
  SRP_CLASSIFICATION=U
  SRP_CREATIONDATE=20070118
  SRP_EDN=0
  SRP_NAM=ANTIME
  SRP_PRODUCT=USRP
  SRP_REVISIONDATE=20070118
  SRP_SCA=50000
  SRP_ZNA=60
Corner Coordinates:
Upper Left  (  722080.000, 5320960.000) (179d58'38.83"E, 48d 0'11.97"N)
Lower Left  (  722080.000, 5313280.000) (179d58'24.55"E, 47d56' 3.55"N)
Upper Right (  729760.000, 5320960.000) (179d55'11.03"W, 48d 0' 2.20"N)
Lower Right (  729760.000, 5313280.000) (179d55'25.81"W, 47d55'53.80"N)
Center      (  725920.000, 5317120.000) (179d58'23.36"W, 47d58' 2.92"N)
Band 1 Block=128x128 Type=Byte, ColorInterp=Palette
  NoData Value=0
  Color Table (RGB with 256 entries)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20160817/109dad97/attachment-0001.html>


More information about the gdal-dev mailing list