[Gdal-dev] Subdatasets
Murphy, David
dmurphy at agi.com
Thu Jun 1 11:08:22 EDT 2006
Hello-
I'm trying to run GDAL_Translate against a subdataset of CADRG RPF
dataset. The GDALInfo results of this dataset are...
Driver: OGDI/OGDI Bridge
Size is 2000, 2000
Coordinate System is:
GEOGCS["WGS 84",
DATUM["unknown",
SPHEROID["WGS84",6378137,298.257223563]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433]]
Origin = (124.126904,43.092269)
Pixel Size = (0.00335787,-0.00248609)
Subdatasets:
SUBDATASET_1_NAME=gltp:/rpf/d:/rpf:"1:50K at 2@CADRG at DMAAC@0":Matrix
SUBDATASET_1_DESC=1:50K at 2@CADRG at DMAAC@0 as Matrix
SUBDATASET_2_NAME=gltp:/rpf/d:/rpf:"1:50K at 2@CADRG at DMAAC@0":Image
SUBDATASET_2_DESC=1:50K at 2@CADRG at DMAAC@0 as Image
Corner Coordinates:
Upper Left ( 124.1269036, 43.0922693) (124d 7'36.85"E, 43d 5'32.17"N)
Lower Left ( 124.1269036, 38.1200844) (124d 7'36.85"E, 38d 7'12.30"N)
Upper Right ( 130.8426396, 43.0922693) (130d50'33.50"E, 43d 5'32.17"N)
Lower Right ( 130.8426396, 38.1200844) (130d50'33.50"E, 38d 7'12.30"N)
Center ( 127.4847716, 40.6061769) (127d29'5.18"E, 40d36'22.24"N)
Band 1 Block=2000x1 Type=Byte, ColorInterp=Red
Overviews: arbitrary
Band 2 Block=2000x1 Type=Byte, ColorInterp=Green
Overviews: arbitrary
Band 3 Block=2000x1 Type=Byte, ColorInterp=Blue
Overviews: arbitrary
Band 4 Block=2000x1 Type=Byte, ColorInterp=Alpha
Overviews: arbitrary
When I try to run GDAL_Translate.. (gdal_translate -of jp2kak
gltp:/rpf/d:/rpf:"1:50K at 2@CADRG at DMAAC@0":Matrix gdal_jp2test.jp2) I get
an error message ...
ERROR 1: Invalid URL. The rpf directory is invalid
GDALOpen failed - 1
Invalid URL. The rpf directory is invalid
Any suggestions on how I should specify a subdataset here?
Thanks,
Dave Murphy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060601/46aa3023/attachment.html
More information about the Gdal-dev
mailing list