[mapguide-commits] r4522 - trunk/MgDev/Common/Stylization

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Jan 12 12:35:09 EST 2010


Author: traianstanev
Date: 2010-01-12 12:35:08 -0500 (Tue, 12 Jan 2010)
New Revision: 4522

Modified:
   trunk/MgDev/Common/Stylization/LineBuffer.cpp
Log:
Ticket 1240: While cleaning up LineBuffer, found a bug with serialization of MultiPoint geometries.

Modified: trunk/MgDev/Common/Stylization/LineBuffer.cpp
===================================================================
--- trunk/MgDev/Common/Stylization/LineBuffer.cpp	2010-01-12 16:43:47 UTC (rev 4521)
+++ trunk/MgDev/Common/Stylization/LineBuffer.cpp	2010-01-12 17:35:08 UTC (rev 4522)
@@ -1244,7 +1244,8 @@
                 int contour_count = 1; //for linestrings
 
                 if (m_geom_type == FdoGeometryType_MultiPolygon ||
-                    m_geom_type == FdoGeometryType_Polygon)
+                    m_geom_type == FdoGeometryType_Polygon ||
+                    m_geom_type == FdoGeometryType_MultiPoint)
                 {
                     contour_count = m_num_geomcntrs[q];
                     WRITE_INT(os, contour_count);



More information about the mapguide-commits mailing list