[gdal-dev] mrsid : coordinate system problem

Didrik Pinte lists at dipole-consulting.com
Wed Sep 17 09:58:53 EDT 2008


Another interesting information. The output of mrsigeoinfo seems correct
and the output of gdal not.

========================================================================================
did at ddp:~/scripts/mapping/mrsid$ ./mrsidgeoinfo_linux
~/data/raster/5227y04.sid 
mrsidgeoinfo: (c) 2005 LizardTech, Inc. All rights reserved.

basic image info:
  format:            MrSID/MG2
  width:             10000
  height:            10000
  nband:             3
  color space:       RGB
  datatype:          uint8
  precision:         8
  dyn range min:     (natural)
  dyn range max:     (natural)
  background color:  (0, 0, 0)
  nodata color:      (none)
  nominal size:      300000000
  mag range:         0.031250 to 1048576.000000
  metadata records:  20
  num AOI regions:   0

geo coordinate info:
  X UL:              153622.256000
  Y UL:              165381.456000
  X res:             0.080683
  Y res:             -0.081038
  X rot:             0.003738
  Y rot:             0.003774

geo points (pixel centers):
  upper left:        (153622.256000, 165381.456000)
  upper right:       (154429.002317, 165381.456000)
  lower left:        (153622.256000, 164571.158038)
  lower right:       (154429.002317, 164571.158038)
  center:            (154025.629159, 164976.307019)

MrSID image info:
  number of levels:  5
  is locked:         false
  file version:      1.0.1. 

MrSID/MG2-specific image info:
  is dithered:       true
  block size:        512
========================================================================================

See my previous e-mail for gdalinfo outut. Coordinates where : 

Corner Coordinates:
Upper Left  (  -0.0010500,  21.0010493) (  2d18'19.78"E, 49d17'38.76"N)
Lower Left  (  -0.0010500,   0.0010500) (  2d18'19.81"E, 49d17'38.08"N)
Upper Right (  20.9989493,  21.0010493) (  2d18'20.82"E, 49d17'38.78"N)
Lower Right (  20.9989493,   0.0010500) (  2d18'20.85"E, 49d17'38.10"N)
Center      (  10.4989496,  10.5010496) (  2d18'20.31"E, 49d17'38.43"N)

Didrik

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080917/ceebc51f/attachment-0001.bin


More information about the gdal-dev mailing list