[pmapper-users] FILTER on a SHAPEFILE
Brought to you by:
arminburger
From: John B. <be...@kn...> - 2012-02-09 03:56:12
|
Dear List, I am trying to use FILTER in my mapfile. I am using this expression FILTER ([PolyType] = 'SQUARE’ and [PolyID] = 9) I have two fields in my shapfile (PolyType and PolyID) and I have a record with PolyType = SQUARE and PolyID = 9 The PolyType field is a string and the PolyID field is an integer. When I use this expression FILTER ([PolyID] = 9) It works fine, but if I try and filter on the PolyType field (a string) it bombs. I have tried every combination for the String ‘SQUARE’ with and without quotes but I cannot get it to work. Any ideas? JB |