[mapguide-users] Evaluating Filter expression on Feature

Jackie C. Ng jumpinjackie at gmail.com
Sun Sep 21 20:41:14 EDT 2008


The MG feature service is just a layer on top of the FDO API. You can test
for valid filters in FDO, I don't know if this testing capability is exposed
in MapGuide.

- Jackie


adraw wrote:
> 
> Hello. I have only recently started to develop on Mapguide opensource
> platform and now I am working on print task. 
> 
> Part of the task is to render print legend, which displays only ellements
> which are visible on print page. What will be actually displayed depends
> on layer style and properties of displayed feature. Now i am able to get
> features from all visible layers and also style rules for each visible
> layer. The last thing remaining is to somehow test the filter expression
> contained within rule against feature from feature reader, so I can use
> MappingService.GenerateLegendImage(...);
> 
> Is there any way to test if feature passes the expression, or do I have to
> write my own Filter expression parser and expression evaluation engine?
> 
> Please help me if you can. 
> 
> Thanx
> 
> 
> 


-----
http://themapguyde.blogspot.com

http://www.linkedin.com/in/jackieng
-- 
View this message in context: http://www.nabble.com/Evaluating-Filter-expression-on-Feature-tp19599808p19600152.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list