No reprojection done
Luiz Vaz
vaz.luiz at GMAIL.COM
Mon Jan 16 21:46:01 PST 2006
Well,
it seems that there no perceptual changes each other:
# World Mercator
<54004> +proj=merc +lat_ts=0 +lon_0=0 +k=1.000000 +x_0=0 +y_0=0 +ellps=WGS84
+datum=WGS84 +units=m no_defs <>
# World Plate Carree
<54001> +ellps=WGS84 +datum=WGS84 +units=m no_defs <>
# World Equidistant Cylindrical
<54002> +ellps=WGS84 +datum=WGS84 +units=m no_defs <>
# WGS 84
<4326> +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs no_defs <>
Best Regards,
Luiz Vaz
2006/1/15, Nilsson Bengt <bengt.nilsson at aerotechtelub.se>:
>
> Hi,
> I've set up a WMS server with an initial singe layer to test reprojection.
> However , I can't get the projection to work. Whatever output projection i
> try I get the same geographical (4326) back. For example, when I make a WMS
> request with SRS=EPSG:54004 (Mercator) and bounding box in that projection
> I get an 4326-map back. I do not get any errors. Here is my map-file:
>
> MAP
> NAME WMS-test
> STATUS ON
> SHAPEPATH "shp"
> IMAGECOLOR 255 255 255
> FONTSET ../etc/fontset.txt
>
> DEBUG ON
> WEB
> LOG "/tmp/mapserv.log"
> IMAGEPATH "/srv/www/htdocs/ms_tmp/"
> IMAGEURL "/ms_tmp/"
> METADATA
> "wms_title" "Test"
> "wms_onlineresource" "http://hhhhhhhhh/mapserv/wt?service=WMS"
> "wms_srs" "epsg:9823 epsg:4326 epsg:54004"
> END
> END
>
> PROJECTION
> "init=epsg:54004"
> END
>
> LAYER
> NAME k92_strandlinje
> DEBUG ON
> METADATA
> "wms_title" "k92_strandlinje"
> "wms_srs" "EPSG:4326"
> END
> TYPE POLYGON
> STATUS ON
> CONNECTIONTYPE postgis
> CONNECTION "user=postgres password=xxx dbname=xxx host=localhost"
> DATA 'the_geom from k92_strandlin_polygon'
> PROJECTION
> "init=epsg:4326"
> END
> CLASS
> NAME "strandlin-pgx"
> COLOR 255 251 237
> OUTLINECOLOR 100 100 100
> END
> END
>
> END
>
>
> /Regards Bengt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060117/f3af532a/attachment.htm>
More information about the MapServer-users
mailing list