|
@@ -281,7 +281,7 @@ def gisenv():
|
|
|
def region():
|
|
|
"""Returns the output from running "g.region -g", as a dictionary."""
|
|
|
s = read_command("g.region", flags='g')
|
|
|
- return parse_key_val(s)
|
|
|
+ return parse_key_val(s, val_type = float)
|
|
|
|
|
|
def use_temp_region():
|
|
|
"""Copies the current region to a temporary region with "g.region save=",
|