[Mapserver-users] using Kakadu raster images w/ MMS?

Chris G. Nicholas cgn at globexplorer.com
Thu Oct 16 10:43:26 EDT 2003


This is a multi-part message in MIME format.

------_=_NextPart_001_01C393F3.DB42C584
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Has anyone successfully used the Kakadu Jpeg2000 GDAL adaptor with MMS =
out there?

I have a bunch of images that look fine in kdu_show, but when I try to =
make MMS images out of them with GDAL, am getting just blank images with =
the attached MMS  .map file; tried with and without the "EXTENTS" tag...

gdalinfo sees them just fine, and gdaltranslate works on them too...

hmmmm....comments/suggestions/?? welcomed...

Chris
---------------------------------------------------
[cgn at localhost ecuador]$ more mosaic_08_28_2003_ecuador.wld
.0021949
0
0
-.0020833
-91.388395
10.00000


gdalinfo mosaic_08_28_2003_ecuador.jpc
Driver: JP2KAK/JPEG-2000 (based on Kakadu)
Size is 9748, 9600
Coordinate System is `'
Origin =3D (0.000000,0.000000)
Pixel Size =3D (1.000000,1.000000)
Corner Coordinates:
Upper Left  (   0.0000000,   0.0000000)
Lower Left  (       0.000,    9600.000)
Upper Right (    9748.000,       0.000)
Lower Right (    9748.000,    9600.000)
Center      (    4874.000,    4800.000)
Band 1 Block=3D512x128 Type=3DByte, ColorInterp=3DGray
  Overviews: 4874x4800, 2437x2400, 1219x1200, 610x600, 305x300, 153x150, =
77x75
Band 2 Block=3D512x128 Type=3DByte, ColorInterp=3DGray
  Overviews: 4874x4800, 2437x2400, 1219x1200, 610x600, 305x300, 153x150, =
77x75
Band 3 Block=3D512x128 Type=3DByte, ColorInterp=3DGray
  Overviews: 4874x4800, 2437x2400, 1219x1200, 610x600, 305x300, 153x150, =
77x75
[cgn at localhost ecuador]$


[cgn at localhost ecuador]$ gdalinfo r309.jp2
Driver: JP2KAK/JPEG-2000 (based on Kakadu)
Size is 4800, 8400
Coordinate System is `'
Origin =3D (0.000000,0.000000)
Pixel Size =3D (1.000000,1.000000)
Corner Coordinates:
Upper Left  (   0.0000000,   0.0000000)
Lower Left  (       0.000,    8400.000)
Upper Right (    4800.000,       0.000)
Lower Right (    4800.000,    8400.000)
Center      (    2400.000,    4200.000)
Band 1 Block=3D512x128 Type=3DByte, ColorInterp=3DGray
  Overviews: 2400x4200, 1200x2100, 600x1050, 300x525, 150x263, 75x132
[cgn at localhost ecuador]$






------_=_NextPart_001_01C393F3.DB42C584
Content-Type: application/octet-stream;
	name="test2.map"
Content-Transfer-Encoding: base64
Content-Description: test2.map
Content-Disposition: attachment;
	filename="test2.map"

IwojIFN0YXJ0IG9mIG1hcCBmaWxlCiMKCk5BTUUgREVNTwpTVEFUVVMgT04KU0laRSA2MDAgNjAw
CkVYVEVOVCAtODAuMCAwLjAgLTc1LjAgNS4wClVOSVRTIERECiMgSU1BR0VDT0xPUiAwIDAgMAoK
SU1BR0VUWVBFIGpwZWcKIwojClBST0pFQ1RJT04KICAiaW5pdD1lcHNnOjQzMjYiCkVORAoKCiMK
IyBTdGFydCBvZiBsYXllciBkZWZpbml0aW9ucwojCglMQVlFUgoJCU5BTUUgIkJBQ0tEUk9QIgoJ
CURBVEEgIi9ob21lL2Nnbi9zcmMva2FrYWR1X3Y0XzAtMDAxMTVDL2VjdWFkb3IvcjMwOS5qcDIi
CgkJVFlQRSBSQVNURVIKCQlTVEFUVVMgT04KCQlQUk9KRUNUSU9OCgkJICAiaW5pdD1lcHNnOjQz
MjYiCgkJRU5ECglFTkQKCgojCUxBWUVSCiMJCVBST0pFQ1RJT04KIwkJCSJpbml0PWVwc2c6NDMy
NiIKIwkJRU5ECiMKIwkJQ09OTkVDVElPTlRZUEUgcG9zdGdpcwojCQlOQU1FICJzdHJlZXRfc2Vn
cyIKIwkJTUFYU0NBTEUgNjAwMDAwMAojCQlDT05ORUNUSU9OICJ1c2VyPXBvc3RncmVzIGRibmFt
ZT1nZXh0ZXN0IGhvc3Q9cG9nbyIKIwkJREFUQSAidGhlX2dlb20gZnJvbSBzdHJlZXRzIFVTSU5H
IFNSSUQ9NDMyNiIKIwkJU1RBVFVTIE9OCiMJCVRZUEUgTElORQojCQlDTEFTUwojCQkJQ09MT1Ig
MCAyNTUgMAojCQlFTkQKIwlFTkQKCkVORCAjIE1hcCBGaWxlCg==

------_=_NextPart_001_01C393F3.DB42C584--



More information about the mapserver-users mailing list