Use: "from_"
On 03/30/2017 05:27 PM, Ang Sherpa wrote:
Hi users,
While using "v.distance" in python script. The first parameter is
"from" which is python reserved keyword and throws error: "There's
error in your syntax"
*v.distance* [-*pa*] *from*=/name/ [*from_layer*=/string/]
[*from_type*=/string/[,/string/,...]]
*to*=/name/ [*to_layer*=/string/] [*to_type*=/string/[,/string/,...]]
[*output*=/name/] [*dmax*=/float/] [*dmin*=/float/]
*upload*=/string/[,/string/,...] [*column*=/name/[,/name/,...]]
[*to_column*=/name/] [*table*=/name/] [*separator*=/character/]
[--*overwrite*] [--*help*] [--*verbose*] [--*quiet*] [--*ui*]
Is there a way to resolve this issue?
*Best,*
*Ang Dawa Sherpa*
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user
--
Micha Silver
cell: +972-523-665918
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user