Browse Source

v.in.ogr: add comment to not mix OGR dsn and GRASS db connection

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72977 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 6 years ago
parent
commit
98a8a0b273
1 changed files with 2 additions and 0 deletions
  1. 2 0
      vector/v.in.ogr/dsn.c

+ 2 - 0
vector/v.in.ogr/dsn.c

@@ -11,6 +11,8 @@ char *get_datasource_name(const char *opt_dsn, int use_ogr)
     dsn = G_store(opt_dsn);
 
     return dsn;
+
+    /* input OGR dsn and GRASS db connections are independent of each other */
     
     /* TODO: remove below code, or use it in e.g. a new v.in.pg */
     if (G_strncasecmp(opt_dsn, "PG:", 3) == 0) {