<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=962054415-17012006><FONT face=Arial
color=#0000ff size=2>Luiz & Bengt -</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=962054415-17012006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=962054415-17012006><FONT face=Arial
color=#0000ff size=2>I would expect that if Bengt is working with maps of
Scandinavian countries, the difference between Plat Carree and Mercator should
be noticeable (Mercator will "stretch" things north/south by quite a bit
compared to a "geographic" or Plat Carree projection).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=962054415-17012006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=962054415-17012006><FONT face=Arial
color=#0000ff size=2>Bengt, are you sure you have a good PROJ installation and
that MapServer is compiled with PROJ support (run mapserv -v and look for
"SUPPORTS=PROJ")?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=962054415-17012006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=962054415-17012006><FONT face=Arial
color=#0000ff size=2> - Ed</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=962054415-17012006>
<P><FONT size=2>Ed McNierney<BR>President and Chief Mapmaker<BR>TopoZone.com /
Maps a la carte, Inc.<BR>73 Princeton Street, Suite 305<BR>North Chelmsford,
MA 01863<BR>ed@topozone.com<BR>(978) 251-4242 </FONT></P></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> UMN MapServer Users List
[mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>Luiz
Vaz<BR><B>Sent:</B> Tuesday, January 17, 2006 12:46 AM<BR><B>To:</B>
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> Re: [UMN_MAPSERVER-USERS] No
reprojection done<BR></FONT><BR></DIV>
<DIV></DIV>Well, <BR><BR> it seems that there no perceptual changes
each other:<BR><BR># World Mercator<BR><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 <><BR><BR># World Plate Carree<BR><54001> +ellps=WGS84
+datum=WGS84 +units=m no_defs <><BR># World Equidistant
Cylindrical<BR><54002> +ellps=WGS84 +datum=WGS84 +units=m no_defs
<><BR><BR># WGS 84<BR><4326> +proj=longlat +ellps=WGS84 +datum=WGS84
+no_defs no_defs <> <BR><BR><BR>Best Regards,<BR>Luiz Vaz<BR><BR>
<DIV><SPAN class=gmail_quote>2006/1/15, Nilsson Bengt <<A
href="mailto:bengt.nilsson@aerotechtelub.se">bengt.nilsson@aerotechtelub.se</A>>:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi,<BR>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: <BR><BR>MAP<BR>NAME WMS-test<BR>STATUS ON<BR>SHAPEPATH
"shp"<BR>IMAGECOLOR 255 255 255<BR>FONTSET ../etc/fontset.txt<BR><BR>DEBUG
ON<BR>WEB<BR> LOG "/tmp/mapserv.log"<BR> IMAGEPATH
"/srv/www/htdocs/ms_tmp/" <BR> IMAGEURL
"/ms_tmp/"<BR> METADATA<BR> "wms_title"
"Test"<BR> "wms_onlineresource" "<A
href="http://hhhhhhhhh/mapserv/wt?service=WMS">http://hhhhhhhhh/mapserv/wt?service=WMS
</A>"<BR> "wms_srs"
"epsg:9823 epsg:4326
epsg:54004"<BR> END<BR>END<BR><BR>PROJECTION<BR> "init=epsg:54004"<BR>END<BR><BR>LAYER<BR> NAME
k92_strandlinje<BR> DEBUG ON<BR> METADATA
<BR> "wms_title" "k92_strandlinje"<BR> "wms_srs" "EPSG:4326"<BR> END<BR> TYPE
POLYGON<BR> STATUS ON<BR> CONNECTIONTYPE
postgis<BR> CONNECTION "user=postgres password=xxx dbname=xxx
host=localhost" <BR> DATA 'the_geom from
k92_strandlin_polygon'<BR> PROJECTION<BR>
"init=epsg:4326"<BR> END<BR> CLASS<BR> NAME
"strandlin-pgx"<BR> COLOR 255 251
237<BR> OUTLINECOLOR 100 100 100<BR> END
<BR>END<BR><BR>END<BR><BR><BR>/Regards
Bengt<BR></BLOCKQUOTE></DIV><BR></BODY></HTML>