[mapserver-users] querying a WFS on property alias
Yewondwossen Assefa
yassefa at dmsolutions.ca
Tue Apr 15 08:42:29 PDT 2008
Bart,
Just to follow up on this: there is a bug at
http://trac.osgeo.org/mapserver/ticket/2580 and fix is committed in the
trunk. Please update the bug if there are issues.
Best Regards
Yewondwossen Assefa wrote:
> Bart,
>
> We have gone through the same issue when implementing the SOS and the
> solution was to pre-parse the filter and replace the occurrences of the
> aliased by the real attribute name.
>
> I will move the function so that it does the same for the wfs filter
> encoding. Will let you know after I do few tests.
>
> Best Regards,
>
> bartvde at osgis.nl wrote:
>> Hi list,
>>
>> it seems that querying a WFS on a property alias does not work in MS
>> 5.0.2.
>> Is this a known issue?
>>
>> Using something like:
>>
>> "gml_OBJ_IDENT_alias" "Identifier"
>>
>> I can't query on Identifier in the PropertyName, but it works if I use
>> the
>> attribute name OBJ_IDENT as PropertyName.
>>
>> This is kind of strange, since a WFS client can't even know this property
>> is actually called OBJ_IDENT in the datamodel behind the WFS.
>>
>> Best regards,
>> Bart
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>>
>
>
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
More information about the MapServer-users
mailing list