[ZS2] Re: [mapguide-users] filter for features
Kenneth Skovhede, GEOGRAF A/S
ks at geograf.dk
Fri Oct 3 03:54:03 EDT 2008
You problem sounds very strange.
The FDO SQL variant is picky about string/number conversion, so you must
quote numbers if they are strings, and unquote if not.
Your written example does this correctly.
It may be a problem with the SHP provider (although I have seen no other
reports on this matter).
One thing you can try is to go here:
The click "Feature" (top left), then "SelectFeatures" (botton left).
In the view to the right, you can enter the values as they would be in
This should enable you to experiment more quickly with variants of your
If this still holds the same issues, you can try to use Jackie's FDO
Toolbox to convert the data to SDF:
After you have converted the data to SDF, try to run the same query on
the SDF data.
If the query goes through, you have found a bug in the SHP provider.
If so, please provide the SHP file as well as the SDF files in a bug report:
(If the data is confidential, submit the ticket without data, or try to
make a confidential version)
If it still works, can you produce a non-confidential copy of the data
and email it to me directly?
I can try it out on MapGuide 2.0.2 and see if there are any problems.
Regards, Kenneth Skovhede, GEOGRAF A/S
> I am currently using MapGuide OS 2.0 with .Net with C#. The source file is
> SHP type, and I need to make selection programmatically in response to user
> click event on the control. There is only one parameter that is unique
> identifier for the parcels, and this is "FeatId". If I try to filter by
> "PROPADR" I am getting wrong parcels selected because there is more than one
> parcel with the same address.
> Jackie C. Ng wrote:
>> What version of MapGuide?
>> - Jackie
>> Eva wrote:
>>> It is SHP type.
>>> View this message in context:
>>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>>> mapguide-users mailing list
>>> mapguide-users at lists.osgeo.org
>> View this message in context:
>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mapguide-users