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

Helmut Kudrnovsky hellik at web.de
Sat Nov 11 09:26:43 PST 2017


Markus Neteler wrote
> On Sun, Nov 5, 2017 at 1:53 PM, Markus Neteler <

> neteler@

> > 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 at 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


More information about the grass-dev mailing list