[GRASS-dev] QGIS-Developer] GRASS and SAGA providers in 3

Fyi

https://lists.osgeo.org/pipermail/qgis-developer/2017-August/049586.html

Yes - it's a work in progress still. SAGA algs are being worked on in
https://github.com/qgis/QGIS/pull/5021, we need someone to step up and
port the GRASS ones. GDAL still has a few left to port (volunteers
welcome), but the QGIS ones are 97% there (I'll do the remainder of
those).

We desperately NEED more people to step up and help here. In the worst
case scenario (no-one ports grass or the remaining GDAL algs) I'll
have to resort to reverting all the c++ processing improvements OR
have duplicate "processingv2" plugin type approach (with only the
ported algs, and a duplicate "processing v1" 2.x style plugin).

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-GRASS-and-SAGA-providers-in-3-tp5331931.html
Sent from the Grass - Dev mailing list archive at Nabble.com.

On Sun, Aug 20, 2017 at 5:37 PM, Helmut Kudrnovsky <hellik@web.de> wrote:

Fyi

https://lists.osgeo.org/pipermail/qgis-developer/2017-August/049586.html

Yes - it’s a work in progress still. SAGA algs are being worked on in
https://github.com/qgis/QGIS/pull/5021, we need someone to step up and
port the GRASS ones.

Does anyone know the current state of GRASS GIS support in QGIS3?

Thanks,
Markus

Hi Markus,

On Sun, 22. Oct 2017 at 09:37:02 +0200, Markus Neteler wrote:

Does anyone know the current state of GRASS GIS support in QGIS3?

GRASS support is still completely disabled in processing. Feature freeze for 3
is next friday.

Jürgen

--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden http://www.norbit.de

On Oct 22, 2017 10:45 AM, “Jürgen E. Fischer” <jef@norbit.de> wrote:

Hi Markus,

On Sun, 22. Oct 2017 at 09:37:02 +0200, Markus Neteler wrote:

Does anyone know the current state of GRASS GIS support in QGIS3?

GRASS support is still completely disabled in processing. Feature freeze for 3
is next friday.

Ouch.

Any pointers what to do here?
Unfortunately I’m not able to also follow QGIS-dev.
I thought someone was talking care, I read a related email some time ago.

Markus

Jürgen


Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden http://www.norbit.de


grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Markus Neteler wrote

On Oct 22, 2017 10:45 AM, "Jürgen E. Fischer" &lt;

jef@

&gt; wrote:

Hi Markus,

On Sun, 22. Oct 2017 at 09:37:02 +0200, Markus Neteler wrote:
> Does anyone know the current state of GRASS GIS support in QGIS3?

GRASS support is still completely disabled in processing. Feature freeze

for 3

is next friday.

Ouch.

Any pointers what to do here?
Unfortunately I'm not able to also follow QGIS-dev.
I thought someone was talking care, I read a related email some time ago.

Maybe this one here?

https://lists.osgeo.org/pipermail/qgis-developer/2017-September/049781.html

-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html

On Sun, Oct 22, 2017 at 1:00 PM, Helmut Kudrnovsky <hellik@web.de> wrote:

Markus Neteler wrote

On Oct 22, 2017 10:45 AM, "Jürgen E. Fischer" &lt;

On Sun, 22. Oct 2017 at 09:37:02 +0200, Markus Neteler wrote:
> Does anyone know the current state of GRASS GIS support in QGIS3?

GRASS support is still completely disabled in processing. Feature freeze
for 3 is next friday.

Ouch.

Any pointers what to do here?
Unfortunately I'm not able to also follow QGIS-dev.
I thought someone was talking care, I read a related email some time ago.

Maybe this one here?

https://lists.osgeo.org/pipermail/qgis-developer/2017-September/049781.html

Yes, thanks. I have right now written to Médéric Ribreux to better
understand what the current state of the port is.

Markus

On Sun, Oct 22, 2017 at 4:13 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Sun, Oct 22, 2017 at 1:00 PM, Helmut Kudrnovsky <hellik@web.de> wrote:

Markus Neteler wrote

On Oct 22, 2017 10:45 AM, "Jürgen E. Fischer" &lt;

On Sun, 22. Oct 2017 at 09:37:02 +0200, Markus Neteler wrote:
> Does anyone know the current state of GRASS GIS support in QGIS3?

GRASS support is still completely disabled in processing. Feature freeze
for 3 is next friday.

Ouch.

Any pointers what to do here?
Unfortunately I'm not able to also follow QGIS-dev.
I thought someone was talking care, I read a related email some time ago.

Maybe this one here?

https://lists.osgeo.org/pipermail/qgis-developer/2017-September/049781.html

Yes, thanks. I have right now written to Médéric Ribreux to better
understand what the current state of the port is.

Update: it is going on well!

https://github.com/qgis/QGIS/pull/5426

An open wish is this enhancement ticket (r.mapcalculator script):
https://trac.osgeo.org/grass/ticket/3431

Médéric will appreciate testing of the pull request.

Markus

Markus Neteler wrote

On Sun, Oct 22, 2017 at 4:13 PM, Markus Neteler &lt;

neteler@

&gt; wrote:

On Sun, Oct 22, 2017 at 1:00 PM, Helmut Kudrnovsky &lt;

hellik@

&gt; wrote:

Markus Neteler wrote

On Oct 22, 2017 10:45 AM, "Jürgen E. Fischer" &lt;

On Sun, 22. Oct 2017 at 09:37:02 +0200, Markus Neteler wrote:
> Does anyone know the current state of GRASS GIS support in QGIS3?

GRASS support is still completely disabled in processing. Feature
freeze
for 3 is next friday.

Ouch.

Any pointers what to do here?
Unfortunately I'm not able to also follow QGIS-dev.
I thought someone was talking care, I read a related email some time
ago.

Maybe this one here?

https://lists.osgeo.org/pipermail/qgis-developer/2017-September/049781.html

Yes, thanks. I have right now written to Médéric Ribreux to better
understand what the current state of the port is.

Update: it is going on well!

https://github.com/qgis/QGIS/pull/5426

An open wish is this enhancement ticket (r.mapcalculator script):
https://trac.osgeo.org/grass/ticket/3431

Médéric will appreciate testing of the pull request.

Markus
_______________________________________________
grass-dev mailing list

grass-dev@.osgeo

https://lists.osgeo.org/mailman/listinfo/grass-dev

Is there any instruction how to test it in windows?

-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html

Is there any instruction how to test it in windows?

according to

https://github.com/qgis/QGIS/pull/5426#issuecomment-342620619

it will be merged soon, thus testing will be easier.

-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html

On Sun, Nov 5, 2017 at 1:53 PM, Markus Neteler <neteler@osgeo.org> wrote:

Update: it is going on well!
https://github.com/qgis/QGIS/pull/5426

An open wish is this enhancement ticket (r.mapcalculator script):
https://trac.osgeo.org/grass/ticket/3431

AFAIK it got merged! A huge work has been done:

https://github.com/qgis/QGIS/commit/cab807dc309067dcb72b6b052f0608c88755af91
"393 changed files with 4,324 additions and 3,545 deletions"

Médéric will appreciate testing of the pull request.

Now testing will be easier.

Markus

Markus Neteler wrote

On Sun, Nov 5, 2017 at 1:53 PM, Markus Neteler &lt;

neteler@

&gt; wrote:

Update: it is going on well!
https://github.com/qgis/QGIS/pull/5426

An open wish is this enhancement ticket (r.mapcalculator script):
https://trac.osgeo.org/grass/ticket/3431

AFAIK it got merged! A huge work has been done:

https://github.com/qgis/QGIS/commit/cab807dc309067dcb72b6b052f0608c88755af91
"393 changed files with 4,324 additions and 3,545 deletions"

Médéric will appreciate testing of the pull request.

Now testing will be easier.

tested now in windows.

tested some raster commands (e.g. r.slope.aspect, r.contour, ...); seems to
work so far.

but the vector commands may need some tuning:

2017-11-11T18:19:56 INFO GRASS GIS 7 execution commands
      g.proj -c proj4="+proj=lcc +lat_1=36.16666666666666
+lat_2=34.33333333333334 +lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0
+ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"
      v.external input="D:\wd\qgistest\contour.sqlite" output="a5a07313c02ab18"
--overwrite -o
      g.region n=228495.0 s=215005.0 e=644995.0 w=630005.0
      v.buffer input=a5a07313c02ab18 distance=100 tolerance=0.01
output=output5db983361f3d4e40a36a8b40be12d7ca --overwrite
      v.out.ogr -c type=auto input="output5db983361f3d4e40a36a8b40be12d7ca"
output="D:\wd\qgistest\buffer.shp" format=ESRI_Shapefile --overwrite
2017-11-11T18:19:57 INFO GRASS GIS 7 execution console output
      Cleaning up temporary files...
      
      Starting GRASS GIS...
      
      WARNING: Concurrent mapset locking is not supported on Windows
      
      Executing
<C:\Users\xxxx\AppData\Local\Temp\processing_6e26fbeb19824cb187621526a67ebee3\grassdata\grass_batch_job.cmd>
...
      
      C:\OSGeo4W64\bin>chcp 1252 1>NUL
      
      C:\OSGeo4W64\bin>g.proj -c proj4="+proj=lcc +lat_1=36.16666666666666
+lat_2=34.33333333333334 +lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0
+ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"
      
      Default region was updated to the new projection, but if you have
multiple mapsets `g.region -d` should be run in each to update the region
from the default
      
      Projection information updated
      
      C:\OSGeo4W64\bin>v.external input="D:\wd\qgistest\contour.sqlite"
output="a5a07313c02ab18" --overwrite -o
      
      Building topology for vector map <a5a07313c02ab18@PERMANENT>...
      
      Using external data format 'SQLite' (feature type 'linestring')
      
      Registering primitives...
      
      110 primitives registered
      
      32549 vertices registered
      
      Number of nodes: 125
      
      Number of primitives: 110
      
      Number of points: 0
      
      Number of lines: 110
      
      Number of boundaries: 0
      
      Number of centroids: 0
      
      Number of areas: 0
      
      Number of isles: 0
      
      v.external complete. Link to vector map <a5a07313c02ab18> created.
      
      C:\OSGeo4W64\bin>g.region n=228495.0 s=215005.0 e=644995.0 w=630005.0
      
      C:\OSGeo4W64\bin>v.buffer input=a5a07313c02ab18 distance=100
tolerance=0.01 output=output5db983361f3d4e40a36a8b40be12d7ca --overwrite
      
      Buffering features...
      
      ERROR: Vect_read_line_geos(): only native format supported <= !!!
      
      C:\OSGeo4W64\bin>v.out.ogr -c type=auto
input="output5db983361f3d4e40a36a8b40be12d7ca"
output="D:\wd\qgistest\buffer.shp" format=ESRI_Shapefile --overwrite
      
      ERROR: Vector map <output5db983361f3d4e40a36a8b40be12d7ca> not found
      
      C:\OSGeo4W64\bin>exit
      
      Execution of
<C:\Users\xxxx\AppData\Local\Temp\processing_6e26fbeb19824cb187621526a67ebee3\grassdata\grass_batch_job.cmd>
finished.
      
      Cleaning up temporary files...
      
      Drücken Sie eine beliebige Taste . . .

----

it seems that some vector commands (e.g. v.buffer) doesn't work with
v.external'ed vectors.

-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html

it seems that some vector commands (e.g. v.buffer) doesn't work with
v.external'ed vectors.

ok, in the settings, following option can be set/unset:

"For vector layers, use v.external (faster) instead of v.in.ogr"

unsetting this option, also vector commands seems to work.

-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html

On Sat, Nov 11, 2017 at 12:04 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Sun, Nov 5, 2017 at 1:53 PM, Markus Neteler <neteler@osgeo.org> wrote:

Update: it is going on well!
https://github.com/qgis/QGIS/pull/5426

An open wish is this enhancement ticket (r.mapcalculator script):
https://trac.osgeo.org/grass/ticket/3431

AFAIK it got merged! A huge work has been done:

https://github.com/qgis/QGIS/commit/cab807dc309067dcb72b6b052f0608c88755af91
"393 changed files with 4,324 additions and 3,545 deletions"

Médéric will appreciate testing of the pull request.

FYI:
For Fedora users, QGIS3 including the GRASS GIS support is now available:

sudo dnf copr enable dani/qgis-testing
sudo dnf update
sudo dnf install qgis qgis-python

Markus

On Mon, Nov 13, 2017 at 10:44 PM, Markus Neteler <neteler@osgeo.org> wrote:

FYI:
For Fedora users, QGIS3 including the GRASS GIS support is now available:

Forgot to cite the source:
https://copr.fedorainfracloud.org/coprs/dani/qgis-testing/

sudo dnf copr enable dani/qgis-testing
sudo dnf update
sudo dnf install qgis qgis-python

Markus