AW: AW: [mapserver-users] Mapserver Projection Errors
Rahkonen Jukka
Jukka.Rahkonen at mmmtike.fi
Fri Oct 21 02:35:05 PDT 2011
Hi,
I fear that the last thing that I can say is that I do not get any errors into my error log with CONFIG "PROJ_DEBUG" "ON"
if I do the change from init=epsg into +proj. WMS continues to work in a pretty similar way. I am running Mapserver 6.0.0 (MS4W).
#PROJECTION
# "init=epsg:4326"
#END
PROJECTION
"+proj=longlat +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +no_defs"
END
There is something that you can still make for simplifying your case. Use tiff instead of .vrt as an input and remove the layer extent and wms_extent.
-Jukka Rahkonen-
SixDegrees wrote:
>
> 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-Er
rors-tp6908527p6916268.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list