Hi to all of you.

I'm building a WebService based on MapServer using MapScript for C#.
While implementing a search function I ran into problems using the
queryByAttributes-function on the layerObj. The problem might be the
wrong syntax for the regular expressions. But it might be something
else.

I assume that both calls should return the same set of
features/shapes/object from the layer:

layer.queryByAttributes(Map, null, "('[StrName]' = 'Kropsburgweg'),
MS_QUERY_MULTIPLE);

and

layer.queryByAttributes(Map, null, "('[StrName]' =~ /Kropsburgweg/),
MS_QUERY_MULTIPLE);

But while the first call returns about 37 features the second call
doesn't return any features. Any idea what I#m doing wrong?!


Thanks in advance,

Daniel

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to