[mapserver-users] Problems serving GeoTifs as .bil
James_in_Utah
James.Evans at hill.af.mil
Fri Apr 12 15:42:06 PDT 2013
Hi Jeff,
Thanks for the reply. That seemed to put out a perfectly valid .bil file.
I then thought there might be something wrong with me GMTED2010 samples. I
made a new set, using only one sample geotiff that comes with the World Wind
Java SDK for the Crater Lake area. I modified my map file to only look for
that area, and it worked just fine. Here's what gdalinfo says about that
working sample:
Driver: GTiff/GeoTIFF
Files: craterlake-elev-16bit-30m.tif
Size is 429, 279
Coordinate System is:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223560493,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4326"]]
Origin = (-122.165582686187900,42.979451627831743)
Pixel Size = (0.000269965978544,-0.000269965978544)
Metadata:
AREA_OR_POINT=Point
TIFFTAG_MAXSAMPLEVALUE=1880
TIFFTAG_MINSAMPLEVALUE=1289
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left (-122.1655827, 42.9794516) (122d 9'56.10"W, 42d58'46.03"N)
Lower Left (-122.1655827, 42.9041311) (122d 9'56.10"W, 42d54'14.87"N)
Upper Right (-122.0497673, 42.9794516) (122d 2'59.16"W, 42d58'46.03"N)
Lower Right (-122.0497673, 42.9041311) (122d 2'59.16"W, 42d54'14.87"N)
Center (-122.1076750, 42.9417914) (122d 6'27.63"W, 42d56'30.45"N)
Band 1 Block=429x1 Type=Int16, ColorInterp=Gray
Here's the gdalinfo on the one of the files that does not work:
Driver: GTiff/GeoTIFF
Files: 30n120w_20101117_gmted_bln300.tif
Size is 3600, 2400
Coordinate System is:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4326"]]
Origin = (-120.000138888888880,49.999861111111109)
Pixel Size = (0.008333333333333,-0.008333333333333)
Metadata:
AREA_OR_POINT=Area
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left (-120.0001389, 49.9998611) (120d 0' 0.50"W, 49d59'59.50"N)
Lower Left (-120.0001389, 29.9998611) (120d 0' 0.50"W, 29d59'59.50"N)
Upper Right ( -90.0001389, 49.9998611) ( 90d 0' 0.50"W, 49d59'59.50"N)
Lower Right ( -90.0001389, 29.9998611) ( 90d 0' 0.50"W, 29d59'59.50"N)
Center (-105.0001389, 39.9998611) (105d 0' 0.50"W, 39d59'59.50"N)
Band 1 Block=3600x1 Type=Int16, ColorInterp=Gray
NoData Value=-32768
I'm not really sure why the GMTED files produce bad results. I'll do more
checking on the USDA site.
Thanks,
James
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Problems-serving-GeoTifs-as-bil-tp5046467p5046522.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list