raster projector
John Smith
jayzee.smith at GMAIL.COM
Thu Nov 16 09:10:24 PST 2006
guys,
trying to put a geotiff in- works but not right. here's what's happening:
i download the geotiff from national atlas. when i give no proj info under
LAYER it shows up but not where it should (nwis). so i copy MAP proj to
LAYER proj hoping for some on-the-fly magic- again it shows up but nwis.
well i go over to
proj_list<http://www.remotesensing.org/geotiff/proj_list/>and look up
the epsg (EPSG?) code (9820) from metadata but it throws the
"msProcessProjection(): Projection library error. no options found in 'init'
file" error. then i try all epsg codes given by gdalinfo ;) but same error.
although when i try the MAP epsg code (4326) it shows up but nwis.
so what's wrong here? think proj.exe geod.exe cs2cs.exe libgeotiff listgeo'd
help? now i don't think wld is needed because it's included with the geotiff
but i've tried with wld and no luck. i just hope i don't have to rectify in
arcmap. btw IMAGETYPE=png24 in case that matters.
jzs
http://mapserver.gis.umn.edu/docs/howto/raster_data
http://mapserver.gis.umn.edu/docs/reference/mapfile/projection
http://www.nabble.com/Trying-to-figure-out-epsg-for-a-GeoTIFF-tf1165783.html
http://www.remotesensing.org/geotiff/proj_list/
http://www.remotesensing.org/gdal/gdalinfo.html
http://www.remotesensing.org/proj/
>gdalinfo geotiff.tif
Driver: GTiff/GeoTIFF
Size is 10366, 7273
Coordinate System is:
PROJCS["TIFF 6.0, GeoTIFF Revision 1.0",
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.2572235630016,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4326"]],
PROJECTION["Lambert_Azimuthal_Equal_Area"],
PARAMETER["latitude_of_center",45],
PARAMETER["longitude_of_center",-100],
PARAMETER["false_easting",0],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]]]
Origin = (-6086629.000000,4488761.000000)
Pixel Size = (1000.00000000,-1000.00000000)
Metadata:
AREA_OR_POINT=Point
TIFFTAG_IMAGEDESCRIPTION=North America
TIFFTAG_SOFTWARE=Arc/Info
TIFFTAG_XRESOLUTION=0.0010000002
TIFFTAG_YRESOLUTION=0.0010000002
TIFFTAG_RESOLUTIONUNIT=1 (unitless)
Corner Coordinates:
Upper Left (-6086629.000, 4488761.000) (156d 3'31.10 "E, 37d45'55.65"N)
Lower Left (-6086629.000,-2784239.000) (154d27'44.36"W, 3d 2'12.16"N)
Upper Right ( 4279371.000, 4488761.000) ( 4d 0'23.08"W, 53d59'22.66"N)
Lower Right ( 4279371.000 ,-2784239.000) ( 61d 9'32.19"W, 11d18'12.56"N)
Center ( -903629.000, 852261.000) (113d12'19.80"W, 51d59'8.84"N)
Band 1 Block=10366x1 Type=Byte, ColorInterp=Red
Band 2 Block=10366x1 Type=Byte, ColorInterp=Green
Band 3 Block=10366x1 Type=Byte, ColorInterp=Blue
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061116/1f8933ba/attachment.htm>
More information about the MapServer-users
mailing list