[gdal-dev] SPOT7 DIMAP driver for tiled datasets has no lat/lon

Gong, Shawn SGONG at mdacorporation.com
Fri Jan 12 13:22:05 PST 2018


Hi list,



I am using gdal 2.2.3



I tried to open a SPOT7 tiled (DIM_SPOT7_P_201511221101122_SEN_1.XML)

It displays all the tiled TIF, but has no lat/lon georeferencing


'gdalinfo' output is shown below. As you can see, corner coordinates are wrong


Thanks,
Shawn





Driver: DIMAP/SPOT DIMAP
Files: V:/orderdesk/ImageData/EO-IR/SPOT-7/Gibraltar_20151122/SPOT7_SONGEOQU000673_CONW1786_15_C019_COLN_01/DS_SPOT7_201511221101122_LM1_LM1_LM1_LM1_W006N36_01709/PROD_SPOT7_001/VOL_SPOT7_001_A/IMG_SPOT7_P_001_A/DIM_SPOT7_P_201511221101122_SEN_1.XML
       V:/orderdesk/ImageData/EO-IR/SPOT-7/Gibraltar_20151122/SPOT7_SONGEOQU000673_CONW1786_15_C019_COLN_01/DS_SPOT7_201511221101122_LM1_LM1_LM1_LM1_W006N36_01709/PROD_SPOT7_001/VOL_SPOT7_001_A/IMG_SPOT7_P_001_A\IMG_SPOT7_P_201511221101122_SEN_1_R1C1.TIF
       V:/orderdesk/ImageData/EO-IR/SPOT-7/Gibraltar_20151122/SPOT7_SONGEOQU000673_CONW1786_15_C019_COLN_01/DS_SPOT7_201511221101122_LM1_LM1_LM1_LM1_W006N36_01709/PROD_SPOT7_001/VOL_SPOT7_001_A/IMG_SPOT7_P_001_A\IMG_SPOT7_P_201511221101122_SEN_1_R1C2.TIF
       V:/orderdesk/ImageData/EO-IR/SPOT-7/Gibraltar_20151122/SPOT7_SONGEOQU000673_CONW1786_15_C019_COLN_01/DS_SPOT7_201511221101122_LM1_LM1_LM1_LM1_W006N36_01709/PROD_SPOT7_001/VOL_SPOT7_001_A/IMG_SPOT7_P_001_A\IMG_SPOT7_P_201511221101122_SEN_1_R1C3.TIF
       V:/orderdesk/ImageData/EO-IR/SPOT-7/Gibraltar_20151122/SPOT7_SONGEOQU000673_CONW1786_15_C019_COLN_01/DS_SPOT7_201511221101122_LM1_LM1_LM1_LM1_W006N36_01709/PROD_SPOT7_001/VOL_SPOT7_001_A/IMG_SPOT7_P_001_A\IMG_SPOT7_P_201511221101122_SEN_1_R1C4.TIF
       V:/orderdesk/ImageData/EO-IR/SPOT-7/Gibraltar_20151122/SPOT7_SONGEOQU000673_CONW1786_15_C019_COLN_01/DS_SPOT7_201511221101122_LM1_LM1_LM1_LM1_W006N36_01709/PROD_SPOT7_001/VOL_SPOT7_001_A/IMG_SPOT7_P_001_A\IMG_SPOT7_P_201511221101122_SEN_1_R2C1.TIF
       V:/orderdesk/ImageData/EO-IR/SPOT-7/Gibraltar_20151122/SPOT7_SONGEOQU000673_CONW1786_15_C019_COLN_01/DS_SPOT7_201511221101122_LM1_LM1_LM1_LM1_W006N36_01709/PROD_SPOT7_001/VOL_SPOT7_001_A/IMG_SPOT7_P_001_A\IMG_SPOT7_P_201511221101122_SEN_1_R2C2.TIF
       V:/orderdesk/ImageData/EO-IR/SPOT-7/Gibraltar_20151122/SPOT7_SONGEOQU000673_CONW1786_15_C019_COLN_01/DS_SPOT7_201511221101122_LM1_LM1_LM1_LM1_W006N36_01709/PROD_SPOT7_001/VOL_SPOT7_001_A/IMG_SPOT7_P_001_A\IMG_SPOT7_P_201511221101122_SEN_1_R2C3.TIF
       V:/orderdesk/ImageData/EO-IR/SPOT-7/Gibraltar_20151122/SPOT7_SONGEOQU000673_CONW1786_15_C019_COLN_01/DS_SPOT7_201511221101122_LM1_LM1_LM1_LM1_W006N36_01709/PROD_SPOT7_001/VOL_SPOT7_001_A/IMG_SPOT7_P_001_A\IMG_SPOT7_P_201511221101122_SEN_1_R2C4.TIF
       V:/orderdesk/ImageData/EO-IR/SPOT-7/Gibraltar_20151122/SPOT7_SONGEOQU000673_CONW1786_15_C019_COLN_01/DS_SPOT7_201511221101122_LM1_LM1_LM1_LM1_W006N36_01709/PROD_SPOT7_001/VOL_SPOT7_001_A/IMG_SPOT7_P_001_A\IMG_SPOT7_P_201511221101122_SEN_1_R3C1.TIF
       V:/orderdesk/ImageData/EO-IR/SPOT-7/Gibraltar_20151122/SPOT7_SONGEOQU000673_CONW1786_15_C019_COLN_01/DS_SPOT7_201511221101122_LM1_LM1_LM1_LM1_W006N36_01709/PROD_SPOT7_001/VOL_SPOT7_001_A/IMG_SPOT7_P_001_A\IMG_SPOT7_P_201511221101122_SEN_1_R3C2.TIF
       V:/orderdesk/ImageData/EO-IR/SPOT-7/Gibraltar_20151122/SPOT7_SONGEOQU000673_CONW1786_15_C019_COLN_01/DS_SPOT7_201511221101122_LM1_LM1_LM1_LM1_W006N36_01709/PROD_SPOT7_001/VOL_SPOT7_001_A/IMG_SPOT7_P_001_A\IMG_SPOT7_P_201511221101122_SEN_1_R3C3.TIF
       V:/orderdesk/ImageData/EO-IR/SPOT-7/Gibraltar_20151122/SPOT7_SONGEOQU000673_CONW1786_15_C019_COLN_01/DS_SPOT7_201511221101122_LM1_LM1_LM1_LM1_W006N36_01709/PROD_SPOT7_001/VOL_SPOT7_001_A/IMG_SPOT7_P_001_A\IMG_SPOT7_P_201511221101122_SEN_1_R3C4.TIF
Size is 38609, 34521
Coordinate System is:
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"]],
    AXIS["Latitude",NORTH],
    AXIS["Longitude",EAST],
    AUTHORITY["EPSG","4326"]]
Origin = (0.500000000000000,-0.500000000000000)
Pixel Size = (1.000000000000000,-1.000000000000000)
Metadata:
  BAND_MODE=PMS
  CLOUDCOVER_MEASURE_DESC=Region of interest mask
  CLOUDCOVER_MEASURE_NAME=Area_Of_Interest (ROI)
  CLOUDCOVER_MEASURE_TYPE=AUTOMATIC
  CLOUDCOVER_QUALITY_TABLES=SPOT
  DATASET_DELIVERY_TYPE=NETWORK
  DATASET_JOB_ID=_1
  DATASET_PRODUCER_ADDRESS=3528 30th Street North - Lethbridge, Alberta, T1H 6Z4 - Canada
  DATASET_PRODUCER_CONTACT=geomatics-sales at blackbridge.com<mailto:DATASET_PRODUCER_CONTACT=geomatics-sales at blackbridge.com>
  DATASET_PRODUCER_NAME=BLACKBRIDGE
  DATASET_PRODUCTION_DATE=2015-11-23T15:34:50.00Z
  DATASET_PRODUCT_INFO=SPOT
  DATASET_PRODUCT_TYPE=NA
  EPHEMERIS_ACQUISITION_ORBIT_DIRECTION=DESCENDING
  EPHEMERIS_ACQUISITION_ORBIT_NUMBER=337
  EPHEMERIS_NADIR_LAT=3.5841471033656489e+01
  EPHEMERIS_NADIR_LON=-9.6603113089445003e+00
  FACILITY_PROCESSING_CENTER=DRS
  FACILITY_SOFTWARE=IMF
  GEOMETRIC_ATTITUDES_USED=CORRECTED
  GEOMETRIC_EPHEMERIS_USED=CORRECTED
  GEOMETRIC_GEOMETRIC_PROCESSING=SENSOR
  GEOMETRIC_GROUND_SETTING=false
  GEOMETRIC_VERTICAL_SETTING=false
  IMAGING_DATE=2015-11-22
  IMAGING_TIME=11:01:12.2
  INSTRUMENT=SPOT
  INSTRUMENT_INDEX=7
  MISSION=SPOT
  MISSION_INDEX=7
  PROCESSING_LEVEL=SENSOR
  SPECTRAL_PROCESSING=P
RPC Metadata:
  HEIGHT_OFF=500.0
  HEIGHT_SCALE=500.0
  LAT_OFF=35.96632841
  LAT_SCALE=0.2793112
  LINE_DEN_COEFF= 1.0 2.149276760347684E-9 1.569864535554534E-9 -6.799732669177335E-11 -2.063917290551663E-7 5.291400672838851E-9 1.432198537731846E-9 5.698023429559451E-8 1.243822107313303E-7 -1.746418509117009E-10 -1.211904533802339E-10 -9.594566877849384E-10 -1.153369247642528E-12 3.538444270702224E-12 4.26347748636693E-9 4.343177181508928E-11 -6.035064920118659E-13 -1.126656950292592E-10 -7.029943511502941E-11 -9.566624067684285E-15
  LINE_NUM_COEFF= -0.0008011100540330391 0.005988756004666219 -1.006161910808713 -0.0001946180694095778 0.004209356753965839 1.376467517721126E-6 -9.388041150152281E-5 -0.002959160704855288 -0.000511151213931275 -2.885880985718603E-9 7.799077595883695E-7 1.236427847032796E-5 -1.358712986112905E-5 9.051632381182954E-11 -6.633326541832766E-6 1.706507335077583E-5 -1.297679767621225E-9 -2.800346545413087E-7 -3.495296701543981E-7 1.385508338188105E-14
  LINE_OFF=17259.5
  LINE_SCALE=17260.5
  LONG_OFF=-5.63052114
  LONG_SCALE=0.4458457
  SAMP_DEN_COEFF= 1.0 3.207984712337676E-6 4.196037094848774E-6 -4.117329040282173E-7 -6.496285026700729E-5 4.343585754378016E-6 9.27816103703259E-7 -1.246957365439359E-7 2.61261124305228E-5 -1.795307168770061E-7 -2.808631514894751E-9 5.32730707463941E-8 -9.012108018019151E-8 5.908218260933527E-10 2.164174918962015E-7 2.391906457543966E-8 -3.789701945295544E-10 -1.665330721225451E-8 2.594007104159963E-9 -1.350581587293522E-11
  SAMP_NUM_COEFF= 0.02938345788435526 1.013293511852162 0.0001297969387494999 0.007386961987047776 0.006394394524917459 0.000441641845902842 -8.135653014705589E-5 -0.02764884022515586 -0.0009560845024015708 3.947277505815974E-6 1.587110675331964E-5 0.0005808032904850307 -4.120894910451828E-5 -2.630199991025371E-8 0.000132036531961926 4.231628156443142E-5 -5.489149163038843E-9 -2.512285999363316E-5 -1.546263812538901E-6 8.32678541840813E-10
  SAMP_OFF=19303.5
  SAMP_SCALE=19304.5
Corner Coordinates:
Upper Left  (   0.5000000,  -0.5000000) (  0d30' 0.00"E,  0d30' 0.00"S)
Lower Left  (       0.500,  -34521.500) (  0d30' 0.00"E,Invalid angle)
Upper Right (   38609.500,      -0.500) (Invalid angle,  0d30' 0.00"S)
Lower Right (   38609.500,  -34521.500) (Invalid angle,Invalid angle)
Center      (   19305.000,  -17261.000) (Invalid angle,Invalid angle)
Band 1 Block=128x128 Type=UInt16, ColorInterp=Undefined


This electronic correspondence, including any attachments, is intended solely for the use of the intended recipient(s) and may contain legally privileged, proprietary and/or confidential information. If you are not the intended recipient, please immediately notify the sender by reply e-mail and permanently delete all copies of this electronic correspondence and associated attachments. Any use, disclosure, dissemination, distribution or copying of this electronic correspondence and any attachments for any purposes that have not been specifically authorized by the sender is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180112/bebd72a0/attachment.html>


More information about the gdal-dev mailing list