AW: AW: [mapserver-users] Mapserver Projection Errors
SixDegrees
paulcarlisle at comcast.net
Fri Oct 21 01:55:23 PDT 2011
FWIW, here's a stripped-down mapfile with a single layer that produces the
error. Note that I have changed the explicit IP addresses to 'localhost' and
I have changed anything referring to the image name to "test_image" for
proprietary reasons, but everything else remains the same as in our
production environment:
MAP
NAME "Test_Images"
STATUS ON
SIZE 400 300
EXTENT -180 -90 180 90
UNITS DD
SHAPEPATH "../../../data/test_data/"
IMAGECOLOR 255 255 255
IMAGETYPE png24
CONFIG "MS_ERRORFILE" "/var/log/mapserver/mapserver_error.log"
DEBUG 5
CONFIG "CPL_DEBUG" "ON" # Debug GDAL calls
CONFIG "PROJ_DEBUG" "ON" # Debug PROJ calls
WEB
IMAGEPATH "/ms4w/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
METADATA
"wfs_title" "Test_Images"
"wfs_onlineresource"
"http://localhost/cgi-bin/mapserv?map=images_template_test.map&"
"wms_title" "Test_Images"
"wms_onlineresource"
"http://localhost/cgi-bin/mapserv?map=images_template_test.map&"
"wms_srs" "EPSG:4326"
"ows_enable_request" "*"
END
END
PROJECTION
"init=epsg:4326"
END
#
# Start of layer definitions
#
LAYER
NAME "test_image"
EXTENT 51.44325 35.71925 51.64125 35.87325
METADATA
"wms_title" "test_image"
"wms_extent" "51.44325 35.71925 51.64125 35.87325"
END
PROCESSING "SCALE=AUTO"
PROCESSING "SCALE_BUCKETS=256"
TYPE RASTER
DATA "/data/geodata/yongbyon/test_image.vrt"
PROJECTION
"+proj=longlat +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +no_defs"
END
END
END # Map File
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mapserver-Projection-Errors-tp6908527p6916268.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list