We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 833988f commit 7878b3fCopy full SHA for 7878b3f
src/providers/mssql/qgsmssqlgeometryparser.cpp
@@ -493,9 +493,9 @@ unsigned char* QgsMssqlGeometryParser::ParseSqlGeometry( unsigned char* pszInput
493
494
chProps = ReadByte( 5 );
495
496
- if ( chProps & SP_HASMVALUES )
+ if ( chProps & SP_HASZVALUES && chProps & SP_HASMVALUES )
497
nPointSize = 32;
498
- else if ( chProps & SP_HASZVALUES )
+ else if ( chProps & SP_HASZVALUES || chProps & SP_HASMVALUES)
499
nPointSize = 24;
500
else
501
nPointSize = 16;
0 commit comments