@@ -1070,6 +1070,7 @@ QStringList GRASS_LIB_EXPORT QgsGrass::vectorLayers( const QString& gisdbase, co
1070
1070
QString l = fs + " _point" ;
1071
1071
list.append ( l );
1072
1072
}
1073
+ QgsDebugMsg ( QString ( " npoints = %1" ).arg ( npoints ) );
1073
1074
1074
1075
/* Lines */
1075
1076
/* Lines without category appears in layer 0, but not boundaries */
@@ -1085,6 +1086,7 @@ QStringList GRASS_LIB_EXPORT QgsGrass::vectorLayers( const QString& gisdbase, co
1085
1086
QString l = fs + " _line" ;
1086
1087
list.append ( l );
1087
1088
}
1089
+ QgsDebugMsg ( QString ( " nlines = %1" ).arg ( nlines ) );
1088
1090
1089
1091
/* Faces */
1090
1092
int nfaces = Vect_cidx_get_type_count ( &map, field, GV_FACE );
@@ -1093,6 +1095,7 @@ QStringList GRASS_LIB_EXPORT QgsGrass::vectorLayers( const QString& gisdbase, co
1093
1095
QString l = fs + " _face" ;
1094
1096
list.append ( l );
1095
1097
}
1098
+ QgsDebugMsg ( QString ( " nfaces = %1" ).arg ( nfaces ) );
1096
1099
1097
1100
/* Polygons */
1098
1101
int nareas = Vect_cidx_get_type_count ( &map, field, GV_AREA );
@@ -1101,7 +1104,9 @@ QStringList GRASS_LIB_EXPORT QgsGrass::vectorLayers( const QString& gisdbase, co
1101
1104
QString l = fs + " _polygon" ;
1102
1105
list.append ( l );
1103
1106
}
1107
+ QgsDebugMsg ( QString ( " nareas = %1" ).arg ( nareas ) );
1104
1108
}
1109
+ QgsDebugMsg ( " standard layers listed: " + list.join ( " ," ) );
1105
1110
1106
1111
// TODO: add option in GUI to set listTopoLayers
1107
1112
QSettings settings;
@@ -1125,7 +1130,9 @@ QStringList GRASS_LIB_EXPORT QgsGrass::vectorLayers( const QString& gisdbase, co
1125
1130
}
1126
1131
}
1127
1132
1133
+ QgsDebugMsg ( " close map" );
1128
1134
Vect_close ( &map );
1135
+ QgsDebugMsg ( " map closed" );
1129
1136
}
1130
1137
G_CATCH ( QgsGrass::Exception &e )
1131
1138
{
0 commit comments