Skip to content

Commit

Permalink
small fix for multipart geometry types
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@8627 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Jun 8, 2008
1 parent 4886170 commit da6d132
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/providers/memory/memoryprovider.cpp
Expand Up @@ -34,11 +34,11 @@ QgsMemoryProvider::QgsMemoryProvider(QString uri)
mWkbType = QGis::WKBLineString;
else if (uri == "Polygon")
mWkbType = QGis::WKBPolygon;
else if (uri == "WKBMultiPoint")
else if (uri == "MultiPoint")
mWkbType = QGis::WKBMultiPoint;
else if (uri == "WKBMultiLineString")
else if (uri == "MultiLineString")
mWkbType = QGis::WKBMultiLineString;
else if (uri == "WKBMultiPolygon")
else if (uri == "MultiPolygon")
mWkbType = QGis::WKBMultiPolygon;
else
mWkbType = QGis::WKBUnknown;
Expand Down

0 comments on commit da6d132

Please sign in to comment.