[GRASS-dev] PyCharm 2019 with Grass 7.8.1

Stefan Blumentrath Stefan.Blumentrath at nina.no
Tue Nov 26 05:04:29 PST 2019


Hi Zoltan,

did you try https://github.com/zarch/grass-session
That should simplify running GRASS algorithms using GRASS more as a library.

Cheers
Stefan
________________________________
Fra: grass-dev <grass-dev-bounces at lists.osgeo.org> på vegne av Zoltan Szecsei <zoltans at geograph.co.za>
Sendt: tirsdag 26. november 2019 13:34
Til: grass-dev at lists.osgeo.org <grass-dev at lists.osgeo.org>
Emne: [GRASS-dev] PyCharm 2019 with Grass 7.8.1

Hi,
I've just installed QGIS/GRASS etc with Osgeo4w64, but am struggling to
find out how to set up PyCharm to do some grasspy scripting with.
(import grass.scripting as gscript fails - I have set GISBASE, GRASSBIN
and PATH to various C:\OSGeo4W64\apps\grass\grass78 folders)

I need to run r.thin over 2800 tif images, so figured a python loop
should do it.

Any pointers would be welcome.

Thanks and regards,
Zoltan

--

=============================================
Zoltan Szecsei GPrGISc 0031
Geograph (Pty) Ltd.
GIS and Photogrammetric Services

P.O. Box 7, Muizenberg 7950, South Africa.

Mobile: +27-83-6004028     (WhatsApp only)
Qatar:  +974 5083 2722     www.geograph.co.za<http://www.geograph.co.za>
=============================================

_______________________________________________
grass-dev mailing list
grass-dev at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20191126/9e64225b/attachment-0001.html>


More information about the grass-dev mailing list