[Mapguide-trac] [mapguide-trac] #2485: KML line thickness should be clamped to [some very small value > 0] if 0 line thickness defined

MapGuide Open Source trac_mapguide at osgeo.org
Tue Sep 23 03:12:21 PDT 2014


#2485: KML line thickness should be clamped to [some very small value > 0] if 0
line thickness defined
---------------------------+------------------------------------------------
   Reporter:  jng          |       Owner:  jng
       Type:  defect       |      Status:  new
   Priority:  low          |   Milestone:  3.0
  Component:  KML Service  |     Version:     
   Severity:  trivial      |    Keywords:     
External_id:               |  
---------------------------+------------------------------------------------
Description changed by jng:

Old description:

> When a layer is exported to KML and the line/border thickness specified
> is 0, such lines will not be shown on Google Earth as the actual
> thickness value is transferred as-is.
>
> This is not how MapGuide's image-based renderers deal with such a
> setting. These renderers will still draw said lines presumably with a
> [very small value > 0] for the line/border thickness.
>
> The KML renderer should follow the same behaviour as the image-based
> renderers, namely a 0 line thickness is specified in the Layer
> Definition, it should be replaced with a [very small value > 0] when the
> KML is written.

New description:

 When a layer is exported to KML and the line/border thickness specified is
 0, such lines will not be shown on Google Earth as the actual thickness
 value is transferred as-is.

 This is not how MapGuide's image-based renderers deal with such a setting.
 These renderers will still draw said lines presumably with a [very small
 value > 0] for the line/border thickness.

 The KML renderer should follow the same behaviour as the image-based
 renderers, namely a 0 line thickness is specified in the Layer Definition,
 it should be replaced with a [very small value > 0] when the KML is
 written.

 This issue is most observable when viewing KML exported from the Fusion
 redline widget using default style settings. Any lines drawn won't shown
 because Google Earth won't draw lines/borders with 0 thickness.

--

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2485#comment:1>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list