[Mapserver-users] apostrophe problem

Vincent Schut schut at sarvision.com
Fri Jul 18 11:09:45 EDT 2003


Hmm. Tried escaping?
EXPRESSION ('[NAME]' = "O\'NEILL" and '[ST]' = "NE")

Just a guess.

Cheers,
Vincent.

On Friday 18 July 2003 16:40, Dan Arnold wrote:
> 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

-- 
______________________________________
Vincent Schut
Sarvision B.V.
Wageningen, The Netherlands
www.sarvision.com



More information about the mapserver-users mailing list