[ka-Map-users] MapServer Reprojection
Ryan Ollerenshaw
ollerery at engr.orst.edu
Fri Jul 14 11:10:32 EDT 2006
My problem is that no matter what I have my SRS numbers set to my data will
always be displayed the same. What could I be missing that would cause
MapServers re-projection capabilities not to work.
I have several tiled .tiff images that I georeference by lat/long values using:
gdal_translate -a_ullr 180 0 210 -30 thm_dir_N-30_180.png thm_dir_N-30_180.tiff
I am then displaying them in MapServer using:
LAYER
NAME "themis"
STATUS ON
TILEINDEX "thm_dir.shp"
TILEITEM "location"
TYPE RASTER
DUMP TRUE
METADATA
wcs_name "THEMIS_Data"
wcs_description "THEMIS dataset"
wcs_label "THEMIS dataset"
ows_srs "EPSG:4326"
ows_extent "0 -90 360 90"
wcs_resolution "150 150"
wcs_size "2700 3197"
wcs_formats "GEOTIFF"
END
END
Here is what gdalinfo reports, but isnt it MapServer that does all the
re-projection? So that fact that the Coordinate System here is blank is ok
right?
gdalinfo thm_dir_-30_000.tiff
Driver: GTiff/GeoTIFF
Size is 7680, 7680
Coordinate System is `'
Origin = (0.000000,0.000000)
Pixel Size = (0.00390625,-0.00390625)
Corner Coordinates:
Upper Left ( 0.0000000, 0.0000000)
Lower Left ( 0.0000000, -30.0000000)
Upper Right ( 30.0000000, 0.0000000)
Lower Right ( 30.0000000, -30.0000000)
Center ( 15.0000000, -15.0000000)
Band 1 Block=7680x1 Type=Byte, ColorInterp=Gray
Overviews: 3840x3840, 1920x1920, 960x960, 480x480, 240x240
More information about the ka-Map-users
mailing list