<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.5626" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=855334413-15062009>Thanks
Jukka,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=855334413-15062009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=855334413-15062009>But
when I go directly to <A
href="http://localhost/cgi-bin/mapserv.exe?map=../test/service/alex.map&service=WMS&version=1.1.1&layer=gcar&SRS=EPSG:42304&mode=map">http://localhost/cgi-bin/mapserv.exe?map=../test/service/alex.map&service=WMS&version=1.1.1&layer=gcar&SRS=EPSG:42304&mode=map</A> ,
the map looks identical no matter what I put in
&SRS=EPSG:xxxxx</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=855334413-15062009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=855334413-15062009>Right
now the image is okay because my mapfile says the source projection is inverted.
This makes it output the correct images, but the coordinates are all wrong, and
I'm gonig to need to use correct coordinates.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=855334413-15062009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=855334413-15062009>Thanks
again,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=855334413-15062009>Alexandre Laplante</SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
mapserver-users-bounces@lists.osgeo.org
[mailto:mapserver-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>Rahkonen
Jukka<BR><B>Sent:</B> June 12, 2009 7:27 AM<BR><B>To:</B>
Alexandre.Laplante@statcan.gc.ca;
mapserver-users@lists.osgeo.org<BR><B>Subject:</B> Re: [mapserver-users]
Ignoring top level settings<BR><BR></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=344252311-12062009>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=344252311-12062009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=344252311-12062009>Could it be so that OpenLayers inserts extents and
projection in the request, and Mapserver gives what it is asked for? At
least in normal WMS usage map level PROJECTION and EXTENT do not have an
effect, Mapserver is sending the image in the requested projection, from a
requested area.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=344252311-12062009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=344252311-12062009>-Jukka Rahkonen-</SPAN></FONT></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=fi dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Lähettäjä:</B>
mapserver-users-bounces@lists.osgeo.org
[mailto:mapserver-users-bounces@lists.osgeo.org] <B>Puolesta
</B>Alexandre.Laplante@statcan.gc.ca<BR><B>Lähetetty:</B> 11. kesäkuuta 2009
23:26<BR><B>Vastaanottaja:</B>
mapserver-users@lists.osgeo.org<BR><B>Aihe:</B> RE: [mapserver-users]
Ignoring top level settings<BR></FONT><BR></DIV>
<DIV></DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=744373620-11062009></SPAN></FONT>
<DIV></DIV>
<DIV><FONT face=Tahoma><FONT size=2><FONT face=Arial><FONT
color=#0000ff>I<SPAN class=744373620-11062009> I've discovered
that the base layer rendering as jpg was a problem with my openlayers, not
mapserver. However, I still can't change my top-level projection or extent.
Any help is greatly appreciated.</SPAN></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT size=2><FONT face=Arial><FONT
color=#0000ff><SPAN
class=744373620-11062009></SPAN></FONT></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Tahoma><FONT size=2><FONT face=Arial><FONT
color=#0000ff><SPAN class=744373620-11062009>Thank
you.</SPAN></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT size=2><FONT face=Arial><FONT
color=#0000ff><SPAN
class=744373620-11062009></SPAN></FONT></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Tahoma><FONT size=2><FONT face=Arial><FONT
color=#0000ff><SPAN
class=744373620-11062009> </SPAN></FONT></FONT>-----Original
Message-----<BR><B>From:</B> mapserver-users-bounces@lists.osgeo.org
[mailto:mapserver-users-bounces@lists.osgeo.org] <B>On Behalf Of
</B>Alexandre.Laplante@statcan.gc.ca<BR><B>Sent:</B> June 8, 2009 9:35
AM<BR><B>To:</B> mapserver-users@lists.osgeo.org<BR><B>Subject:</B>
[mapserver-users] Ignoring top level settings<BR><BR></DIV></FONT></FONT>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>Hello list,</FONT> </P>
<P><FONT face=Arial size=2>It seems as though my top level settings in my
mapfile are being ignored. No matter what I put as projection, the output
doesn’t change (unless it's an invalid projection). Changing the values of
EXTENT doesn't change anything either, as my map always starts zoomed out
very far. I also have not been able to make my base layer output as
anything other than jpg.</FONT></P>
<P><FONT face=Arial size=2>I have a feeling that this is related to an
invalid /tmp/ location in the mapfile. I have not been able to write the
location of the /tmp/ folder (it's on the root of my c: drive) in a way
that mapserver will use it.</FONT></P>
<P><FONT face=Arial size=2>Apart from these things, everything works fine.
I've been able to sort of counter-act the projection ignoring by telling
mapserver that the layer's projection has</FONT> <FONT face="Courier New"
size=2>lat_0=-49 when in fact, it is in epsg:43204 meaning
lat_0=49</FONT><FONT face=Arial size=2>.</FONT></P>
<P><FONT face=Arial size=2>I've attached my mapfile.</FONT> </P>
<P><FONT face=Arial size=2>Thanks in advance,</FONT> <BR><B><FONT
face=Arial color=#000000>Alexandre Laplante</FONT></B><BR><B></B><B><FONT
face=Arial size=2>Étudiant Co-op / Co-op Student</FONT></B><BR><FONT
face=Arial size=2>Division de l'Agriculture / Agriculture
Division</FONT><FONT face="Times New Roman"><BR></FONT><FONT face=Arial
size=2>Statistique Canada / Statistics Canada</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial size=2>170 Tunney's
Pasture Driveway</FONT><FONT face="Times New Roman"><BR></FONT><FONT
face=Arial size=2>Éd. Jean-Talon, 12è étage D1 / Jean-Talon Building, 12th
floor D1</FONT><FONT face="Times New Roman"><BR></FONT><FONT face=Arial
size=2>Ottawa, Ontario</FONT> <BR><FONT face=Arial color=#000000
size=2><<alex.map>>
</FONT></P></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>