[mapguide-trac] #789: Composite Lines from MySQL Not Wrapping

MapGuide Open Source trac_mapguide at osgeo.org
Thu Dec 11 12:37:27 EST 2008


#789: Composite Lines from MySQL Not Wrapping
------------------------+---------------------------------------------------
   Reporter:  rbranson  |       Owner:       
       Type:  defect    |      Status:  new  
   Priority:  medium    |   Milestone:       
  Component:  General   |     Version:  2.0.2
   Severity:  minor     |    Keywords:       
External_id:            |  
------------------------+---------------------------------------------------
 I'm using MapGuide 2.0.2. MySQL's FDO provider reports my 'LINESTRING'
 drawing (city streets) as being a generic geometry type, so MapGuide
 Studio shows style options for line, area, and points. It serializes this
 to XML with functionally "empty" AreaTypeStyle and PointTypeStyle XML:

 {{{
 <PointTypeStyle>
  <DisplayAsText>false</DisplayAsText>
  <AllowOverpost>false</AllowOverPost>
  <PointRule>
   <LegendLabel />
  </PointRule>
 </PointTypeStyle>
 }}}

 .. etc. The correct line styles are in the XML. Upon rendering,
 overlapping road segments are not visually "merged" or "wrapped." See the
 attached "epicfail.png." If I remove the PointTypeStyle and AreaTypeStyle
 XML elements and their child tags, this problem goes away. See the
 attached "tehwin.png" This means I have to go clean up all the XML created
 by Studio users. While I'm glad I found a workaround, it's somewhat of an
 annoying problem.

 NOTE: In attached image, the white lines w/black outline are the layer I'm
 talking about.

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


More information about the mapguide-trac mailing list