Re: [Qgis-user] QGIS 3.22 - GRASS Init-Error

2021-11-09 Thread Martin Bittens

Hello Andrea,

I installed the following versions:

qgis: 3.22.0-Bialowieza

qgis-ltr: 3.16.13-Hannover;

qgis-ltr-plugin: 2.0;

qgis-grass-plugin packages: GRASS 7, version 2.0 and GRASS GIS provider,
version 2.12.99.

grass: 7.8.6 (64bit), build date: 2021-11-01.


Regards


Martin



Am 11/9/2021 um 7:38 AM schrieb Andrea Giudiceandrea:

Martin Bittens Mon, 08 Nov 2021 17:31:52 -0800

Today I did the update from QGIS 3.20 to 3.22 using the Win10 64bit
installer 'osgeo4w-setup.exe' provided on the QGIS homepage. When I
opened the new QGIS version I received the following warning:

 GRASS init error : Problem in GRASS initialization, GRASS provider and
plugin will not work : Module built against version
2021-10-11T09:56:15+00:00 but trying to use version
2021-11-01T10:26:16+00:00. You need to rebuild GRASS GIS or untangle
multiple installations.


Hi Martin,
what are the installed version of the qgis, qgis-ltr, grass,
qgis-ltr-grass-plugin, qgis-grass-plugin packages?

Best regards.

Andrea Giudiceandrea


--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] raster to polygons conversion with float value pixels

2021-11-09 Thread Bo Victor Thomsen

Greetings list -

I have a question about polygonization of a raster layer/file with float 
values as pixel values


My raster layer  contains pixel /float/-values from -0.97 to +4.78. When 
I run the///"//Polygonize (raster to vector)//"/ processing algorithm I 
get a new layer with nice polygons in the layer. However, all my depth 
values has been converted to integers in the range from 0 -  4. And the 
polygons has been dissolved in fewer and larger polygons that what I wanted.


Is there a method i.e some qualifier or whatnot, that I can add to the 
GDAL command-line that would classify the decimal values from meters to  
centimeters, i.e I would get a polygon layer with depth values like 
-0.99, -09.98 ... 4.78 (around 577 discrete values), and a larger number 
of smaller polygons ?


I'm aware that I could take the raster layer, multiply the pixel values 
with 100.0; convert to integer; create the the polygon layer from the 
modified raster layer and lastly update the depth value in the polygon 
layer by dividing it with 100. And yes, I can make a processing model to 
do the work


But alas, I have hundreds of raster layers to process, so I trying to 
minimize the work for processing each of these raster files.




--
Med venlig hilsen / Kind regards

Bo Victor Thomsen
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS 3.22 - GRASS Init-Error

2021-11-09 Thread Martin Bittens

Hello Andrea,

thanks a lot for your fast response.

1.) Package information

I took the version numbers from the' QGIS --> Help --> about window and
from the plugin manager.

Here are the package information from the network installer:

GRASS GIS: 7.8.6-6;

GRASS plugin for QGIS: 3.22.0-4

GRASS plugin for QGIS (long term release): 3.16.13-1

QGIS Desktop (long term release): 3.16.3-1

QGIS Desktop: 3.22.0-4


2.) Installation

I came from QGIS 3.20 (in this versions I did not receive the mentioned
error message, the GRASS plugin was working well) and did the update
without creating a new directory. The fresh install I did when I made
the upgrade from QGIS 3.18 to 3.20.


Regards


Martin



Am 11/9/2021 um 8:42 AM schrieb Andrea Giudiceandrea:

Martin Bittens Tue, 09 Nov 2021 02:49:40 -0800

qgis-ltr-plugin: 2.0;

qgis-grass-plugin packages: GRASS 7, version 2.0 and GRASS GIS provider,
version 2.12.99.


Hi Martin,
these version numbers are really strange.

I'm referring to the version numbers of the packages that you will see
in the OSGeo4W Network Installer you used to update QGIS.
Those version numbers are in the form of qgis 3.22.0-4, qgis-ltr
qgis-ltr 3.16.13-1, ...

Could you please check again?

Anyway, are you sure you are not mixing packages from old v1 OSGeo4W
repository and new v2 OSGeo4W repository as stated in the QGIS Web site:
"CAUTION: Upgrades of old setups using the new repository are not
supported. You need to do a fresh install or use a different directory."

Regards.

Andrea


--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] raster to polygons conversion with float value pixels

2021-11-09 Thread Nicolas Cadieux
Hi,
Not sure we have access to this in QGIS but the raster to vector is based on 
the polygonize() function in Gdal.  I see they have a fpolygonize() function 
also that you can call with a python script.  The « f » stands for float.

https://gdal.org/python/index.html

You could probably easily adapt the script found on the Gdal cookbook page.

https://pcjericks.github.io/py-gdalogr-cookbook/raster_layers.html#polygonize-a-raster-band

Nicolas Cadieux
https://gitlab.com/njacadieux

> Le 9 nov. 2021 à 07:22, Bo Victor Thomsen  a 
> écrit :
> 
> 
> Greetings list -
> 
> I have a question about polygonization of a raster layer/file with float 
> values as pixel values
> 
> My raster layer  contains pixel float-values from -0.97 to +4.78. When I run 
> the "Polygonize (raster to vector)" processing algorithm I get a new layer 
> with nice polygons in the layer. However, all my depth values has been 
> converted to integers in the range from 0 -  4. And the polygons has been 
> dissolved in fewer and larger polygons that what I wanted.
> 
> Is there a method i.e some qualifier or whatnot, that I can add to the GDAL 
> command-line that would classify the decimal values from meters to  
> centimeters, i.e I would get a polygon layer with depth values like -0.99, 
> -09.98 ... 4.78 (around 577 discrete values), and a larger number of smaller 
> polygons ?
> 
> I'm aware that I could take the raster layer, multiply the pixel values with 
> 100.0; convert to integer; create the the polygon layer from the modified 
> raster layer and lastly update the depth value in the polygon layer by 
> dividing it with 100. And yes, I can make a processing model to do the work 
> 
> But alas, I have hundreds of raster layers to process, so I trying to 
> minimize the work for processing each of these raster files. 
> 
> 
> 
> 
> 
> -- 
> Med venlig hilsen / Kind regards
> 
> Bo Victor Thomsen
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Windows 11 - QGIS and or ODM?

2021-11-09 Thread Stefan Giese (WhereGroup)

Hi Tony,

yes I did upgrade to 11 on one of my Notebooks. So far, no problems 
identified with QGIS (3.18).


Best regrads

Stefan

Am 01.11.2021 um 23:11 schrieb Tony Shepherd (FarmMaps NZ):


HI All

I am being pestered by Windows to upgrade to Win 11.  Has anybody done 
that already and if so were there any issues with QGIS (or ODM if you 
use it?)?


Cheers

Tony

*Tony Shepherd**|*GeoSpatial / Mapping Manager

Ph 027 435 6193 *|*  E t...@farmmaps.nz 

FarmMaps NZ, 3 Kerwood Place, Gore 9740

FM_logo1_small (Custom)

**

** ** 
**



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user


--
Mit freundlichen Grüßen
Stefan Giese
Projektleiter/Consultant

-
Schon gewusst?
In unserem Blog geben wir Tipps & Tricks zu
Open-Source-GIS-Software und berichten aus unserem Experten-Alltag:
https://wheregroup.com/blog/
-

WhereGroup GmbH
Schwimmbadstr. 2
79100 Freiburg
Germany

Tel.: +49 (0)761 / 519 102 - 61
Fax: +49 (0)761 / 519 102 - 11

stefan.gi...@wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user