[fusion-trac] #626: KML/KMZ download from redline is useless when map CS is WGS84.PseudoMercator

Fusion trac_fusion at osgeo.org
Tue Sep 23 02:13:16 PDT 2014


#626: KML/KMZ download from redline is useless when map CS is
WGS84.PseudoMercator
-----------------------+----------------------------------------------------
   Reporter:  zhanga   |       Owner:  madair   
       Type:  defect   |      Status:  new      
   Priority:  P3       |   Milestone:  2.3      
  Component:  Widgets  |     Version:  2.2 - RC1
   Severity:  Minor    |    Keywords:           
External_id:           |       State:  New      
    Browser:  All      |          Os:  All      
-----------------------+----------------------------------------------------

Comment(by jng):

 I think this is a bug in 2 areas:

  1. MapGuide's KML renderer.
  2. The default redline style settings for lines.

 The line string geometry is there, but the style generated for it uses
 line width of 0 (assuming no changes from the default redline style),
 causing nothing to be drawn.

 The default style uses a 0 line thickness. The default image-based
 renderers in MapGuide seem to clamp 0 line thickness to some very small
 value > 0 (which is why we still see such lines being rendered), but the
 KML renderer does not and writes the thickness value as-is.

 Workaround is to specify a non-zero line thickness as a default, proper
 fix is to make the KML renderer follow the same behaviour as the image-
 based renderers for dealing with 0 line thickness.

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/626#comment:1>
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