Opened 13 years ago
Last modified 13 years ago
#3670 new defect
OGC Filter FeatueId request and quotes
Reported by: | assefa | Owned by: | assefa |
---|---|---|---|
Priority: | normal | Milestone: | 6.0 release |
Component: | WFS Server | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
When building the mapserver expressions based on OGC filters, we put usually quotes around values that seems to be of character types and do not put quote on number type values. The use can also specify the gml_myattributename_type 'Character'
This last specification is not currently used for FeatureId type OGC Filter quesries
Attachments (1)
Change History (4)
by , 13 years ago
Attachment: | bug_3670_5.6.x.patch added |
---|
comment:1 by , 13 years ago
Let me know if the patch works for you. Basically you should be able to define gml_attributeusedforfeatureid_type 'Character' and hav your quote generated.
If did not test the patch since I do not have a handy example.
comment:2 by , 13 years ago
Trying to find where our problems were, we saw the issue with the feature id, even if this is not impacted by this query, which is handled in FLTGetBinaryComparisonSQLExpresssion. To make a long story short: How should I modify the above query in order to force the value to be evaluaded as a "Character"? Where should my "edifc_id_type" go?
comment:3 by , 13 years ago
It is a layer level metadata. It should read "gml_edific_id_type" "Character"
patch fr the 5.6.x branch