Questions tagged [pygrass]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

Running pygrass on Linux(Mint) based on GRASS 7.8

I want to try out the pygrass API and I dont want to use GRASS cli. I would like to write a python script, import the pygrass and play around with common algorithms eg distance, buffer etc. On my ...
1
vote
0answers
33 views

Can't create a vector map with VectorTopo in new mapset after switching

I need to create vector maps in different mapsets with pygrass. However, there seems to be a "hidden" global variable which prevents mapset in pygrass from changing. It sort of "memorizes" the mapset ...
2
votes
1answer
141 views

grass GIS + spyder python script error

I'm getting crazy with grass gis and python. I want to call a grass function from an external python script (using spyder for instance). I've installed QGIS + GRASS with the OSGeo4W64 installation ...
1
vote
1answer
109 views

pyGRASS on MacOS: unable to import pygrass.raster

I am running GRASS 7.3 on Mac OS 10.11.5 El Capitan. I'm trying to figure out how to get GRASS GIS running via python scripting (pygrass). I'd like to be able to access raster data programatically. ...
1
vote
0answers
76 views

Running Python script in GRASS every time map extent is altered

I am looking to develop a python script that triggers every time the user zooms or pans to a new map extent. The script I have in mind will clip a raster to the visible extent thus reclassifying the ...
0
votes
1answer
477 views

GRASS python API [closed]

I have Ubuntu 16.04 64 bit and python 2.7.12 on my system. I have installed GRASS GIS 7 from the Ubuntu software support (I thing not is the better choose for install). Now I want to take GRASS ...
2
votes
1answer
1k views

Exception using PyGRASS: “No module named 'core'”

I am trying PyGRASS on Ubuntu 14.04. I have GRASS 7 installed from the UbuntuGIS PPA: $ dpkg -l | grep grass ii grass 7.0.4-1~trusty1 ...