[fusion-trac] #627: KML downloaded from Redline contains empty Placemark element

Fusion trac_fusion at osgeo.org
Wed Sep 24 01:58:20 PDT 2014


#627: KML downloaded from Redline contains empty Placemark element
-----------------------+----------------------------------------------------
   Reporter:  zhanga   |       Owner:  madair
       Type:  defect   |      Status:  new   
   Priority:  P3       |   Milestone:  Future
  Component:  Widgets  |     Version:  2.0   
   Severity:  Minor    |    Keywords:        
External_id:           |       State:  New   
    Browser:  All      |          Os:  All   
-----------------------+----------------------------------------------------

Comment(by zhanga):

 MgKmlService::GetFeaturesKml() uses
 StylizationEngine::StylizeVectorLayer() which calls method Stylize() for
 each style. In KmlRenderer::StartFeature, it will add "<Placemark>".
 [[BR]]
 I think we can utilize the parameter initialPass, which is not used in
 KmlRenderer now. If initialPass is true, we add "<Placemark>", otherwise
 not.

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/627#comment:2>
Fusion <http://trac.osgeo.org/fusion>
Fusion is a web-mapping application development framework for MapServer and MapGuide OS.


More information about the fusion-trac mailing list