On Mon, Jan 5, 2015 at 9:36 PM, <[email protected]> wrote: > > Author: hellik > Date: 2015-01-05 12:36:58 -0800 (Mon, 05 Jan 2015) > New Revision: 63958 > > Modified: > grass/trunk/scripts/v.to.lines/v.to.lines.py > Log: > v.to.lines: strip mapset > > Modified: grass/trunk/scripts/v.to.lines/v.to.lines.py > =================================================================== > --- grass/trunk/scripts/v.to.lines/v.to.lines.py 2015-01-05 19:32:08 > UTC (rev 63957) > +++ grass/trunk/scripts/v.to.lines/v.to.lines.py 2015-01-05 20:36:58 > UTC (rev 63958) > @@ -47,7 +47,7 @@ > > def main(): > # Get the options > - input = options["input"] > + input = options["input"].split('@')[0] > output = options["output"] > method = options["method"] > min_cat = None
Hi Helli, why is this needed? In most Python scripts I haven't seen it. If the same map name exists in different mapsets in the SEARCH_PATH, how would it pick the selected one? thanks for hints, Markus _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
