[Mapserver-users] apostrophe problem

Dan Arnold dan.arnold at noaa.gov
Fri Jul 18 07:40:57 PDT 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0103_01C34D10.B0ED8F00
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hello all,
 
I'm having a problem with an apostrophe being in a city name that I'm
trying add to one of my maps.
 
This is what the .map file looks like where it calls the city name:
 
EXPRESSION ('[NAME]' = "O'NEILL" and '[ST]' = "NE")
 
I've checked the shape file and it is in there exactly like it is shown
above: O'NEILL
 
All the other cities for this map show up just fine, but that one does
not.
 
Any ideas on how I can get around the " ' " in the city name? Or is this
just not possible?
 
Thanks for any help!

--
Dan Arnold
Webmaster
National Weather Service
Central Region Headquarters
dan.arnold at noaa.gov
816.891.7734 x486

 

------=_NextPart_000_0103_01C34D10.B0ED8F00
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D328533214-18072003><FONT size=3D2>Hello =
all,</FONT></SPAN></DIV>
<DIV><SPAN class=3D328533214-18072003><FONT =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D328533214-18072003><FONT size=3D2>I'm having a =
problem with an=20
apostrophe being in a city name that I'm trying add to one of my=20
maps.</FONT></SPAN></DIV>
<DIV><SPAN class=3D328533214-18072003><FONT =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D328533214-18072003><FONT size=3D2>This is what the =
.map file=20
looks like where it calls the city name:</FONT></SPAN></DIV>
<DIV><SPAN class=3D328533214-18072003><FONT size=3D2></FONT></SPAN><FONT =

size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>EXPRESSION ('[NAME]' =3D "<SPAN=20
class=3D328533214-18072003>O'NEILL</SPAN>" and '[ST]' =3D "<SPAN=20
class=3D328533214-18072003>NE</SPAN>")</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><SPAN class=3D328533214-18072003><FONT size=3D2>I've checked the =
shape file and=20
it is in there exactly like it is shown above: =
O'NEILL</FONT></SPAN></DIV>
<DIV><SPAN class=3D328533214-18072003><FONT =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D328533214-18072003><FONT size=3D2>All the other =
cities for this=20
map show up just fine, but that one does not.</FONT></SPAN></DIV>
<DIV><SPAN class=3D328533214-18072003><FONT =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D328533214-18072003><FONT size=3D2>Any ideas on how I =
can get=20
around the " ' " in the city name? Or is this just not=20
possible?</FONT></SPAN></DIV>
<DIV><SPAN class=3D328533214-18072003><FONT =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D328533214-18072003><FONT size=3D2>Thanks for any=20
help!</FONT></SPAN></DIV>
<P align=3Dleft><FONT size=3D2>--<BR>Dan Arnold<BR>Webmaster<BR>National =
Weather=20
Service<BR>Central Region Headquarters<BR><A=20
href=3D"mailto:dan.arnold at noaa.gov">dan.arnold at noaa.gov</A><BR>816.891.77=
34=20
x486</FONT></P>
<DIV> </DIV></BODY></HTML>

------=_NextPart_000_0103_01C34D10.B0ED8F00--




More information about the MapServer-users mailing list