Skip to content
Permalink
Browse files

fix for wkb export with multipoints from Vita Cizek. Thanks!

git-svn-id: http://svn.osgeo.org/qgis/trunk@10416 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Mar 25, 2009
1 parent 38f8122 commit 7556407b04b9e5ff688ca49fd8fa6f3d51b21df6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsgeometry.cpp
@@ -4334,7 +4334,7 @@ bool QgsGeometry::exportGeosToWkb()
int geometrySize = 1 + 2 * sizeof( int );
for ( int i = 0; i < GEOSGetNumGeometries( mGeos ); i++ )
{
geometrySize += 1 + 2 * sizeof( int ) + 2 * sizeof( double );
geometrySize += 1 + sizeof( int ) + 2 * sizeof( double );
}

mGeometry = new unsigned char[geometrySize];

0 comments on commit 7556407

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