This is my first time trying to convert a VMAP to a shapefile and the examples online aren't as straightforward to me.
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
Try to use ogr with python.
Step 1: Open you VMAP file using QgsVectorLayer
vlayer = QgsVectorLayer(<VMAP location>+"|layername=<VMAP filename>", <newLayeName>, "ogr")
if you get True after you run this line it means the VMAP was properly loaded.
Step 2: convert the vlayer to Shapefile
vlayerToShape = QgsVectorFilleWriter.writeasVectorFormat(vlayer, "myShapeFile.shp", "CP1250", QGSCoordinateReferenceSystem(), "ESRI Shapefile") if vlayerToShape == QgsVectorFilleWriter.NoError: print "The conversion was successful!"