git-svn-id: https://svn.osgeo.org/grass/grass/trunk@37556 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -35,7 +35,7 @@ from wx.lib.mixins.listctrl import CheckListCtrlMixin, ListCtrlAutoWidthMixin, T
import wx.lib.colourselect as csel
import wx.wizard as wiz
-from grass.script import all as grass
+import grass.script as grass
import globalvar
import mapdisp
@@ -26,7 +26,7 @@ import sys
import wx
import wx.combo
import gcmd
@@ -93,7 +93,7 @@
import sys
import math
import atexit
try:
import wxversion
@@ -71,7 +71,7 @@
import os
def make_frame(f, b, t, l, r):
(ft, fb, fl, fr) = f
@@ -47,7 +47,7 @@
import string
def main():
table = options['table']
@@ -36,7 +36,7 @@
@@ -52,7 +52,7 @@
dsn = options['dsn']
@@ -84,7 +84,7 @@
global tmp
@@ -44,7 +44,7 @@
def copy_colors(fh, map, offset):
p = grass.pipe_command('r.colors.out', map = map)
@@ -55,7 +55,7 @@
vrt = """<VRTDataset rasterXSize="$XSIZE" rasterYSize="$YSIZE">
<SRS>GEOGCS["wgs84",DATUM["WGS_1984",SPHEROID["wgs84",6378137,298.257223563],TOWGS84[0.000,0.000,0.000]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]]</SRS>
@@ -69,7 +69,7 @@
def get_percentile(map, percentile):
s = grass.read_command('r.univar', flags = 'ge', map = map, percentile = percentile)
@@ -100,7 +100,7 @@
parms = [[( 0.3037, 0.2793, 0.4743, 0.5585, 0.5082, 0.1863),
(-0.2848,-0.2435,-0.5435, 0.7243, 0.0840,-0.1800),
@@ -53,7 +53,7 @@
first = options['first']
@@ -61,7 +61,7 @@ import sys
scales = {
'meters': 1.0,
@@ -56,7 +56,7 @@
# what to do in case of user break:
def cleanup():
@@ -76,7 +76,7 @@ import sys
@@ -61,7 +61,7 @@
import platform
bands = {
'L1A': {
@@ -112,7 +112,7 @@ import sys
import shutil
if not in_temp:
@@ -177,7 +177,7 @@ import tempfile
import urllib
import xml.sax
wmsPath = os.path.join(os.getenv('GISBASE'), 'etc', 'r.in.wms')
sys.path.append(wmsPath)
@@ -43,7 +43,7 @@
@@ -73,7 +73,7 @@ import sys
name = options['name']
@@ -54,7 +54,7 @@
infile = options['input']
@@ -34,7 +34,7 @@
input = options['input']
@@ -108,7 +108,7 @@
import re
if options['option'] == 'add':
map = options['map']
@@ -51,7 +51,7 @@
@@ -50,7 +50,7 @@
@@ -64,7 +64,7 @@
old_database = options['old_database']
@@ -63,7 +63,7 @@
@@ -45,7 +45,7 @@
@@ -68,7 +68,7 @@
def has_column(vector, col):
return
def uniq(l):
result = []