Skip to content

Commit

Permalink
fix for wkb export with multipoints from Vita Cizek. Thanks!
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10416 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Mar 25, 2009
1 parent 75811a3 commit 8e567d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsgeometry.cpp
Expand Up @@ -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];
Expand Down

0 comments on commit 8e567d8

Please sign in to comment.