Browse Source

v.external: disable GRASS-PostGIS driver

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72982 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 6 years ago
parent
commit
3b2674cd79
1 changed files with 4 additions and 0 deletions
  1. 4 0
      vector/v.external/main.c

+ 4 - 0
vector/v.external/main.c

@@ -101,6 +101,10 @@ int main(int argc, char *argv[])
     }
 
     dsn = NULL;
+    /* disabling GRASS-PostGIS driver:
+     *  TODO: a new fn that converts OGR dsn to PQ connection info,
+     *   ignoring current GRASS db connection */
+    use_ogr = TRUE;
     if (options.dsn->answer)
         dsn = G_store(options.dsn->answer);