Skip to content
Permalink
Browse files

Fix #11971 - Fix display of MS SQL layers with z and m values

Funded by TechnoglogyOne, Australia

- Backported to 2.8.3
- Cherry-picked from 012f322
  • Loading branch information
NathanW2 committed Jun 18, 2015
1 parent 833988f commit 7878b3f74dcd2debb2629a9f3edd24e243c8e9fb
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/mssql/qgsmssqlgeometryparser.cpp
@@ -493,9 +493,9 @@ unsigned char* QgsMssqlGeometryParser::ParseSqlGeometry( unsigned char* pszInput

chProps = ReadByte( 5 );

if ( chProps & SP_HASMVALUES )
if ( chProps & SP_HASZVALUES && chProps & SP_HASMVALUES )
nPointSize = 32;
else if ( chProps & SP_HASZVALUES )
else if ( chProps & SP_HASZVALUES || chProps & SP_HASMVALUES)
nPointSize = 24;
else
nPointSize = 16;

0 comments on commit 7878b3f

Please sign in to comment.
You can’t perform that action at this time.