Thanks Jukka,
But when I go directly to
http://localhost/cgi-bin/mapserv.exe?map=../test/service/alex.map&service=WMS&version=1.1.1&layer=gcar&SRS=EPSG:42304&mode=map
, the map looks identical no matter what I put in &SRS=EPSG:xxxxx
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.
Thanks again,
Alexandre Laplante
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Rahkonen Jukka
Sent: June 12, 2009 7:27 AM
To: [email protected]; [email protected]
Subject: Re: [mapserver-users] Ignoring top level settings
Hi,
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.
-Jukka Rahkonen-
________________________________
Lähettäjä: [email protected]
[mailto:[email protected]] Puolesta
[email protected]
Lähetetty: 11. kesäkuuta 2009 23:26
Vastaanottaja: [email protected]
Aihe: RE: [mapserver-users] Ignoring top level settings
I 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.
Thank you.
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: June 8, 2009 9:35 AM
To: [email protected]
Subject: [mapserver-users] Ignoring top level settings
Hello list,
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.
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.
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 lat_0=-49 when in fact, it is in epsg:43204
meaning lat_0=49.
I've attached my mapfile.
Thanks in advance,
Alexandre Laplante
Étudiant Co-op / Co-op Student
Division de l'Agriculture / Agriculture Division
Statistique Canada / Statistics Canada
170 Tunney's Pasture Driveway
Éd. Jean-Talon, 12è étage D1 / Jean-Talon Building,
12th floor D1
Ottawa, Ontario
<<alex.map>>
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users