1

I'm required to run GRASS GIS functions on a CentOS 7 server using the GRASS Text-based interface as it is not possible to use the GUI. I basically want to import some shapefiles as vector layers and run a few network analysis functions. I wanted to see if the v.import command works but I just ended up with bash: v.import: command not found

enter image description here

I'm fairly new to this so I'm not quite sure what I need to do. Is there no way to perform functions on a layer using the text based UI (CLI)

2

You are using a very old GRASS GIS version (6.4.4 from 2014!) which does not offer v.import as it was developed later.

Please change to GRASS GIS 7.x which is also available for CentoOS7. For this, see https://grass.osgeo.org/download/software/linux/

  • I see, so once I update my GRASS version would I be able to run commands just as I would in the console of the GRASS GUI or is there more setting up that I need to do? – Nandula Aug 6 '19 at 6:20
  • No extra settings needed, you just need to update. – markusN Aug 6 '19 at 19:09
  • Thank you very much. It worked like a charm. – Nandula Aug 7 '19 at 9:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.