<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Zoltan,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
did you try <a href="https://github.com/zarch/grass-session" id="LPlnk408363">https://github.com/zarch/grass-session</a></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
That should simplify running GRASS algorithms using GRASS more as a library.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Cheers</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Stefan</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Fra:</b> grass-dev <grass-dev-bounces@lists.osgeo.org> på vegne av Zoltan Szecsei <zoltans@geograph.co.za><br>
<b>Sendt:</b> tirsdag 26. november 2019 13:34<br>
<b>Til:</b> grass-dev@lists.osgeo.org <grass-dev@lists.osgeo.org><br>
<b>Emne:</b> [GRASS-dev] PyCharm 2019 with Grass 7.8.1</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi,<br>
I've just installed QGIS/GRASS etc with Osgeo4w64, but am struggling to <br>
find out how to set up PyCharm to do some grasspy scripting with.<br>
(import grass.scripting as gscript fails - I have set GISBASE, GRASSBIN <br>
and PATH to various C:\OSGeo4W64\apps\grass\grass78 folders)<br>
<br>
I need to run r.thin over 2800 tif images, so figured a python loop <br>
should do it.<br>
<br>
Any pointers would be welcome.<br>
<br>
Thanks and regards,<br>
Zoltan<br>
<br>
-- <br>
<br>
=============================================<br>
Zoltan Szecsei GPrGISc 0031<br>
Geograph (Pty) Ltd.<br>
GIS and Photogrammetric Services<br>
<br>
P.O. Box 7, Muizenberg 7950, South Africa.<br>
<br>
Mobile: +27-83-6004028     (WhatsApp only)<br>
Qatar:  +974 5083 2722     <a href="http://www.geograph.co.za">www.geograph.co.za</a><br>
=============================================<br>
<br>
_______________________________________________<br>
grass-dev mailing list<br>
grass-dev@lists.osgeo.org<br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-dev">https://lists.osgeo.org/mailman/listinfo/grass-dev</a></div>
</span></font></div>
</body>
</html>