[mapguide-trac] #316: Exposing Filter property of MgLayer object in .NET API

MapGuide Open Source trac_mapguide at osgeo.org
Tue Nov 20 04:33:07 EST 2007


#316: Exposing Filter property of MgLayer object in .NET API
-----------------------+----------------------------------------------------
   Reporter:  MaksimS  |       Owner:       
       Type:  defect   |      Status:  new  
   Priority:  medium   |   Milestone:       
  Component:  Web API  |     Version:  2.0.0
   Severity:  major    |    Keywords:       
External_id:           |  
-----------------------+----------------------------------------------------
 Managed MgLayer object currently has FeatureSourceId and FeatureClassName
 properties exposed. MgLayer properties should also include Filter property
 for filtering data based on layer's feature source class properties.

 It's somehow logical since MgLayer has all VectorLayerDefinition top-level
 elements values exposed, except for the Filter one:

 {{{
 <LayerDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:noNamespaceSchemaLocation="LayerDefinition-1.1.0.xsd" version="1.1.0">
  <VectorLayerDefinition>
 <ResourceId>Library://MyLibrary/MyData/MsSqlServer.FeatureSource</ResourceId>
   <FeatureName>MySchema:MyClass</FeatureName>
   <FeatureNameType>FeatureClass</FeatureNameType>
   <Filter>MyValue=1</Filter>
   ...
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/316>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list