[Mapserver-users] WMS Label Strangenss

craig.gould at bt.com craig.gould at bt.com
Fri Apr 23 08:45:24 EDT 2004


This is a multi-part message in MIME format.

------_=_NextPart_001_01C42930.D8A3B617
Content-Type: text/plain;
	charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

Thanks for the reply. The text returns when antialias false is turned =
off.
=20
However, I don't really understand how this would make any difference.
The png file being created by the server has the text in, it's just when =
it's merged with the client map that the text dissappears (in the case =
of antialias false) or becomes fuzzy (in the case of antialias true).
=20
Forgive my ignorance but how do the client and server images get merged? =

Could the caause be in the merge somewhere?
=20
Thanks again
Craig.
=20

	-----Original Message-----
	From: Stepan Kafka [mailto:stepan.kafka at centrum.cz]=20
	Sent: 23 April 2004 10:26
	To: Gould,CR,Craig,XGH6A C; mapserver-users at lists.gis.umn.edu
	Subject: RE: [Mapserver-users] WMS Label Strangenss
=09
=09
	hmm, I should run, I don't know where is the mistake. When remove turn =
antialias false, everything goes well again?
	=20
	Stepan

		-----P=F9vodn=ED zpr=E1va-----
		Od: mapserver-users-admin at lists.gis.umn.edu =
[mailto:mapserver-users-admin at lists.gis.umn.edu]za u=BEivatele =
craig.gould at bt.com
		Odesl=E1no: 22. dubna 2004 18:36
		Komu: mapserver-users at lists.gis.umn.edu
		P=F8edm=ECt: RE: [Mapserver-users] WMS Label Strangenss
	=09
	=09
		Stepan,
		The labels disappear completely when I use the ANTIALIAS FALSE option
		Craig.

			-----Original Message-----
			From: Stepan Kafka [mailto:stepan.kafka at centrum.cz]=20
			Sent: 22 April 2004 15:16
			To: Gould,CR,Craig,XGH6A C; mapserver-users at lists.gis.umn.edu
			Subject: RE: [Mapserver-users] WMS Label Strangenss
		=09
		=09
			Your layer uses anti-aliased fonts (to be smoother) as default =
option. Try set ANTIALIAS FALSE in the LABEL object:
			=20
			                LABEL =20
			                        FONT "arial"=20
			                        TYPE TRUETYPE=20
			                        SIZE 10=20
			                        COLOR 0 0 0=20
			                        POSITION cc=20
			                        OFFSET 0 0
			            ANTIALIAS FALSE=20
			                END=20
		=09
			Stepan Kafka
			Help Service Remote Sensing
			tel: +420-327514118
			mailto:kafka at email.cz
			ICQ: 294002967
			http://www.bnhelp.cz <http://www.bnhelp.cz/>=20
		=09

				-----P=F9vodn=ED zpr=E1va-----
				Od: mapserver-users-admin at lists.gis.umn.edu =
[mailto:mapserver-users-admin at lists.gis.umn.edu]za u=BEivatele =
craig.gould at bt.com
				Odesl=E1no: 22. dubna 2004 14:57
				Komu: mapserver-users at lists.gis.umn.edu
				P=F8edm=ECt: [Mapserver-users] WMS Label Strangenss
			=09
			=09

				Folks,=20

				Excuse me if I'm being daft here as I'm pretty new to this WMS =
stuff.=20

				I have some layer labels coming through a WMS server that when =
displayed on the client map lose their focus and become off colour and =
fuzzy. They are supposed to be black, but appear in the final image as a =
mix of grey/white/black. Hopefully my image attachments will appear on =
the list. If not then please mail me for them if you know anything about =
this.

				The WMS server is passing an image that looks just as it should, =
e.g.=20
				<<1082638016134960.png>>=20

				However, when this is placed on the client map the labels appear =
like this:=20
				<<DEMO108263801613496.gif>>=20

				Both maps are using the British National Grid projection epsg:27700. =


				My client map layer looks like this:=20

				LAYER=20
				    NAME OS=20
				    TYPE RASTER=20
				    OFFSITE 0 0 0=20
				    STATUS DEFAULT=20
				        MAXSCALE 50000=20
				        MINSCALE 0   =20
				    CONNECTIONTYPE WMS=20
				    CONNECTION =
"http://132.146.248.79/OSMapServer/OSWMSMap.asp?map=3DC:\Inetpub\WWWRoot\=
OSMapServer\OS.map& =
<http://132.146.248.79/OSMapServer/OSWMSMap.asp?map=3DC:\Inetpub\WWWRoot\=
OSMapServer\OS.map&> "=20
				    METADATA=20
				      "wms_title" "OS"=20
				      "wms_name" "OS_Road"=20
				      "wms_server_version" "1.1.0"=20
				      "wms_srs" "epsg:27700"=20
				      "wms_format" "image/png"=20
				      "wms_map" "C:\Inetpub\WWWRoot\OSMapServer\OS.map"=20
				    END=20
				END=20

				[ For the sharp eyed among you, you may notice this is directed to =
an asp page. This redirects the request to the mapserv cgi-bin script =
with all the same parameters but without the epsg parameter as this is =
the only way I can get a client using projection 27700 and a server =
using the same projection to respond with a map. Mapserver crashes with =
a page fault otherwise! This is not restricted to just epsg 27700 - if =
the server/client has the same family of projection as 27700 this page =
fault will occurr. Not knowing enough about the projection code and =
being too dum to get it to compile on my own windoze machine I've failed =
to trace what's causing this problem ]


				My server map layer looks like this:=20

				LAYER=20
				        NAME                    "OS_Text"=20
				        TYPE                    POINT=20
				        CONNECTIONTYPE  OGR=20
				        CONNECTION              "C:\OS_Maps\SO\SOText.Tab"=20
				        STATUS          DEFAULT=20
				        MAXSCALE                4000=20
				        LABELITEM               'Name'=20
				        METADATA=20
				                WMS_TITLE "OS_Text"=20
				                WMS_SRS "EPSG:27700"=20
				        END    =20
				        CLASS=20
				                NAME "OS_Text"=20
				                COLOR 0 0 0=20
				                LABEL =20
				                        FONT "arial"=20
				                        TYPE TRUETYPE=20
				                        SIZE 10=20
				                        COLOR 0 0 0=20
				                        POSITION cc=20
				                        OFFSET 0 0=20
				                END=20
				        END=20
				        PROJECTION=20
				                "init=3Depsg:27700"=20
				        END=20
				END=20


				Many thanks=20
				Craig.=20




				Craig Gould
				BT Exact
				__________________________________________
				British Telecommunications plc
				Registered office: 81 Newgate Street London EC1A 7AJ
				Registered in England no. 1800000=20
				This electronic message contains information from British =
Telecommunications plc which may be privileged and confidential. The =
information is intended to be for the use of the individual(s) or entity =
named above. If you are not the intended recipient, be aware that any =
disclosure, copying, distribution or use of the contents of this =
information is prohibited. If you have received this electronic message =
in error, please notify us by telephone or email (to the number or =
address above) immediately.=20

				Activity and use of the British Telecommunications plc email system =
is monitored to secure its effective operation and for other lawful =
business purposes. Communications using this system will also be =
monitored and may be recorded to secure effective operation and for =
other lawful business purposes



------_=_NextPart_001_01C42930.D8A3B617
Content-Type: text/html;
	charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-2">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D156404509-23042004><FONT face=3DArial color=3D#0000ff =
size=3D2>Thanks=20
for the reply. </FONT></SPAN><SPAN class=3D156404509-23042004><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>The text returns when antialias false is turned =

off.</FONT></SPAN></DIV>
<DIV><SPAN class=3D156404509-23042004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D156404509-23042004><FONT face=3DArial color=3D#0000ff =

size=3D2>However, I don't really understand how this would make any=20
difference.</FONT></SPAN></DIV>
<DIV><SPAN class=3D156404509-23042004><FONT face=3DArial color=3D#0000ff =
size=3D2>The=20
png file being created by the server has the text in, it's just when =
it's merged=20
with the client </FONT></SPAN><SPAN class=3D156404509-23042004><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>map that the text dissappears (in the case of =
antialias=20
false) or becomes fuzzy (in the case of antialias =
true).</FONT></SPAN></DIV>
<DIV><SPAN class=3D156404509-23042004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D156404509-23042004><FONT face=3DArial color=3D#0000ff =

size=3D2>Forgive my ignorance but how do the client and server images =
get merged?=20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D156404509-23042004><FONT face=3DArial color=3D#0000ff =
size=3D2>Could=20
the caause be in the merge somewhere?</FONT></SPAN></DIV>
<DIV><SPAN class=3D156404509-23042004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D156404509-23042004><FONT face=3DArial color=3D#0000ff =
size=3D2>Thanks=20
again</FONT></SPAN></DIV>
<DIV><SPAN class=3D156404509-23042004><FONT face=3DArial color=3D#0000ff =

size=3D2>Craig.</FONT></SPAN></DIV>
<DIV><SPAN class=3D156404509-23042004></SPAN><SPAN =
class=3D156404509-23042004><FONT=20
face=3DArial color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
  face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> =
Stepan Kafka=20
  [mailto:stepan.kafka at centrum.cz] <BR><B>Sent:</B> 23 April 2004=20
  10:26<BR><B>To:</B> Gould,CR,Craig,XGH6A C;=20
  mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B> RE: =
[Mapserver-users] WMS=20
  Label Strangenss<BR><BR></FONT></DIV>
  <DIV><SPAN class=3D915442409-23042004><FONT face=3DArial =
color=3D#0000ff size=3D2>hmm,=20
  I should run, I don't know where is the mistake. When remove turn =
antialias=20
  false, everything goes well again?</FONT></SPAN></DIV>
  <DIV><SPAN class=3D915442409-23042004><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D915442409-23042004><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>Stepan</FONT></SPAN></DIV>
  <BLOCKQUOTE dir=3Dltr=20
  style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
    <DIV class=3DOutlookMessageHeader><FONT face=3D"Times New Roman"=20
    size=3D2>-----P=F9vodn=ED zpr=E1va-----<BR><B>Od:</B>=20
    mapserver-users-admin at lists.gis.umn.edu=20
    [mailto:mapserver-users-admin at lists.gis.umn.edu]<B>za =
u=BEivatele</B>=20
    craig.gould at bt.com<BR><B>Odesl=E1no:</B> 22. dubna 2004 =
18:36<BR><B>Komu:</B>=20
    mapserver-users at lists.gis.umn.edu<BR><B>P=F8edm=ECt:</B> RE: =
[Mapserver-users]=20
    WMS Label Strangenss<BR><BR></FONT></DIV>
    <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
    class=3D171163516-22042004>Stepan,</SPAN></FONT></DIV>
    <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
    class=3D171163516-22042004>The labels disappear completely when I =
use the=20
    ANTIALIAS FALSE option</SPAN></FONT></DIV>
    <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
    class=3D171163516-22042004>Craig.</SPAN></FONT></DIV>
    <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
      <DIV></DIV>
      <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
      face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> =
Stepan Kafka=20
      [mailto:stepan.kafka at centrum.cz] <BR><B>Sent:</B> 22 April 2004=20
      15:16<BR><B>To:</B> Gould,CR,Craig,XGH6A C;=20
      mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B> RE: =
[Mapserver-users]=20
      WMS Label Strangenss<BR><BR></FONT></DIV>
      <DIV>
      <DIV><SPAN class=3D492331114-22042004><FONT face=3DArial><FONT=20
      color=3D#0000ff><FONT size=3D2>Your layer&nbsp;<SPAN=20
      class=3D30021314-22042004>uses </SPAN>anti-aliased fonts (to be=20
      smoother)<SPAN class=3D30021314-22042004> as default =
option</SPAN>. Try set=20
      ANTIALIAS FALSE in the LABEL object<SPAN=20
      =
class=3D30021314-22042004>:</SPAN></FONT></FONT></FONT></SPAN></DIV>
      <DIV><SPAN class=3D492331114-22042004><FONT face=3DArial =
color=3D#0000ff=20
      size=3D2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN=20
      =
class=3D492331114-22042004>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
      <FONT face=3D"Courier New" size=3D2>LABEL&nbsp;=20
      </FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face=3D"Courier =
New"=20
      size=3D2>FONT "arial"</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face=3D"Courier =
New"=20
      size=3D2>TYPE TRUETYPE</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face=3D"Courier =
New"=20
      size=3D2>SIZE 10</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face=3D"Courier =
New"=20
      size=3D2>COLOR 0 0 0</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face=3D"Courier =
New"=20
      size=3D2>POSITION cc</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face=3D"Courier =
New"=20
      size=3D2>OFFSET 0 0</FONT></SPAN></DIV>
      <DIV><SPAN class=3D492331114-22042004><SPAN =
class=3D30021314-22042004><FONT=20
      face=3D"Courier New"=20
      =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;<FONT=20
      color=3D#ff0000>ANTIALIAS=20
      =
FALSE</FONT></FONT></SPAN>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
      <FONT face=3D"Courier New" size=3D2>END</FONT> <BR></DIV></SPAN>
      <DIV><SPAN class=3D492331114-22042004><FONT face=3DArial =
color=3D#0000ff size=3D2>
      <P><FONT size=3D2>Stepan Kafka<BR>Help Service Remote =
Sensing<BR>tel:=20
      +420-327514118<BR><A href=3D"mailto:kafka at email.cz"=20
      target=3D_blank>mailto:kafka at email.cz</A><BR>ICQ: 294002967<BR><A=20
      href=3D"http://www.bnhelp.cz/"=20
      =
target=3D_blank>http://www.bnhelp.cz</A><BR></FONT></P></FONT></SPAN></DI=
V></DIV>
      <BLOCKQUOTE=20
      style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff =
2px solid">
        <DIV class=3DOutlookMessageHeader><FONT face=3D"Times New Roman" =

        size=3D2>-----P=F9vodn=ED zpr=E1va-----<BR><B>Od:</B>=20
        mapserver-users-admin at lists.gis.umn.edu=20
        [mailto:mapserver-users-admin at lists.gis.umn.edu]<B>za =
u=BEivatele</B>=20
        craig.gould at bt.com<BR><B>Odesl=E1no:</B> 22. dubna 2004=20
        14:57<BR><B>Komu:</B>=20
        mapserver-users at lists.gis.umn.edu<BR><B>P=F8edm=ECt:</B> =
[Mapserver-users]=20
        WMS Label Strangenss<BR><BR></FONT></DIV><!-- Converted from =
text/rtf format -->
        <P><FONT face=3DArial size=3D2>Folks,</FONT> </P>
        <P><FONT face=3DArial size=3D2>Excuse me if I'm being daft here =
as I'm=20
        pretty new to this WMS stuff.</FONT> </P>
        <P><FONT face=3DArial size=3D2>I have some layer labels coming =
through a WMS=20
        server that when displayed on the client map lose their focus =
and become=20
        off colour and fuzzy. They are supposed to be black, but appear =
in the=20
        final image as a mix of grey/white/black. Hopefully my image =
attachments=20
        will appear on the list. If not then please mail me for them if =
you know=20
        anything about this.</FONT></P>
        <P><FONT face=3DArial size=3D2>The WMS server is passing an =
image that looks=20
        just as it should, e.g.</FONT> <BR><FONT face=3DArial =
color=3D#000000=20
        size=3D2>&lt;&lt;1082638016134960.png&gt;&gt; </FONT></P>
        <P><FONT face=3DArial size=3D2>However, when this is placed on =
the client=20
        map the labels appear like this:</FONT> <BR><FONT face=3DArial=20
        color=3D#000000 size=3D2>&lt;&lt;DEMO108263801613496.gif&gt;&gt; =
</FONT></P>
        <P><FONT face=3DArial size=3D2>Both maps are using the British =
National Grid=20
        projection epsg:27700.</FONT> </P>
        <P><FONT face=3DArial size=3D2>My client map layer looks like =
this:</FONT>=20
        </P>
        <P><FONT face=3D"Courier New" size=3D2>LAYER </FONT><BR><FONT=20
        face=3D"Courier New" size=3D2>&nbsp;&nbsp;&nbsp; NAME OS</FONT> =
<BR><FONT=20
        face=3D"Courier New" size=3D2>&nbsp;&nbsp;&nbsp; TYPE =
RASTER</FONT>=20
        <BR><FONT face=3D"Courier New" size=3D2>&nbsp;&nbsp;&nbsp; =
OFFSITE 0 0=20
        0</FONT> <BR><FONT face=3D"Courier New" =
size=3D2>&nbsp;&nbsp;&nbsp; STATUS=20
        DEFAULT</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
<FONT=20
        face=3D"Courier New" size=3D2>MAXSCALE 50000</FONT>=20
        <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
face=3D"Courier New"=20
        size=3D2>MINSCALE 0&nbsp;&nbsp;&nbsp; </FONT><BR><FONT =
face=3D"Courier New"=20
        size=3D2>&nbsp;&nbsp;&nbsp; CONNECTIONTYPE WMS</FONT> <BR><FONT=20
        face=3D"Courier New" size=3D2>&nbsp;&nbsp;&nbsp; CONNECTION =
"</FONT><A=20
        =
href=3D"http://132.146.248.79/OSMapServer/OSWMSMap.asp?map=3DC:\Inetpub\W=
WWRoot\OSMapServer\OS.map&amp;"><U><FONT=20
        face=3D"Courier New" color=3D#0000ff=20
        =
size=3D2>http://132.146.248.79/OSMapServer/OSWMSMap.asp?map=3DC:\Inetpub\=
WWWRoot\OSMapServer\OS.map&amp;</FONT></U></A><FONT=20
        face=3D"Courier New" size=3D2>"</FONT> <BR><FONT face=3D"Courier =
New"=20
        size=3D2>&nbsp;&nbsp;&nbsp; METADATA</FONT> <BR><FONT =
face=3D"Courier New"=20
        size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_title" "OS"</FONT> =
<BR><FONT=20
        face=3D"Courier New" size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
"wms_name"=20
        "OS_Road"</FONT> <BR><FONT face=3D"Courier New"=20
        size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_server_version"=20
        "1.1.0"</FONT> <BR><FONT face=3D"Courier New"=20
        size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_srs" =
"epsg:27700"</FONT>=20
        <BR><FONT face=3D"Courier New" =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        "wms_format" "image/png"</FONT> <BR><FONT face=3D"Courier New"=20
        size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_map"=20
        "C:\Inetpub\WWWRoot\OSMapServer\OS.map"</FONT> <BR><FONT=20
        face=3D"Courier New" size=3D2>&nbsp;&nbsp;&nbsp; END</FONT> =
<BR><FONT=20
        face=3D"Courier New" size=3D2>END</FONT> </P>
        <P><FONT face=3DArial size=3D2>[ For the sharp eyed among you, =
you may=20
        notice this is directed to an asp page. This redirects the =
request to=20
        the mapserv cgi-bin script with all the same parameters but =
without the=20
        epsg parameter as this is the only way I can get a client using=20
        projection 27700 and a server using the same projection to =
respond with=20
        a map. Mapserver crashes with a page fault otherwise! This is =
not=20
        restricted to just epsg 27700 - if the server/client has the =
same family=20
        of projection as 27700 this page fault will occurr. Not knowing =
enough=20
        about the projection code and being too dum to get it to compile =
on my=20
        own windoze machine I've failed to trace what's causing this =
problem=20
        ]</FONT></P><BR>
        <P><FONT face=3DArial size=3D2>My server map layer looks like =
this:</FONT>=20
        </P>
        <P><FONT face=3D"Courier New" size=3D2>LAYER</FONT>=20
        <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
face=3D"Courier New"=20
        size=3D2>NAME&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "OS_Text"</FONT>=20
        <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
face=3D"Courier New"=20
        size=3D2>TYPE&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POINT</FONT>=20
        <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
face=3D"Courier New"=20
        size=3D2>CONNECTIONTYPE&nbsp; OGR</FONT>=20
        <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
face=3D"Courier New"=20
        size=3D2>CONNECTION&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        "C:\OS_Maps\SO\SOText.Tab"</FONT>=20
        <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
face=3D"Courier New"=20
        size=3D2>STATUS&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =

        DEFAULT</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
<FONT=20
        face=3D"Courier New"=20
        size=3D2>MAXSCALE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4000</FONT>=20
        <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
face=3D"Courier New"=20
        size=3D2>LABELITEM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Name'</FONT>=20
        <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
face=3D"Courier New"=20
        size=3D2>METADATA</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face=3D"Courier =
New"=20
        size=3D2>WMS_TITLE "OS_Text"</FONT>=20
        <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face=3D"Courier =
New"=20
        size=3D2>WMS_SRS "EPSG:27700"</FONT>=20
        <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
face=3D"Courier New"=20
        size=3D2>END&nbsp;&nbsp;&nbsp;&nbsp;=20
        </FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT=20
        face=3D"Courier New" size=3D2>CLASS</FONT>=20
        <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face=3D"Courier =
New"=20
        size=3D2>NAME "OS_Text"</FONT>=20
        <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face=3D"Courier =
New"=20
        size=3D2>COLOR 0 0 0</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face=3D"Courier =
New"=20
        size=3D2>LABEL&nbsp; =
</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face=3D"Courier =
New"=20
        size=3D2>FONT "arial"</FONT>=20
        <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face=3D"Courier =
New"=20
        size=3D2>TYPE TRUETYPE</FONT>=20
        <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face=3D"Courier =
New"=20
        size=3D2>SIZE 10</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face=3D"Courier =
New"=20
        size=3D2>COLOR 0 0 0</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face=3D"Courier =
New"=20
        size=3D2>POSITION cc</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face=3D"Courier =
New"=20
        size=3D2>OFFSET 0 0</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face=3D"Courier =
New"=20
        size=3D2>END</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT=20
        face=3D"Courier New" size=3D2>END</FONT>=20
        <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
face=3D"Courier New"=20
        size=3D2>PROJECTION</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face=3D"Courier =
New"=20
        size=3D2>"init=3Depsg:27700"</FONT>=20
        <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
face=3D"Courier New"=20
        size=3D2>END </FONT><BR><FONT face=3D"Courier New" =
size=3D2>END</FONT>=20
</P><BR>
        <P><FONT face=3DArial size=3D2>Many thanks</FONT> <BR><FONT =
face=3DArial=20
        size=3D2>Craig.</FONT> </P><BR><BR><BR>
        <P><SPAN lang=3Den-gb><B><FONT face=3D"Times New Roman" =
size=3D2>Craig=20
        Gould<BR>BT Exact<BR></FONT></B><FONT face=3D"Times New Roman"=20
        =
size=3D2>__________________________________________<BR></FONT><B><FONT=20
        face=3D"Times New Roman" size=3D2>British Telecommunications=20
        plc<BR>Registered office: 81 Newgate Street London EC1A=20
        7AJ<BR>Registered in England no. 1800000</FONT></B> =
</SPAN><BR><SPAN=20
        lang=3Den-gb><B><FONT face=3D"Times New Roman" size=3D2>This =
electronic=20
        message contains information from British Telecommunications plc =
which=20
        may be privileged and confidential. The information is intended =
to be=20
        for the use of the individual(s) or entity named above. If you =
are not=20
        the intended recipient, be aware that any disclosure, copying,=20
        distribution or use of the contents of this information is =
prohibited.=20
        If you have received this electronic message in error, please =
notify us=20
        by telephone or email (to the number or address above)=20
        immediately.</FONT><FONT face=3D"Times New Roman"></FONT></B> =
</SPAN></P>
        <P><SPAN lang=3Den-gb><B><FONT face=3D"Times New Roman" =
size=3D2>Activity and=20
        use of the British Telecommunications plc email system is =
monitored to=20
        secure its effective operation and for other lawful business =
purposes.=20
        Communications using this system will also be monitored and may =
be=20
        recorded to secure effective operation and for other lawful =
business=20
        =
purposes</FONT></B></SPAN></P><BR></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE>=
</BLOCKQUOTE></BODY></HTML>
=00
------_=_NextPart_001_01C42930.D8A3B617--



More information about the mapserver-users mailing list