Browse Source

pythonlib: no need for `-c` flag when `location` is defined

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@47021 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 14 years ago
parent
commit
2eec7b68b0
1 changed files with 0 additions and 4 deletions
  1. 0 4
      lib/python/core.py

+ 0 - 4
lib/python/core.py

@@ -935,7 +935,6 @@ def create_location(dbase, location,
     if epsg:
         ps = pipe_command('g.proj',
                           quiet = True,
-                          flags = 'c',
                           epsg = epsg,
                           location = location,
                           stderr = PIPE,
@@ -943,7 +942,6 @@ def create_location(dbase, location,
     elif proj4:
         ps = pipe_command('g.proj',
                           quiet = True,
-                          flags = 'c',
                           proj4 = proj4,
                           location = location,
                           stderr = PIPE,
@@ -951,14 +949,12 @@ def create_location(dbase, location,
     elif filename:
         ps = pipe_command('g.proj',
                           quiet = True,
-                          flags = 'c',
                           georef = filename,
                           location = location,
                           stderr = PIPE)
     elif wkt:
         ps = pipe_command('g.proj',
                           quiet = True,
-                          flags = 'c',
                           wkt = wktfile,
                           location = location,
                           stderr = PIPE)