[Gdal-dev] gdalinfo and mrsid

Reinaldo Escada Chohfi rec at geodesign.com.br
Wed May 16 16:07:12 EDT 2007


Clay,

NASA's GeoCover MrSID Landsat image mosaics do not have information on the coordinate system or datum embeded in the MrSID image header.  The NASA GeoCover Landsat mosaics are in UTM WGS84.  In your case, your image is in UTM, WGS84, Zone 17 North.

If you really need to add this info into the MrSID image header, you need to use the software GeoExpress from LizardTech to do it.  NASA's GeoCover MrSID images are in the MG2 MrSID format.  You would use GeoExpress to convert it from MG2 to MG3 and specify the coordinate system and datum for the MG3 output image.

If you do not have GeoExpress, you can download a trial version at LizardTech''s web site (www.lizardtech.com).

Hope it helps

Reinaldo Escada Chohfi
Diretor
GeoDesign Internacional - www.geodesign.com.br

Tel/Fax: 012-3153-5115
Email: rec at geodesign.com.br
Skype: rechohfi

GIS, Geoprocessamento, GeoWeb, Sensoriamento Remoto de Alta Resolução

Distribuidor da Sovinformsputnik
Revendedor da LizardTech e Applied Imagery

Copyright 2007 - Todos os diretos reservados
Não retransmitir sem autorização

 On Wed May 16 16:12 , "Clay, Bruce"  sent:

>
>
>
>
>
>
>
>
>
>
>
>
>
>Gdalinfo does not report a coordinate system when used with MrSid
>landsat images.  Is this a known issue?  It does report reference system from
>some other MrSid rasters that I use.  Is there a work around?
>
> 
>
>Bruce
>
> 
>
>Z:\GeoData\MrSid\N-17-35_2000>gdalinfo
>N-17-35_2000.sid
>
>Driver: MrSID/Multi-resolution Seamless Image Database
>(MrSID)
>
>Size is 47638, 39169
>
>Coordinate System is `'
>
>Origin = (160576.125000000000000,4433082.125000000000000)
>
>Pixel Size = (14.250000000000000,-14.250000000000000)
>
>Metadata:
>
> 
>IMAGE__INPUT_NAME=/dbuy/l7/outputs/mosaics742/N-17-3/locals/N-17-35_ll_742_200
>
>0.tif,
>/dbuy/l7/outputs/mosaics742/N-17-3/locals/N-17-35_lr_742_2000.tif, /dbuy/
>
>l7/outputs/mosaics742/N-17-3/locals/N-17-35_ul_742_2000.tif,
>/dbuy/l7/outputs/mo
>
>saics742/N-17-3/locals/N-17-35_ur_742_2000.tif
>
>  IMAGE__INPUT_FILE_SIZE=5627937020.000000
>
>  IMAGE__COMPRESSION_VERSION=1,6,3
>
>  IMAGE__TARGET_COMPRESSION_RATIO=29.999998
>
>  IMAGE__COMPRESSION_NLEV=8
>
>  IMAGE__COMPRESSION_WEIGHT=2.000000
>
>  IMAGE__COMPRESSION_GAMMA=1.000000
>
>  IMAGE__COMPRESSION_BLOCK_SIZE=4096
>
>  IMAGE__CREATION_DATE=Fri Sep 19 16:16:14 2003
>
> 
>
>  IMAGE__WIDTH=47638
>
>  IMAGE__HEIGHT=39169
>
>  IMAGE__TRANSPARENT_DATA_VALUE=0,0,0
>
>  IMAGE__COLOR_SCHEME=0
>
>  IMAGE__DATA_TYPE=0
>
>  IMAGE__BITS_PER_SAMPLE=8
>
>  IMAGE__XY_ORIGIN=160583.250000,4433075.000000
>
>  IMAGE__X_RESOLUTION=14.250000
>
>  IMAGE__Y_RESOLUTION=14.250000
>
>Corner Coordinates:
>
>Upper Left  (  160576.125, 4433082.125)
>
>Lower Left  (  160576.125, 3874923.875)
>
>Upper Right (  839417.625, 4433082.125)
>
>Lower Right (  839417.625, 3874923.875)
>
>Center      (  499996.875, 4154003.000)
>
>Band 1 Block=1024x128 Type=Byte, ColorInterp=Red
>
>  Minimum=6.000, Maximum=199.000, Mean=89.353, StdDev=25.490
>
>  Overviews: 23819x19585, 11910x9793, 5955x4897, 2978x2449,
>1489x1225, 745x613,
>
>373x307, 187x154
>
>Band 2 Block=1024x128 Type=Byte, ColorInterp=Green
>
>  Minimum=7.000, Maximum=212.000, Mean=147.673,
>StdDev=18.278
>
>  Overviews: 23819x19585, 11910x9793, 5955x4897, 2978x2449,
>1489x1225, 745x613,
>
>373x307, 187x154
>
>Band 3 Block=1024x128 Type=Byte, ColorInterp=Blue
>
>  Minimum=33.000, Maximum=245.000, Mean=86.940,
>StdDev=21.528
>
>  Overviews: 23819x19585, 11910x9793, 5955x4897, 2978x2449,
>1489x1225, 745x613,
>
>373x307, 187x154
>
> 
>
>Z:\GeoData\MrSid\N-17-35_2000>
>
>Z:\GeoData\MrSid\N-17-35_2000>gdalinfo
>N-17-35_2000.sid
>
>Driver: MrSID/Multi-resolution Seamless Image Database
>(MrSID)
>
>Size is 47638, 39169
>
>Coordinate System is `'
>
>Origin = (160576.125000000000000,4433082.125000000000000)
>
>Pixel Size = (14.250000000000000,-14.250000000000000)
>
>Metadata:
>
> 
>IMAGE__INPUT_NAME=/dbuy/l7/outputs/mosaics742/N-17-3/locals/N-17-35_ll_742_200
>
>0.tif, /dbuy/l7/outputs/mosaics742/N-17-3/locals/N-17-35_lr_742_2000.tif,
>/dbuy/
>
>l7/outputs/mosaics742/N-17-3/locals/N-17-35_ul_742_2000.tif,
>/dbuy/l7/outputs/mo
>
>saics742/N-17-3/locals/N-17-35_ur_742_2000.tif
>
>  IMAGE__INPUT_FILE_SIZE=5627937020.000000
>
>  IMAGE__COMPRESSION_VERSION=1,6,3
>
>  IMAGE__TARGET_COMPRESSION_RATIO=29.999998
>
>  IMAGE__COMPRESSION_NLEV=8
>
>  IMAGE__COMPRESSION_WEIGHT=2.000000
>
>  IMAGE__COMPRESSION_GAMMA=1.000000
>
>  IMAGE__COMPRESSION_BLOCK_SIZE=4096
>
>  IMAGE__CREATION_DATE=Fri Sep 19 16:16:14 2003
>
> 
>
>  IMAGE__WIDTH=47638
>
>  IMAGE__HEIGHT=39169
>
>  IMAGE__TRANSPARENT_DATA_VALUE=0,0,0
>
>  IMAGE__COLOR_SCHEME=0
>
>  IMAGE__DATA_TYPE=0
>
>  IMAGE__BITS_PER_SAMPLE=8
>
>  IMAGE__XY_ORIGIN=160583.250000,4433075.000000
>
>  IMAGE__X_RESOLUTION=14.250000
>
>  IMAGE__Y_RESOLUTION=14.250000
>
>Corner Coordinates:
>
>Upper Left  (  160576.125, 4433082.125)
>
>Lower Left  (  160576.125, 3874923.875)
>
>Upper Right (  839417.625, 4433082.125)
>
>Lower Right (  839417.625, 3874923.875)
>
>Center      (  499996.875, 4154003.000)
>
>Band 1 Block=1024x128 Type=Byte, ColorInterp=Red
>
>  Minimum=6.000, Maximum=199.000, Mean=89.353, StdDev=25.490
>
>  Overviews: 23819x19585, 11910x9793, 5955x4897, 2978x2449,
>1489x1225, 745x613,
>
>373x307, 187x154
>
>Band 2 Block=1024x128 Type=Byte, ColorInterp=Green
>
>  Minimum=7.000, Maximum=212.000, Mean=147.673,
>StdDev=18.278
>
>  Overviews: 23819x19585, 11910x9793, 5955x4897, 2978x2449,
>1489x1225, 745x613,
>
>373x307, 187x154
>
>Band 3 Block=1024x128 Type=Byte, ColorInterp=Blue
>
>  Minimum=33.000, Maximum=245.000, Mean=86.940,
>StdDev=21.528
>
>  Overviews: 23819x19585, 11910x9793, 5955x4897, 2978x2449,
>1489x1225, 745x613,
>
>373x307, 187x154
>
> 
>
>Z:\GeoData\MrSid\N-17-35_2000>
>
>
>
>
>
>
>
>
>
>
>This message and any enclosures are intended only for the addressee.  Please  
>notify the sender by email if you are not the intended recipient.  If you are  
>not the intended recipient, you may not use, copy, disclose, or distribute this  
>message or its contents or enclosures to any other person and any such actions  
>may be unlawful.  Ball reserves the right to monitor and review all messages  
>and enclosures sent to or from this email address.





More information about the Gdal-dev mailing list