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/qgis@8627 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Jun 8, 2008
1 parent c2158a6 commit f553a68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/providers/memory/memoryprovider.cpp
Original file line number Diff line number Diff line change
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 f553a68

Please sign in to comment.