Explorar el Código

v.info: report topo-geo-only for PG links

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@56450 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa hace 12 años
padre
commit
6fbc8e240b
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      vector/v.info/print.c

+ 3 - 2
vector/v.info/print.c

@@ -386,8 +386,9 @@ void print_info(const struct Map_info *Map)
                 Vect_get_finfo_geometry_type(Map));
         printline(line);
         if (finfo->pg.toposchema_name) {
-            sprintf(line, "%-17s%s (%s %s)", _("Topology:"), "PostGIS",
-                    _("schema:"), finfo->pg.toposchema_name);
+            sprintf(line, "%-17s%s (%s %s%s)", _("Topology:"), "PostGIS",
+                    _("schema:"), finfo->pg.toposchema_name,
+                    finfo->pg.topo_geo_only ? ", topo-geo-only: yes" : "");
             printline(line);
 
             sprintf(line, "%-17s%s", _("Topology column:"),