Skip to content

Commit

Permalink
Fix #11971 - Fix display of MS SQL layers with z and m values
Browse files Browse the repository at this point in the history
Funded by TechnoglogyOne, Australia
  • Loading branch information
NathanW2 committed Jun 18, 2015
1 parent f7e312b commit 012f322
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/mssql/qgsmssqlgeometryparser.cpp
Expand Up @@ -493,9 +493,9 @@ unsigned char* QgsMssqlGeometryParser::ParseSqlGeometry( unsigned char* pszInput


chProps = ReadByte( 5 ); chProps = ReadByte( 5 );


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

0 comments on commit 012f322

Please sign in to comment.