Skip to content

Commit cbef62f

Browse files
author
wonder
committedDec 8, 2009
Symbology-NG: support for 2.5D geometries - fix for #2200
git-svn-id: http://svn.osgeo.org/qgis/trunk@12367 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent de56d0c commit cbef62f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎src/core/symbology-ng/qgsrendererv2.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ void QgsFeatureRendererV2::renderFeature( QgsFeature& feature, QgsRenderContext&
160160
switch ( geom->wkbType() )
161161
{
162162
case QGis::WKBPoint:
163+
case QGis::WKBPoint25D:
163164
{
164165
if ( symbolType != QgsSymbolV2::Marker )
165166
{
@@ -173,6 +174,7 @@ void QgsFeatureRendererV2::renderFeature( QgsFeature& feature, QgsRenderContext&
173174
break;
174175

175176
case QGis::WKBLineString:
177+
case QGis::WKBLineString25D:
176178
{
177179
if ( symbolType != QgsSymbolV2::Line )
178180
{
@@ -186,6 +188,7 @@ void QgsFeatureRendererV2::renderFeature( QgsFeature& feature, QgsRenderContext&
186188
break;
187189

188190
case QGis::WKBPolygon:
191+
case QGis::WKBPolygon25D:
189192
{
190193
if ( symbolType != QgsSymbolV2::Fill )
191194
{
@@ -200,6 +203,7 @@ void QgsFeatureRendererV2::renderFeature( QgsFeature& feature, QgsRenderContext&
200203
break;
201204

202205
case QGis::WKBMultiPoint:
206+
case QGis::WKBMultiPoint25D:
203207
{
204208
if ( symbolType != QgsSymbolV2::Marker )
205209
{
@@ -221,6 +225,7 @@ void QgsFeatureRendererV2::renderFeature( QgsFeature& feature, QgsRenderContext&
221225
break;
222226

223227
case QGis::WKBMultiLineString:
228+
case QGis::WKBMultiLineString25D:
224229
{
225230
if ( symbolType != QgsSymbolV2::Line )
226231
{
@@ -242,6 +247,7 @@ void QgsFeatureRendererV2::renderFeature( QgsFeature& feature, QgsRenderContext&
242247
break;
243248

244249
case QGis::WKBMultiPolygon:
250+
case QGis::WKBMultiPolygon25D:
245251
{
246252
if ( symbolType != QgsSymbolV2::Fill )
247253
{

0 commit comments

Comments
 (0)
Please sign in to comment.