[GRASS-SVN] r51081 - grass/trunk/display/d.vect
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Mar 16 11:54:14 EDT 2012
Author: martinl
Date: 2012-03-16 08:54:14 -0700 (Fri, 16 Mar 2012)
New Revision: 51081
Modified:
grass/trunk/display/d.vect/label.c
Log:
d.vect: don't show categories of boundaries for PostGIS link
Modified: grass/trunk/display/d.vect/label.c
===================================================================
--- grass/trunk/display/d.vect/label.c 2012-03-16 15:53:53 UTC (rev 51080)
+++ grass/trunk/display/d.vect/label.c 2012-03-16 15:54:14 UTC (rev 51081)
@@ -23,7 +23,8 @@
Vect_rewind(Map);
ogr_centroids = FALSE;
- if (Vect_maptype(Map) == GV_FORMAT_OGR) {
+ if (Vect_maptype(Map) == GV_FORMAT_OGR ||
+ Vect_maptype(Map) == GV_FORMAT_POSTGIS) {
if (Vect_level(Map) < 2)
G_warning(_("Topology level required for drawing centroids "
"for OGR layers"));
More information about the grass-commit
mailing list