New answers tagged

1 vote

Error importing vector contour layer into GRASS

For those interested, a field is name "index" and that's what qgis/grass don't like (please dev make them more robust). So in the Qgis processing tools, I was able to use Vector Table > ...
user avatar
  • 165
0 votes

Import MATLAB data (.mat) in GRASS

You can use the SciPy scipy.io to read and write .mat files using the functions loadmat and savemat in Python. https://docs.scipy.org/doc/scipy/reference/io.html
user avatar
  • 343
1 vote

Cannot install GRASS GIS add-ons

Regarding the first error, you probably need git (or svn) installed on your computer. Next the six python package ( see here) would probably be installed with pip install six or similar, depending on ...
user avatar
  • 14.2k
1 vote
Accepted

Running GRASS r.watershed in Python returns SyntaxError: expression cannot contain assignment

In GRASS GIS all maps are stored in a specially formatted database. When you want to use these map layers you refer to them by the GRASS name. You cannot refer to an external Geotiff file within a ...
user avatar
  • 14.2k
0 votes

How to fix "No module named grass.script" error in Linux PyCharm?

I think that it's no enough to install and import the GRASS python modules. You need to do the initialization of a GRASS session as described in this wiki page
user avatar
  • 14.2k

Top 50 recent answers are included