Re: [Qgis-user] Problem with contour algorithm

2024-03-18 Thread Grant Boxer via QGIS-User
Yes, problem fixed as per reply. Many thanks
Grant


-Original Message-
From: Andrea Giudiceandrea  
Sent: Monday, March 18, 2024 9:43 PM
To: box...@iinet.net.au
Subject: Re: [Qgis-user] Problem with contour algorithm

Hi Grant,
have you managed to fix the issue? How?

Best regards.

Andrea


> Andrea Giudiceandrea andreaerdna at libero.it Thu Mar 14 08:47:37 PDT 
> 2024

> Hi Grant,
> in order to fix the issue, you just need to change the "Default output 
> vector layer extension" (in Settings->Options->Processing->General) 
> for your QGIS user settings to a value other than "xtf": I suggest the 
> value "gpkg" (GeoPackage) which is the default for such option.
> 
> I also suggest you to also change the "Default output raster layer 
> extension" to "tif", which probably may be also incorrectly set to "nc"
> in your QGIS user settings.
> 
> Best regards.
> 
> Andrea

___
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] Problem with QGIS: Form uniform groups/clusters from a large point data set

2024-03-15 Thread chris hermansen via QGIS-User
Maren and list,

On Fri, Mar 15, 2024, 05:27 Dr.-Ing. Maren van der Meer via QGIS-User <
qgis-user@lists.osgeo.org> wrote:

> Hello everyone,
>
> I'm facing a problem that I can't wrap my head around:
>
> I have a population dataset in the form of dots. Each point represents one
> inhabitant within an imaginary grid cell of 100x100 meters. For example, if
> there are 37 inhabitants living in one grid cell, there are 37 points on
> top of each other. (The data set is quite large and contains about 4
> million points)
>
> I would like to divide the point data set into groups of *equal* size.
> It is important that the groups are really the same size. (Clustering using
> k-means etc. does not work for me...)
>
> I am also faced with the problem that I would like to try out different
> variants of group formation. For example: Does it make a difference if I
> start the grouping in the north, south or west of the points? Does anyone
> know a (preferably automated) method of group formation?
>
> I hope I have been able to describe my problem sufficiently and would be
> very happy to receive help and tips.
>

There is a discussion on StackOverflow that sounds like what you want to
do. Looks like there are some good ideas there.

https://stackoverflow.com/questions/5452576/k-means-algorithm-variation-with-equal-cluster-size
___
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] Problem with QGIS: Form uniform groups/clusters from a large point data set

2024-03-15 Thread Dr.-Ing. Maren van der Meer via QGIS-User
Hello everyone,
I'm facing a problem that I can't wrap my head around:
I have a population dataset in the form of dots. Each point represents one 
inhabitant within an imaginary grid cell of 100x100 meters. For example, if 
there are 37 inhabitants living in one grid cell, there are 37 points on top of 
each other. (The data set is quite large and contains about 4 million points)
I would like to divide the point data set into groups of equal size.  It is 
important that the groups are really the same size. (Clustering using k-means 
etc. does not work for me...)
I am also faced with the problem that I would like to try out different 
variants of group formation. For example: Does it make a difference if I start 
the grouping in the north, south or west of the points? Does anyone know a 
(preferably automated) method of group formation?
I hope I have been able to describe my problem sufficiently and would be very 
happy to receive help and tips.
Kind regards,
Maren van der Meer


Dr.-Ing. Maren van der Meer
RPTU Kaiserslautern-Landau, Fachbereich Raum- und Umweltplanung
Pfaffenbergstraße 95 | D 67663 Kaiserslautern
Geb. 1, R. U28
+49 (0)631 2052084
maren.vanderm...@rptu.de



___
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] Problem with contour algorithm

2024-03-14 Thread Andrea Giudiceandrea via QGIS-User

Grant Boxer boxerg at iinet.net.au
Tue Mar 12 20:37:33 PDT 2024



I am trying to contour a grid file using the QGIS raster > extract>contour
and I get getting errors saying "Warning 1: Model file not specified" or
"ERROR 4: No such file or directory".


Hi Grant,
in order to fix the issue, you just need to change the "Default output 
vector layer extension" (in Settings->Options->Processing->General) for 
your QGIS user settings to a value other than "xtf": I suggest the value 
"gpkg" (GeoPackage) which is the default for such option.


I also suggest you to also change the "Default output raster layer 
extension" to "tif", which probably may be also incorrectly set to "nc" 
in your QGIS user settings.


Best regards.

Andrea
___
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] Problem with contour algorithm

2024-03-13 Thread Kirk Schmidt via QGIS-User

Hi Grant:

Based on the other comments,  I tested a shapefile and the following 
GDAL command works


gdal_contour -b 1 -a ELEV -i 10.0 -f "ESRI Shapefile" "K:/Work2/McCallum 
Environmental/Wedgeport/Land Clearing/CHM Clearing.sdat" 
K:/Temp/contour_test.shp


The only difference is that in your example you have /vsimem/xxx.tif.  
There are no double quotes so I do not know if you are using a path 
variable or similar.  I would try an actual path to the tif dem file.


Kirk Schmidt

On 3/13/2024 12:37 AM, Grant Boxer via QGIS-User wrote:


I am trying to contour a grid file using the QGIS raster > 
extract>contour and I get getting errors saying “Warning 1: Model file 
not specified” or “ERROR 4: No such file or directory”.


I am using 3.34 and 3.36 and get the same error.

Any thoughts?

Regards Grant Boxer, Perth WA


___
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


--
Kirk Schmidt, MScF, BScF, RPF
General Manager
Nortek Resource Solutions Inc.
26 Church Road
Sutherlands River, NS
B0K 1W0
Tel (902) 922.3607
Email:k...@nortekresources.com
Web:www.nortekresources.com
___
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] Problem with contour algorithm

2024-03-13 Thread Adam Nielsen via QGIS-User
> I am trying to contour a grid file using the QGIS raster > extract>contour
> and I get getting errors saying "Warning 1: Model file not specified" or
> "ERROR 4: No such file or directory".
> 
> I am using 3.34 and 3.36 and get the same error.

I did this yesterday and it worked fine for me, but my command has:

  -f "SQLite" /tmp/xxx/OUTPUT.sqlite

Instead of the -f parameter in your screenshots.  I'm not sure how to
change this - can you see any options that let you select this output
format?

I am just wondering whether the two formats you've selected need
additional parameters.  The SQLite format appears not to need anything
else.

Cheers,
Adam.



QGIS version: 3.36.0-Maidenhead
Qt version: 5.15.12
Python version: 3.11.8
GDAL version: 3.8.4
GEOS version: 3.12.0-CAPI-1.18.0
PROJ version: Rel. 9.4.0, March 1st, 2024
PDAL version: 2.6.3 (git-version: Release)
Algorithm started at: 2024-03-14T01:51:00
Algorithm 'Contour' starting…
Input parameters:
{ 'BAND' : 1, 'CREATE_3D' : False, 'EXTRA' : '', 'FIELD_NAME' : 'ELEV', 
'IGNORE_NODATA' : False, 'INPUT' : 'GPKG:/data/input.gpkg:dem_1m', 'INTERVAL' : 
10, 'NODATA' : None, 'OFFSET' : 0, 'OUTPUT' : 'TEMPORARY_OUTPUT' }

GDAL command:
gdal_contour -b 1 -a ELEV -i 10.0 -f "SQLite" GPKG:/data/input.gpkg:dem_1m 
/tmp/processing_tKnWEA/c3d239d7319c4c728a2cadb22ec047d5/OUTPUT.sqlite
GDAL command output:
0...10...20...30...40...50...60...70...80...90...100 - done.
Process completed successfully
Execution completed in 1.13 seconds
Results:
  OUTPUT: /tmp/processing_tKnWEA/c3d239d7319c4c728a2cadb22ec047d5/OUTPUT.sqlite

Loading resulting layers
Algorithm 'Contour' finished
___
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] Problem with contour algorithm

2024-03-13 Thread kirk via QGIS-User
Hi Grant.Check to make sure your destination directory actually exists and you 
have write permission.  I seem to remember running into a similar issue but I 
am not close to a computer to test. Kirk SchmidtSent from my Galaxy
 Original message From: Grant Boxer via QGIS-User 
 Date: 2024-03-13  12:55 a.m.  (GMT-04:00) To: 
qgis-user@lists.osgeo.org Subject: [Qgis-user] Problem with contour algorithm I 
am trying to contour a grid file using the QGIS raster > extract>contour and I 
get getting errors saying “Warning 1: Model file not specified” or “ERROR 4: No 
such file or directory”. I am using 3.34 and 3.36 and get the same error. Any 
thoughts? Regards Grant Boxer, Perth WA ___
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] Problem: Can't open Spatialite tables in QGIS on Windows

2024-03-05 Thread Brent Wood via QGIS-User
Hi,

We have been using QGIS & Spatialite for years and have recently encountered a 
problem in QGIS under Windows.

We connect to a spatialite database fine, we can list the tables, but when we 
try to open them we get an error:
db <...> table <...> is an invalid layer - not loaded (this is also written to 
the log)

I can open the db in DBManager and enter the query "select * from t_transect;" 
which runs & shows the data in the output pane.
When I try to load the layer as a map layer I get an error message referring me 
to the error log, but the log is empty.

This is using QGIS 3.34.1 on Windows.

The same database file works perfectly on Linux, with QGIS v3.34.3. A colleague 
has tried this & v3.36 on Windows with the same problem. The databases are 
generated with echo sounder data by the ESP3 application, and we have been able 
to use these in QGIS for years without problems until now.

Spatialite access the tables fine, the basic metadata is present:
select * from geometry_columns;
t_transect|geom_col|1|2|4326|0
t_echoint_transect_1d|geom_col|1|2|4326|0

The QGIS error message is not particularly helpful in determining the problem. 
Our workaround is to run the SQL we would have run in the QGIS database manager 
directly from the spatialite command line, exported to CSV & then open the CSV 
in QGIS, which works, but is not ideal.

For some context about these data:  The figure shows each "ping" from the echo 
sounder, scaled by the magnitude of the echo from fish, showing the location 
and density of fish encountered on each transect (ESP3 is used for the acoustic 
analysis). This dataset was from surveying a hill off the west coast of New 
Zealand (generated on Linux!).

[cid:d8335c55-7ad0-42bf-a514-c2ff56fc3815]
Brent Wood

Principal Technician, Fisheries
NIWA
DDI:  +64 (4) 3860529
[https://www.niwa.co.nz/static/niwa-2018-horizontal-180.png] 

Brent Wood
Principal Technician - GIS and Spatial Data Management
Programme Leader - Environmental Information Delivery
+64-4-386-0529

National Institute of Water & Atmospheric Research Ltd (NIWA)
301 Evans Bay Parade Hataitai Wellington New Zealand
Connect with NIWA: niwa.co.nz 
Facebook 
LinkedIn 
Twitter 
Instagram 
YouTube
To ensure compliance with legal requirements and to maintain cyber security 
standards, NIWA's IT systems are subject to ongoing monitoring, activity 
logging and auditing. This monitoring and auditing service may be provided by 
third parties. Such third parties can access information transmitted to, 
processed by and stored on NIWA's IT systems.
Note: This email is intended solely for the use of the addressee and may 
contain information that is confidential or subject to legal professional 
privilege. If you receive this email in error please immediately notify the 
sender and delete the email.
___
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] Problem with Python/Qgis

2023-12-12 Thread chris hermansen via QGIS-User
Gael and list,

On Tue, Dec 12, 2023 at 8:03 AM Gael Kermarrec via QGIS-User <
qgis-user@lists.osgeo.org> wrote:

> Dear members,
>
> I am trying to install Qgis from Ubuntu 20.04 but everytime I make sudo
> apt install qgis qgis-plugin-grass I become the following:
>
>
> The following packages contain unsatisfied dependencies:
> qgis: Depends on python3-qgis (= 1:3.22.16+32focal) but
> 1:3.26.3+32focal-ubuntugis needs to be installed
> Depends on qgis-providers (= 1:3.22.16+32focal) but
> 1:3.26.3+32focal-ubuntugis needs to be installed
> Depends on qgis-common (= 1:3.22.16+32focal) but
> 1:3.26.3+32focal-ubuntugis needs to be installed
> qgis-plugin-grass: Depends on qgis-plugin-grass-common (=
> 1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed
> Depends on grass782
> E: Unable to correct problems, defective packages are in "keep in the
> current state" mode.
>
> I have no idea what I should do to make it works. Maybe somebody had the
> same problem, I would be grateful to get some support as I would like to
> work with QGis.
>
> It looks as though you might be trying to work with the ubuntugis PPA.  If
that's so, maybe you should consider trying the suggested methodology on
the QGIS site here:

https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu

If you just want to correct the unsatisfied dependencies, it's probably
worth trying your command again with the "-f" option:

apt install -f qgis qgis-plugin-grass

In any event, I suggest you read this useful mini-tutorial on fixing
unsatisfied dependencies.

https://askubuntu.com/questions/140246/how-do-i-resolve-unmet-dependencies-after-adding-a-ppa
-- 
Chris Hermansen · clhermansen "at" gmail "dot" com

C'est ma façon de parler.
___
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] Problem with Python/Qgis

2023-12-12 Thread Ludwig Kniprath via QGIS-User

Hi Gael,

I'm using QGis on Linux Mint, an Ubuntu fork, with no problems, so just 
some notes.


- Did you follow 
https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu?


- Did you run "sudo apt update" before "sudo apt install"?

- There seems to be an older installation, You could try "sudo apt-get 
purge qgis qgis-plugin-grass python3-qgis qgis-providers qgis-common" 
before...



hth

Ludwig


Am 12.12.23 um 16:57 schrieb Gael Kermarrec via QGIS-User:

Dear members,

I am trying to install Qgis from Ubuntu 20.04 but everytime I make 
sudo apt install qgis qgis-plugin-grass I become the following:



The following packages contain unsatisfied dependencies:
qgis: Depends on python3-qgis (= 1:3.22.16+32focal) but 
1:3.26.3+32focal-ubuntugis needs to be installed
Depends on qgis-providers (= 1:3.22.16+32focal) but 
1:3.26.3+32focal-ubuntugis needs to be installed
Depends on qgis-common (= 1:3.22.16+32focal) but 
1:3.26.3+32focal-ubuntugis needs to be installed
qgis-plugin-grass: Depends on qgis-plugin-grass-common (= 
1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed

Depends on grass782
E: Unable to correct problems, defective packages are in "keep in the 
current state" mode.


I have no idea what I should do to make it works. Maybe somebody had 
the same problem, I would be grateful to get some support as I would 
like to work with QGis.


Thanks,

gael.


___
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] Problem with Python/Qgis

2023-12-12 Thread Gael Kermarrec via QGIS-User

Dear members,

I am trying to install Qgis from Ubuntu 20.04 but everytime I make sudo 
apt install qgis qgis-plugin-grass I become the following:



The following packages contain unsatisfied dependencies:
qgis: Depends on python3-qgis (= 1:3.22.16+32focal) but 
1:3.26.3+32focal-ubuntugis needs to be installed
Depends on qgis-providers (= 1:3.22.16+32focal) but 
1:3.26.3+32focal-ubuntugis needs to be installed
Depends on qgis-common (= 1:3.22.16+32focal) but 
1:3.26.3+32focal-ubuntugis needs to be installed
qgis-plugin-grass: Depends on qgis-plugin-grass-common (= 
1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed

Depends on grass782
E: Unable to correct problems, defective packages are in "keep in the 
current state" mode.


I have no idea what I should do to make it works. Maybe somebody had the 
same problem, I would be grateful to get some support as I would like to 
work with QGis.


Thanks,

gael.

--
----
Dr. Gael Kermarrec
Institute for meteorology and climatology
Leibniz Universität Hannover
Herrenhäuser Str. 2
D-30419 Hannover
Tel: +49 511 762 2679
Email: kermar...@meteo.uni-hannover.de
Web: www.meteo.uni-hannover.de

___
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] Problem solved

2023-12-04 Thread Ilkka Haapalinna via QGIS-User

Hi all there.
My problem of saving is solved.
Sorry that I did not describe my task so well.
However, with the help of Pekka its over.
Ilkka

___
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] Problem insatalling from source

2023-11-29 Thread WhereGroup
What guide exactly? What is its URL? What section are you reading 
exactly? 
https://github.com/qgis/QGIS/blob/master/INSTALL.md#3-building-on-gnulinux 
? Did you follow each step exactly and did you do nothing else in between?


> Did I do anythng wrongly ?

Yes, you followed the instructions of a dumb machine that makes up 
things without any logic or reasoning.


If you are following instructions by an algorithm that hallucinates 
false facts (like ChatGPT), then please state so before asking humans to 
clean up the mess...


Sorry for the angry and negative tone but it is a *colossal waste of 
time* if one assumes to help a human but it is really a human who 
follows commonly false and misguided instructions by a dumb machine.


On 29.11.23 12:47, Raivo Rebane wrote:


Hi,'

I use ubuntu 20.04 and guide from QGIS package and from ChatGPT

Did I do anythng wrongly ?

Raivo

On 29.11.23 13:39, Johannes Kröger (WhereGroup) wrote:


What guide are you following and what OS (+version) are you using?

On 29.11.23 12:24, Raivo Rebane via QGIS-User wrote:


I have installed following :

 2064  sudo apt-get install libspatialite-dev
 2087  sudo apt install libqt5serialport5-dev

but same error ocured

Regards,
Raivo

On 29.11.23 13:14, Werner Macho wrote:

And regarding spatialite ..
take a look if the -dev package of spatialite is installed ..
If you want to compile yourself you always need the -dev packages
regards
Werner

On Wed, Nov 29, 2023 at 12:10 PM Werner Macho 
 wrote:


Hi!
According to the error message you provided you are missing:
Could not find a package configuration file provided by
"Qt5SerialPort"
   with any of the following names:

Try to install the package "libqt5serialport5-dev" (depending
on which distribution you are - I can only see it is a linux
system)

regards
Werner

On Wed, Nov 29, 2023 at 12:05 PM Raivo Rebane via QGIS-User
 wrote:

Hi,

I want to install QGIS package from source, but got
foolowing errors :

CMake Error at cmake/FindSpatiaLite.cmake:20 (add_library):
   add_library cannot create ALIAS target
"spatialite::spatialite" because
   target "PkgConfig::PC_SPATIALITE" is imported but not
globally visible.
Call Stack (most recent call first):
   CMakeLists.txt:405 (find_package)


-- Qt WebKit support enabled
-- Using embedded laz-perf
-- Found ZSTD: /usr/lib/x86_64-linux-gnu/libzstd.so
-- Found PDAL: pdal_base;pdal_util (2.2.0)
-- Found Draco: /usr/local/lib/libdraco.a (1.5.6)
CMake Error at
/usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28
(find_package):
   Could not find a package configuration file provided by
"Qt5SerialPort"
   with any of the following names:

 Qt5SerialPortConfig.cmake
 qt5serialport-config.cmake

   Add the installation prefix of "Qt5SerialPort" to
CMAKE_PREFIX_PATH
or set
   "Qt5SerialPort_DIR" to a directory containing one of the
above files.  If
   "Qt5SerialPort" provides a separate development package
or SDK, be
sure it
   has been installed.

I tried different way of cmake :

raivo@Hydra:~/QGIS/build-master$ cmake
-DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so

-DSPATIALITE_INCLUDE_DIR=/usr/include/ ..
and

raivo@Hydra:~/QGIS/build-master$ cmake
-DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so

-DSPATIALITE_INCLUDE_DIR=/usr/include/
-DPC_SPATIALITE=/usr/lib/x86_64-linux-gnu/pkgconfig/spatialite.pc
..

but in any cases got previous errors.

What is wrong ?

Regards,

Raivo


___
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



--
Johannes Kröger / GIS-Entwickler/-Berater

-
Aufwind durch Wissen!
Web-Seminare und Online-Schulungen
bei derwww.foss-academy.com
-

WhereGroup GmbH
c/o KK03 GmbH
Lange Reihe 29
20099 Hamburg
Germany

Tel: +49 (0)228 / 90 90 38 - 36
Fax: +49 (0)228 / 90 90 38 - 11

johannes.kroe...@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: 

Re: [Qgis-user] Problem insatalling from source

2023-11-29 Thread Raivo Rebane via QGIS-User
I found, that I can modify cmake config options, but I don't know how to 
change them to avid errors in configuration


Regards,

Raico

On 29.11.23 13:47, Raivo Rebane wrote:


Hi,'

I use ubuntu 20.04 and guide from QGIS package and from ChatGPT

Did I do anythng wrongly ?

Raivo

On 29.11.23 13:39, Johannes Kröger (WhereGroup) wrote:


What guide are you following and what OS (+version) are you using?

On 29.11.23 12:24, Raivo Rebane via QGIS-User wrote:


I have installed following :

 2064  sudo apt-get install libspatialite-dev
 2087  sudo apt install libqt5serialport5-dev

but same error ocured

Regards,
Raivo

On 29.11.23 13:14, Werner Macho wrote:

And regarding spatialite ..
take a look if the -dev package of spatialite is installed ..
If you want to compile yourself you always need the -dev packages
regards
Werner

On Wed, Nov 29, 2023 at 12:10 PM Werner Macho 
 wrote:


Hi!
According to the error message you provided you are missing:
Could not find a package configuration file provided by
"Qt5SerialPort"
   with any of the following names:

Try to install the package "libqt5serialport5-dev" (depending
on which distribution you are - I can only see it is a linux
system)

regards
Werner

On Wed, Nov 29, 2023 at 12:05 PM Raivo Rebane via QGIS-User
 wrote:

Hi,

I want to install QGIS package from source, but got
foolowing errors :

CMake Error at cmake/FindSpatiaLite.cmake:20 (add_library):
   add_library cannot create ALIAS target
"spatialite::spatialite" because
   target "PkgConfig::PC_SPATIALITE" is imported but not
globally visible.
Call Stack (most recent call first):
   CMakeLists.txt:405 (find_package)


-- Qt WebKit support enabled
-- Using embedded laz-perf
-- Found ZSTD: /usr/lib/x86_64-linux-gnu/libzstd.so
-- Found PDAL: pdal_base;pdal_util (2.2.0)
-- Found Draco: /usr/local/lib/libdraco.a (1.5.6)
CMake Error at
/usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28
(find_package):
   Could not find a package configuration file provided by
"Qt5SerialPort"
   with any of the following names:

 Qt5SerialPortConfig.cmake
 qt5serialport-config.cmake

   Add the installation prefix of "Qt5SerialPort" to
CMAKE_PREFIX_PATH
or set
   "Qt5SerialPort_DIR" to a directory containing one of the
above files.  If
   "Qt5SerialPort" provides a separate development package
or SDK, be
sure it
   has been installed.

I tried different way of cmake :

raivo@Hydra:~/QGIS/build-master$ cmake
-DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so

-DSPATIALITE_INCLUDE_DIR=/usr/include/ ..
and

raivo@Hydra:~/QGIS/build-master$ cmake
-DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so

-DSPATIALITE_INCLUDE_DIR=/usr/include/
-DPC_SPATIALITE=/usr/lib/x86_64-linux-gnu/pkgconfig/spatialite.pc
..

but in any cases got previous errors.

What is wrong ?

Regards,

Raivo


___
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
___
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] Problem insatalling from source

2023-11-29 Thread Raivo Rebane via QGIS-User

Hi,'

I use ubuntu 20.04 and guide from QGIS package and from ChatGPT

Did I do anythng wrongly ?

Raivo

On 29.11.23 13:39, Johannes Kröger (WhereGroup) wrote:


What guide are you following and what OS (+version) are you using?

On 29.11.23 12:24, Raivo Rebane via QGIS-User wrote:


I have installed following :

 2064  sudo apt-get install libspatialite-dev
 2087  sudo apt install libqt5serialport5-dev

but same error ocured

Regards,
Raivo

On 29.11.23 13:14, Werner Macho wrote:

And regarding spatialite ..
take a look if the -dev package of spatialite is installed ..
If you want to compile yourself you always need the -dev packages
regards
Werner

On Wed, Nov 29, 2023 at 12:10 PM Werner Macho 
 wrote:


Hi!
According to the error message you provided you are missing:
Could not find a package configuration file provided by
"Qt5SerialPort"
   with any of the following names:

Try to install the package "libqt5serialport5-dev" (depending on
which distribution you are - I can only see it is a linux system)

regards
Werner

On Wed, Nov 29, 2023 at 12:05 PM Raivo Rebane via QGIS-User
 wrote:

Hi,

I want to install QGIS package from source, but got
foolowing errors :

CMake Error at cmake/FindSpatiaLite.cmake:20 (add_library):
   add_library cannot create ALIAS target
"spatialite::spatialite" because
   target "PkgConfig::PC_SPATIALITE" is imported but not
globally visible.
Call Stack (most recent call first):
   CMakeLists.txt:405 (find_package)


-- Qt WebKit support enabled
-- Using embedded laz-perf
-- Found ZSTD: /usr/lib/x86_64-linux-gnu/libzstd.so
-- Found PDAL: pdal_base;pdal_util (2.2.0)
-- Found Draco: /usr/local/lib/libdraco.a (1.5.6)
CMake Error at
/usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28
(find_package):
   Could not find a package configuration file provided by
"Qt5SerialPort"
   with any of the following names:

 Qt5SerialPortConfig.cmake
 qt5serialport-config.cmake

   Add the installation prefix of "Qt5SerialPort" to
CMAKE_PREFIX_PATH
or set
   "Qt5SerialPort_DIR" to a directory containing one of the
above files.  If
   "Qt5SerialPort" provides a separate development package
or SDK, be
sure it
   has been installed.

I tried different way of cmake :

raivo@Hydra:~/QGIS/build-master$ cmake
-DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so
-DSPATIALITE_INCLUDE_DIR=/usr/include/ ..
and

raivo@Hydra:~/QGIS/build-master$ cmake
-DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so
-DSPATIALITE_INCLUDE_DIR=/usr/include/
-DPC_SPATIALITE=/usr/lib/x86_64-linux-gnu/pkgconfig/spatialite.pc
..

but in any cases got previous errors.

What is wrong ?

Regards,

Raivo


___
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
___
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] Problem insatalling from source

2023-11-29 Thread WhereGroup

What guide are you following and what OS (+version) are you using?

On 29.11.23 12:24, Raivo Rebane via QGIS-User wrote:


I have installed following :

 2064  sudo apt-get install libspatialite-dev
 2087  sudo apt install libqt5serialport5-dev

but same error ocured

Regards,
Raivo

On 29.11.23 13:14, Werner Macho wrote:

And regarding spatialite ..
take a look if the -dev package of spatialite is installed ..
If you want to compile yourself you always need the -dev packages
regards
Werner

On Wed, Nov 29, 2023 at 12:10 PM Werner Macho 
 wrote:


Hi!
According to the error message you provided you are missing:
Could not find a package configuration file provided by
"Qt5SerialPort"
   with any of the following names:

Try to install the package "libqt5serialport5-dev" (depending on
which distribution you are - I can only see it is a linux system)

regards
Werner

On Wed, Nov 29, 2023 at 12:05 PM Raivo Rebane via QGIS-User
 wrote:

Hi,

I want to install QGIS package from source, but got foolowing
errors :

CMake Error at cmake/FindSpatiaLite.cmake:20 (add_library):
   add_library cannot create ALIAS target
"spatialite::spatialite" because
   target "PkgConfig::PC_SPATIALITE" is imported but not
globally visible.
Call Stack (most recent call first):
   CMakeLists.txt:405 (find_package)


-- Qt WebKit support enabled
-- Using embedded laz-perf
-- Found ZSTD: /usr/lib/x86_64-linux-gnu/libzstd.so
-- Found PDAL: pdal_base;pdal_util (2.2.0)
-- Found Draco: /usr/local/lib/libdraco.a (1.5.6)
CMake Error at
/usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28
(find_package):
   Could not find a package configuration file provided by
"Qt5SerialPort"
   with any of the following names:

 Qt5SerialPortConfig.cmake
 qt5serialport-config.cmake

   Add the installation prefix of "Qt5SerialPort" to
CMAKE_PREFIX_PATH
or set
   "Qt5SerialPort_DIR" to a directory containing one of the
above files.  If
   "Qt5SerialPort" provides a separate development package or
SDK, be
sure it
   has been installed.

I tried different way of cmake :

raivo@Hydra:~/QGIS/build-master$ cmake
-DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so
-DSPATIALITE_INCLUDE_DIR=/usr/include/ ..
and

raivo@Hydra:~/QGIS/build-master$ cmake
-DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so
-DSPATIALITE_INCLUDE_DIR=/usr/include/
-DPC_SPATIALITE=/usr/lib/x86_64-linux-gnu/pkgconfig/spatialite.pc
..

but in any cases got previous errors.

What is wrong ?

Regards,

Raivo


___
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
___
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] Problem insatalling from source

2023-11-29 Thread Raivo Rebane via QGIS-User

I have installed following :

 2064  sudo apt-get install libspatialite-dev
 2087  sudo apt install libqt5serialport5-dev

but same error ocured

Regards,
Raivo

On 29.11.23 13:14, Werner Macho wrote:

And regarding spatialite ..
take a look if the -dev package of spatialite is installed ..
If you want to compile yourself you always need the -dev packages
regards
Werner

On Wed, Nov 29, 2023 at 12:10 PM Werner Macho  
wrote:


Hi!
According to the error message you provided you are missing:
Could not find a package configuration file provided by
"Qt5SerialPort"
   with any of the following names:

Try to install the package "libqt5serialport5-dev" (depending on
which distribution you are - I can only see it is a linux system)

regards
Werner

On Wed, Nov 29, 2023 at 12:05 PM Raivo Rebane via QGIS-User
 wrote:

Hi,

I want to install QGIS package from source, but got foolowing
errors :

CMake Error at cmake/FindSpatiaLite.cmake:20 (add_library):
   add_library cannot create ALIAS target
"spatialite::spatialite" because
   target "PkgConfig::PC_SPATIALITE" is imported but not
globally visible.
Call Stack (most recent call first):
   CMakeLists.txt:405 (find_package)


-- Qt WebKit support enabled
-- Using embedded laz-perf
-- Found ZSTD: /usr/lib/x86_64-linux-gnu/libzstd.so
-- Found PDAL: pdal_base;pdal_util (2.2.0)
-- Found Draco: /usr/local/lib/libdraco.a (1.5.6)
CMake Error at
/usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28
(find_package):
   Could not find a package configuration file provided by
"Qt5SerialPort"
   with any of the following names:

 Qt5SerialPortConfig.cmake
 qt5serialport-config.cmake

   Add the installation prefix of "Qt5SerialPort" to
CMAKE_PREFIX_PATH
or set
   "Qt5SerialPort_DIR" to a directory containing one of the
above files.  If
   "Qt5SerialPort" provides a separate development package or
SDK, be
sure it
   has been installed.

I tried different way of cmake :

raivo@Hydra:~/QGIS/build-master$ cmake
-DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so
-DSPATIALITE_INCLUDE_DIR=/usr/include/ ..
and

raivo@Hydra:~/QGIS/build-master$ cmake
-DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so
-DSPATIALITE_INCLUDE_DIR=/usr/include/
-DPC_SPATIALITE=/usr/lib/x86_64-linux-gnu/pkgconfig/spatialite.pc
..

but in any cases got previous errors.

What is wrong ?

Regards,

Raivo


___
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] Problem insatalling from source

2023-11-29 Thread Werner Macho via QGIS-User
And regarding spatialite ..
take a look if the -dev package of spatialite is installed ..
If you want to compile yourself you always need the -dev packages
regards
Werner

On Wed, Nov 29, 2023 at 12:10 PM Werner Macho 
wrote:

> Hi!
> According to the error message you provided you are missing:
> Could not find a package configuration file provided by "Qt5SerialPort"
>with any of the following names:
>
> Try to install the package "libqt5serialport5-dev" (depending on which
> distribution you are - I can only see it is a linux system)
>
> regards
> Werner
>
> On Wed, Nov 29, 2023 at 12:05 PM Raivo Rebane via QGIS-User <
> qgis-user@lists.osgeo.org> wrote:
>
>> Hi,
>>
>> I want to install QGIS package from source, but got foolowing errors :
>>
>> CMake Error at cmake/FindSpatiaLite.cmake:20 (add_library):
>>add_library cannot create ALIAS target "spatialite::spatialite" because
>>target "PkgConfig::PC_SPATIALITE" is imported but not globally visible.
>> Call Stack (most recent call first):
>>CMakeLists.txt:405 (find_package)
>>
>>
>> -- Qt WebKit support enabled
>> -- Using embedded laz-perf
>> -- Found ZSTD: /usr/lib/x86_64-linux-gnu/libzstd.so
>> -- Found PDAL: pdal_base;pdal_util (2.2.0)
>> -- Found Draco: /usr/local/lib/libdraco.a (1.5.6)
>> CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28
>> (find_package):
>>Could not find a package configuration file provided by "Qt5SerialPort"
>>with any of the following names:
>>
>>  Qt5SerialPortConfig.cmake
>>  qt5serialport-config.cmake
>>
>>Add the installation prefix of "Qt5SerialPort" to CMAKE_PREFIX_PATH
>> or set
>>"Qt5SerialPort_DIR" to a directory containing one of the above files.
>> If
>>"Qt5SerialPort" provides a separate development package or SDK, be
>> sure it
>>has been installed.
>>
>> I tried different way of cmake :
>>
>> raivo@Hydra:~/QGIS/build-master$ cmake
>> -DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so
>> -DSPATIALITE_INCLUDE_DIR=/usr/include/ ..
>> and
>>
>> raivo@Hydra:~/QGIS/build-master$ cmake
>> -DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so
>> -DSPATIALITE_INCLUDE_DIR=/usr/include/
>> -DPC_SPATIALITE=/usr/lib/x86_64-linux-gnu/pkgconfig/spatialite.pc ..
>>
>> but in any cases got previous errors.
>>
>> What is wrong ?
>>
>> Regards,
>>
>> Raivo
>>
>>
>> ___
>> 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] Problem insatalling from source

2023-11-29 Thread Werner Macho via QGIS-User
Hi!
According to the error message you provided you are missing:
Could not find a package configuration file provided by "Qt5SerialPort"
   with any of the following names:

Try to install the package "libqt5serialport5-dev" (depending on which
distribution you are - I can only see it is a linux system)

regards
Werner

On Wed, Nov 29, 2023 at 12:05 PM Raivo Rebane via QGIS-User <
qgis-user@lists.osgeo.org> wrote:

> Hi,
>
> I want to install QGIS package from source, but got foolowing errors :
>
> CMake Error at cmake/FindSpatiaLite.cmake:20 (add_library):
>add_library cannot create ALIAS target "spatialite::spatialite" because
>target "PkgConfig::PC_SPATIALITE" is imported but not globally visible.
> Call Stack (most recent call first):
>CMakeLists.txt:405 (find_package)
>
>
> -- Qt WebKit support enabled
> -- Using embedded laz-perf
> -- Found ZSTD: /usr/lib/x86_64-linux-gnu/libzstd.so
> -- Found PDAL: pdal_base;pdal_util (2.2.0)
> -- Found Draco: /usr/local/lib/libdraco.a (1.5.6)
> CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28
> (find_package):
>Could not find a package configuration file provided by "Qt5SerialPort"
>with any of the following names:
>
>  Qt5SerialPortConfig.cmake
>  qt5serialport-config.cmake
>
>Add the installation prefix of "Qt5SerialPort" to CMAKE_PREFIX_PATH
> or set
>"Qt5SerialPort_DIR" to a directory containing one of the above files.
> If
>"Qt5SerialPort" provides a separate development package or SDK, be
> sure it
>has been installed.
>
> I tried different way of cmake :
>
> raivo@Hydra:~/QGIS/build-master$ cmake
> -DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so
> -DSPATIALITE_INCLUDE_DIR=/usr/include/ ..
> and
>
> raivo@Hydra:~/QGIS/build-master$ cmake
> -DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so
> -DSPATIALITE_INCLUDE_DIR=/usr/include/
> -DPC_SPATIALITE=/usr/lib/x86_64-linux-gnu/pkgconfig/spatialite.pc ..
>
> but in any cases got previous errors.
>
> What is wrong ?
>
> Regards,
>
> Raivo
>
>
> ___
> 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


[Qgis-user] Problem insatalling from source

2023-11-29 Thread Raivo Rebane via QGIS-User

Hi,

I want to install QGIS package from source, but got foolowing errors :

CMake Error at cmake/FindSpatiaLite.cmake:20 (add_library):
  add_library cannot create ALIAS target "spatialite::spatialite" because
  target "PkgConfig::PC_SPATIALITE" is imported but not globally visible.
Call Stack (most recent call first):
  CMakeLists.txt:405 (find_package)


-- Qt WebKit support enabled
-- Using embedded laz-perf
-- Found ZSTD: /usr/lib/x86_64-linux-gnu/libzstd.so
-- Found PDAL: pdal_base;pdal_util (2.2.0)
-- Found Draco: /usr/local/lib/libdraco.a (1.5.6)
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 
(find_package):

  Could not find a package configuration file provided by "Qt5SerialPort"
  with any of the following names:

    Qt5SerialPortConfig.cmake
    qt5serialport-config.cmake

  Add the installation prefix of "Qt5SerialPort" to CMAKE_PREFIX_PATH 
or set

  "Qt5SerialPort_DIR" to a directory containing one of the above files.  If
  "Qt5SerialPort" provides a separate development package or SDK, be 
sure it

  has been installed.

I tried different way of cmake :

raivo@Hydra:~/QGIS/build-master$ cmake 
-DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so 
-DSPATIALITE_INCLUDE_DIR=/usr/include/ ..

and

raivo@Hydra:~/QGIS/build-master$ cmake 
-DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so 
-DSPATIALITE_INCLUDE_DIR=/usr/include/ 
-DPC_SPATIALITE=/usr/lib/x86_64-linux-gnu/pkgconfig/spatialite.pc ..


but in any cases got previous errors.

What is wrong ?

Regards,

Raivo


___
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] Problem downloading QGIS 3.34 to macOS 12.7.1

2023-11-14 Thread Andrea Giudiceandrea via QGIS-User

Il 14/11/2023 09:51, Thomas Beauvais ha scritto:

Hi Andrea,

It works, thanks!



I'm glad to be of help.

Best regards.

Andrea
___
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] Problem downloading QGIS 3.34 to macOS 12.7.1

2023-11-13 Thread Andrea Giudiceandrea via QGIS-User

Thomas Beauvais thom.beauvais at orange.fr
Mon Nov 6 05:28:31 PST 2023
I am using QGIS 3.32 version and I want to download the 3.34 version on my Mac 
computer (macOS 12.7.1). I properly downloaded and loaded the installation 
package for Mac computers on the QGIS web page. Then I ran QGIS, but the 
software presented the 3.32 version.


Hi Thomas,
the QGIS 3.34.0 dmg installer for macOS is available now at 
https://qgis.org/en/site/forusers/download.html#mac


Best regards.

Andrea
___
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] Problem downloading QGIS 3.34 to macOS 12.7.1

2023-11-06 Thread Andrea Giudiceandrea via QGIS-User

Il 06/11/2023 22:35, Andrea Giudiceandrea ha scritto:

Hi Thomas,
unfortunately there is currently an issue with the QGIS 3.34.0 installer 
build which is actually not yet available although the macOS section in 
the download page in the QGIS website shows a misleading "Download QGIS 
3.34" link.


You will find the QGIS 3.34.0 .dmg installer at 
https://download.qgis.org/downloads/macos/pr/?C=M;O=D when available.


I forgot to mention that you can currently install QGIS 3.34.0 on macOS 
using MacPorts: https://qgis.org/en/site/forusers/alldownloads.html#macports


Best regards.

Andrea
___
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] Problem downloading QGIS 3.34 to macOS 12.7.1

2023-11-06 Thread Andrea Giudiceandrea via QGIS-User

Thomas Beauvais thom.beauvais at orange.fr
Mon Nov 6 05:28:31 PST 2023


I want to download the 3.34 version on my Mac computer (macOS 12.7.1). I properly downloaded and loaded the installation package for Mac computers on the QGIS web page. Then I ran QGIS, but the software presented the 3.32 version. 


Hi Thomas,
unfortunately there is currently an issue with the QGIS 3.34.0 installer 
build which is actually not yet available although the macOS section in 
the download page in the QGIS website shows a misleading "Download QGIS 
3.34" link.


You will find the QGIS 3.34.0 .dmg installer at 
https://download.qgis.org/downloads/macos/pr/?C=M;O=D when available.


Best regards.

Andrea
___
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] Problem downloading QGIS 3.34 to macOS 12.7.1

2023-11-06 Thread Anita Graser via QGIS-User
Thank you for the report. We are aware of the issue and working on it.
Regards Anita
___
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] Problem downloading QGIS 3.34 to macOS 12.7.1

2023-11-06 Thread Thomas Beauvais via QGIS-User
Dear users,

I am using QGIS 3.32 version and I want to download the 3.34 version on my Mac 
computer (macOS 12.7.1). I properly downloaded and loaded the installation 
package for Mac computers on the QGIS web page. Then I ran QGIS, but the 
software presented the 3.32 version. 

I precise that I use QGIS for personal purposes. I hope I have been clear in my 
explanations.

Best regards,

Thomas Beauvais.
___
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] Problem with Georeferences on AutoCAD version

2023-09-04 Thread Christian Naujoks via QGIS-User
Am Freitag, dem 01.09.2023 um 12:35 + schrieb Javier Jimenez via
QGIS-User:
> How could I import a file from a more current version?

GIS is familiar to me. CAD can be very foreign.

1.  Use the ODA File Converter, former Teigha, to downgrad  and convert
to DXF:  https://www.opendesign.com/guestfiles/oda_file_converter

2. Check the DXF with the Java  de·caff
Viewer: https://caff.de/projects/caffviewer/

The basic geometric elements should be readable with QGIS.

regards
Chris

___
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] Problem with Georeferences on AutoCAD version

2023-09-01 Thread Adam Nielsen via QGIS-User
> When importing a .dwg file generated by AutoCAD, the application is
> not able to import the file in versions later than 2018. How could I
> import a file from a more current version?

The AutoCAD .dwg format is proprietary, and to my knowledge Autodesk
does not release any public specifications on how the file works.  The
Wikipedia page on .dwg (https://en.wikipedia.org/wiki/.dwg) explains
many times Autodesk have tried to sue people who make software that
works with .dwg files.

So this makes it very difficult for free projects like QGIS to support
these file formats when the companies that develop them are so hostile.

> Knowing that most AutoCAD users use current versions with the latest
> tools, I think it would be very useful to be able to import files
> from any version of AutoCAD.

I'm sure it would be very useful.  Perhaps you can contact Autodesk and
ask them for information on the latest .dwg file specification?
Without information on how their latest changes work, it is very
difficult for other software to support the file format.

Otherwise your only option is probably to export the file from AutoCAD
into a different file format that QGIS can read - either one that is
more open and involves fewer lawsuits than .dwg, or as Richard
suggested, an older DWG version that hackers have previously reverse
engineered and made public without permission from Autodesk.

Cheers,
Adam.
___
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] Problem with Georeferences on AutoCAD version

2023-09-01 Thread Javier Jimenez via QGIS-User
Good morning,
Using QGIS in version 3.28.9 and version 3.32.1 I have had the following 
problem.
When importing a .dwg file generated by AutoCAD, the application is not able to 
import the file in versions later than 2018.
How could I import a file from a more current version?
Knowing that most AutoCAD users use current versions with the latest tools, I 
think it would be very useful to be able to import files from any version of 
AutoCAD.

This error has been generated by the following steps:
1. Create a new Project
2. Import / Export
3.Import Layers from DWG/DXF
4.Drop-down window as shown in the attached image

-

Buenos días,
Utilizando QGIS en la versión 3.28.9 y la versión 3.32.1 he tenido el siguiente 
problema.
Al importar un archivo .dwg generado por AutoCAD, la aplicación, no es capaz de 
importar el archivo en versiones posteriores a la 2018.
¿Cómo podría importar un archivo de una versión más actual?
Sabiendo que la mayoría de los usuarios de AutoCAD utilizan versiones actuales 
con las herramientas más modernas, creo que sería muy útil poder importar 
archivos de cualquier versión de AutoCAD.

Este error se ha generado siguiendo los siguientes pasos:

  1.  Crear un nuevo Proyecto
  2.  Importar / Exportar
  3.  Importar Capas desde  DWG/DXF
  4.  Ventana desplegable que aparece en la imagen adjunta

Adjunto imagen del error que se ha generado.
[cid:image003.png@01D9DCE0.5DE0D120]

Un saludo,
Javier Jiménez

[cid:image001.png@01D9DCDF.9426AA80]
Javier Jiménez
Departamento de Desarrollo

Tel +34 683 554 229
Email jjime...@proyectapv.com
Web www.proyectapv.com

[Título: LinkedIn - Descripción: image of LinkedIn 
icon]



___
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] problem with GRASS custom variables

2023-08-05 Thread Hugh Kelley via QGIS-User
Hi Martin, I don't use grass with qgis much but I do have a guess.   When
you look at your installed programs, is it possible there are options for
"qgis" and then also a listing specifically for "qgis with grass".
Different operating environments might explain why you can't import from
grass as expected when opening gui qgis.

Hopefully someone has a more informed suggestion but this seemed worth
mentioning.

On Sat, Aug 5, 2023, 12:50 PM Martin Landa via QGIS-User <
qgis-user@lists.osgeo.org> wrote:

> Dear QGIS users,
>
> I have problem setting up custom GRASS-related variables in QGIS settings
> (use custom variables):
>
> [image: image.png]
> Unfortunately after restarting QGIS the statement below in Python Console
>
> from grass.pygrass.gis import Mapset
>
> fails with
>
> ImportError: Could not load grass_raster.8.4.
>
> When I set the same environmental variables before starting QGIS from
> shell than the pyGRASS statement *works*:
>
> GISBASE=/home/martin/src/grass/dist.x86_64-pc-linux-gnu
> PYTHONPATH=/home/martin/src/grass/dist.x86_64-pc-linux-gnu/etc/python
> LD_LIBRARY_PATH=/home/martin/src/grass/dist.x86_64-pc-linux-gnu/lib qgis
>
> Any idea why custom variables defined by QGIS settings fail in this case?
> Why are they behaving differently from environmental variables defined in
> the shell?
>
> Thanks in advance, Martin
>
> --
> Martin Landa
> http://geo.fsv.cvut.cz/gwiki/Landa
> http://gismentors.cz/mentors/landa
> ___
> 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


[Qgis-user] problem with GRASS custom variables

2023-08-05 Thread Martin Landa via QGIS-User
Dear QGIS users,

I have problem setting up custom GRASS-related variables in QGIS settings
(use custom variables):

[image: image.png]
Unfortunately after restarting QGIS the statement below in Python Console

from grass.pygrass.gis import Mapset

fails with

ImportError: Could not load grass_raster.8.4.

When I set the same environmental variables before starting QGIS from shell
than the pyGRASS statement *works*:

GISBASE=/home/martin/src/grass/dist.x86_64-pc-linux-gnu
PYTHONPATH=/home/martin/src/grass/dist.x86_64-pc-linux-gnu/etc/python
LD_LIBRARY_PATH=/home/martin/src/grass/dist.x86_64-pc-linux-gnu/lib qgis

Any idea why custom variables defined by QGIS settings fail in this case?
Why are they behaving differently from environmental variables defined in
the shell?

Thanks in advance, Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
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] Problem saving project to geopkg

2023-07-26 Thread David Strip via QGIS-User

  
  
On 7/25/2023 11:55 PM, Michael Dufty
  wrote:


  The
  error message includes MedicalDebt.mldata as a project name. 
  I believe this is the file the memorylayer saver plugin
  creates to save the temporary layers to.   Have you tried it
  with that plugin disabled?  
   
  I'm
  really dependent on the memory layer saver plugin, and have
  abandoned investigation of saving files to geopackage because
  memorylayer saver does not seem to support it.


the problem appears not to be the presence of the memory layer
plug-in specifically, but the combination of the plug-in and a
memory layer in the project. If I have a memory layer open in the
project when I try to save to a geopkg, I get the error. If I remove
the memory layers (or save them to the geopkg and replace the memory
layers with the saved layers), then the problem disappears. 
  

___
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] Problem saving project to geopkg

2023-07-25 Thread Michael Dufty via QGIS-User
The error message includes MedicalDebt.mldata as a project name.  I believe 
this is the file the memorylayer saver plugin creates to save the temporary 
layers to.   Have you tried it with that plugin disabled?

I'm really dependent on the memory layer saver plugin, and have abandoned 
investigation of saving files to geopackage because memorylayer saver does not 
seem to support it.

Michael Dufty

From: QGIS-User  On Behalf Of David Strip 
via QGIS-User
Sent: Thursday, July 20, 2023 12:27 PM
To: qgis-user 
Subject: [Qgis-user] Problem saving project to geopkg

I created a geopkg by exporting a layer from my project to a new geopkg. I then 
exported a couple of other layers to the geopkg. I then did File->Save To-> 
geopkg and saved my project to the geopkg. So far, so good. Now I made some 
changes to the project and tried to save it and now I get a python error
ValueError: Cannot open 
geopackage:C:/Users/David/Documents/Geodata/Maps/RIP_Medical_Debt.gpkg?projectName=MedicalDebt.mldata
How do I fix this?
Thanks

___
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] Problem saving project to geopkg

2023-07-19 Thread David Strip via QGIS-User

  
  
I created a geopkg by exporting a layer from my project to a new
geopkg. I then exported a couple of other layers to the geopkg. I
then did File->Save To-> geopkg and saved my project to the
geopkg. So far, so good. Now I made some changes to the project and
tried to save it and now I get a python error 
ValueError:
Cannot open
geopackage:C:/Users/David/Documents/Geodata/Maps/RIP_Medical_Debt.gpkg?projectName=MedicalDebt.mldata
  
How do I fix this?
Thanks



  

___
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] Problem with my QNEAT 3 in QGIS

2023-03-30 Thread Yi Wei via QGIS-User
Dear All,

   Currently I have been trying to run the isochrone analysis on QGIS by
using QNEAT 3. But after running the process for around 20 minutes, the
result showed that message log truncated and I am not sure why this
happened and I did not know how to re-run the isochrone analysis
successfully.

Can anyone provide me with specific advice on how to resolve this issue ?
[image: message truncated.png]


Thanks in advance.

Best

Yi Wei
___
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] problem with atlas

2023-03-17 Thread Stephan Reber via QGIS-User

Hi,

since the last update of QGIS 3.22, i cannot export atlas. The problem 
is, that i have to select a file and not a folder. Selecting a file 
doesn't work for the atlas export - it is the same with QGIS 3.30.


I use debian11 with KDE. And I tested debian12 and fedora 37, both with 
KDE. On a system with fedora 37 and Gnome the atlas export works fine. 
So it seems to be related with KDE.



Any ideas? Or a bug (QGIS or KDE)?

Best regards Stephan___
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] Problem with v3.30 plug-ins repository

2023-03-05 Thread Tomas Pospisek via QGIS-User

On 05.03.23 04:25, Grant Boxer via QGIS-User wrote:
I have upgraded to v3.30 but now I cannot connect to the plug-ins 
repository. Any suggestions?


Is there any error message that appears?
*t

___
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] Problem with v3.30 plug-ins repository

2023-03-05 Thread Andrea Giudiceandrea via QGIS-User

boxerg at iinet.net.au boxerg at iinet.net.au
Sat Mar 4 19:25:13 PST 2023



I have upgraded to v3.30 but now I cannot connect to the plug-ins
repository. Any suggestions?


Hi,
please try again. The issue may be fixed now.

Best regards.

Andrea Giudiceandrea
___
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] Problem with v3.30 plug-ins repository

2023-03-04 Thread Grant Boxer via QGIS-User
I have upgraded to v3.30 but now I cannot connect to the plug-ins
repository. Any suggestions?

Cheers Grant Boxer

Perth WA

 

___
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] problem with matplotlib in context with QGIS processing plugins

2023-02-15 Thread Manfred Strahlhofer via QGIS-User
Hi Johannes!

Thanks for your reply!
Unfortunately the plt.show() does not show anything when called from the
processing plugin's "processAlgorithm()" function.
When called from the python console, it works fine instead.
I also detected that "fig.tight_layout()" stucks QGIS, when used in a
processing plugin.
But fortunately, in the meantime I've also detected, that  I can save the
whole plot to a PDF file by using "plt.savefig(pdf_name)".
And that's already a great benefit for me.

Best regards


Am Mi., 15. Feb. 2023 um 09:39 Uhr schrieb Johannes Kröger (WhereGroup) <
johannes.kroe...@wheregroup.com>:

> Hi Manfred,
>
> not what you asked but: Are you sure you need a second QMainWindow or
> maybe a non-modal QDialog or a QDockWidget would be sufficient? Those might
> be easier to use. Or maybe even just using the window that plt.show()
> creates?
>
> Cheers, Hannes
> Am 14.02.23 um 22:11 schrieb Manfred Strahlhofer via QGIS-User:
>
> Hello!
>
> There is a problem when using "matplotlib.backends" and drawing plots when
> called from a QGIS processing plugin. I am using the following test code:
> # sample code below draws a canvas with a plot
> # however closing this plot canvas crashes the plugin (cannot be restarted)
> # and further qgis can't be closed with the X button
> # originates from:
> https://matplotlib.org/stable/gallery/user_interfaces/embedding_in_qt_sgskip.html#sphx-glr-gallery-user-interfaces-embedding-in-qt-sgskip-py
> import sys
> import time
> import numpy as np
> from matplotlib.backends.qt_compat import QtWidgets
> from matplotlib.backends.backend_qtagg import (
> FigureCanvas, NavigationToolbar2QT as NavigationToolbar)
> from matplotlib.figure import Figure
> class ApplicationWindow(QtWidgets.QMainWindow):
> def __init__(self):
> super().__init__()
> self._main = QtWidgets.QWidget()
> self.setCentralWidget(self._main)
> layout = QtWidgets.QVBoxLayout(self._main)
> static_canvas = FigureCanvas(Figure(figsize=(5, 3)))
> # Ideally one would use self.addToolBar here, but it is slightly
> # incompatible between PyQt6 and other bindings, so we just add
> the
> # toolbar as a plain widget instead.
> layout.addWidget(NavigationToolbar(static_canvas, self))
> layout.addWidget(static_canvas)
> dynamic_canvas = FigureCanvas(Figure(figsize=(5, 3)))
> layout.addWidget(dynamic_canvas)
> layout.addWidget(NavigationToolbar(dynamic_canvas, self))
> self._static_ax = static_canvas.figure.subplots()
> t = np.linspace(0, 10, 501)
> self._static_ax.plot(t, np.tan(t), ".")
> self._dynamic_ax = dynamic_canvas.figure.subplots()
> t = np.linspace(0, 10, 101)
> # Set up a Line2D.
> self._line, = self._dynamic_ax.plot(t, np.sin(t + time.time()))
> self._timer = dynamic_canvas.new_timer(50)
> self._timer.add_callback(self._update_canvas)
> self._timer.start()
> def _update_canvas(self):
> t = np.linspace(0, 10, 101)
> # Shift the sinusoid as a function of time.
> self._line.set_data(t, np.sin(t + time.time()))
> self._line.figure.canvas.draw()
> def test_plot():
> # Check whether there is already a running QApplication (e.g., if
> running
> # from an IDE).
> #qapp = QtWidgets.QApplication.instance()   this stucks QGIS!
> #if not qapp:
> qapp = QtWidgets.QApplication(sys.argv) # this stucks QGIS main
> window when the dialog's close button is pressed
> app = ApplicationWindow()
> app.show()
> app.activateWindow()
> app.raise_()
> qapp.exec()
> #app.exit()
>
> When using "qapp = QtWidgets.QApplication.instance()", QGIS stucks
> completely and no plot is shown ever.
> When using "qapp = QtWidgets.QApplication(sys.argv)", the plot is shown
> and updated correctly. But when pressing the "close button" of the plot
> window, there are some strange effects (cannot start a plugin again) and
> the "close button" of the QGIS main window is disabled. Have to shut down
> qgis-bin.exe from the windows task-manager.
> I am using:
> QGIS Version 3.24.1 Tisler
> matplotlib 3.5.1
> Windows 10
>
> Anybody have a solution for this problem?
> Thanks a lot.
>
>
>
>
> ___
> QGIS-User mailing listqgis-u...@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> --
> Johannes Kröger / GIS-Entwickler/-Berater
>
> **
> FOSSGIS Konferenz
> 15.-18. März 2023 in Berlinhttps://fossgis-konferenz.de/2023/
>
> WhereGroup-Beiträge auf der 
> FOSSGIShttps://wheregroup.com/unternehmen/aktuelles/
> **
>
> WhereGroup GmbH
> Grevenweg 89
> 20537 Hamburg
> Germany
>
> Tel: +49 (0)228 / 90 90 38 - 36
> Fax: +49 (0)228 / 90 90 38 - 11
> 

Re: [Qgis-user] problem with matplotlib in context with QGIS processing plugins

2023-02-15 Thread WhereGroup

Hi Manfred,

not what you asked but: Are you sure you need a second QMainWindow or 
maybe a non-modal QDialog or a QDockWidget would be sufficient? Those 
might be easier to use. Or maybe even just using the window that 
plt.show() creates?


Cheers, Hannes

Am 14.02.23 um 22:11 schrieb Manfred Strahlhofer via QGIS-User:

Hello!

There is a problem when using "matplotlib.backends" and drawing plots 
when called from a QGIS processing plugin. I am using the following 
test code:

# sample code below draws a canvas with a plot
# however closing this plot canvas crashes the plugin (cannot be 
restarted)

# and further qgis can't be closed with the X button
# originates from: 
https://matplotlib.org/stable/gallery/user_interfaces/embedding_in_qt_sgskip.html#sphx-glr-gallery-user-interfaces-embedding-in-qt-sgskip-py

importsys
importtime
importnumpyasnp
frommatplotlib.backends.qt_compatimportQtWidgets
frommatplotlib.backends.backend_qtaggimport(
    FigureCanvas, NavigationToolbar2QT asNavigationToolbar)
frommatplotlib.figureimportFigure
classApplicationWindow(QtWidgets.QMainWindow):
def__init__(self):
super().__init__()
self._main= QtWidgets.QWidget()
self.setCentralWidget(self._main)
layout= QtWidgets.QVBoxLayout(self._main)
static_canvas= FigureCanvas(Figure(figsize=(5, 3)))
# Ideally one would use self.addToolBar here, but it is slightly
# incompatible between PyQt6 and other bindings, so we just add the
# toolbar as a plain widget instead.
layout.addWidget(NavigationToolbar(static_canvas, self))
layout.addWidget(static_canvas)
dynamic_canvas= FigureCanvas(Figure(figsize=(5, 3)))
layout.addWidget(dynamic_canvas)
layout.addWidget(NavigationToolbar(dynamic_canvas, self))
self._static_ax= static_canvas.figure.subplots()
t= np.linspace(0, 10, 501)
self._static_ax.plot(t, np.tan(t), ".")
self._dynamic_ax= dynamic_canvas.figure.subplots()
t= np.linspace(0, 10, 101)
# Set up a Line2D.
self._line, = self._dynamic_ax.plot(t, np.sin(t+ time.time()))
self._timer= dynamic_canvas.new_timer(50)
self._timer.add_callback(self._update_canvas)
self._timer.start()
def_update_canvas(self):
t= np.linspace(0, 10, 101)
# Shift the sinusoid as a function of time.
self._line.set_data(t, np.sin(t+ time.time()))
self._line.figure.canvas.draw()
deftest_plot():
# Check whether there is already a running QApplication (e.g., if running
# from an IDE).
#qapp = QtWidgets.QApplication.instance()   this stucks QGIS!
#if not qapp:
qapp= QtWidgets.QApplication(sys.argv) # this stucks QGIS main window 
when the dialog's close button is pressed

app= ApplicationWindow()
app.show()
app.activateWindow()
app.raise_()
qapp.exec()
#app.exit()

When using "qapp = QtWidgets.QApplication.instance()", QGIS stucks 
completely and no plot is shown ever.
When using "qapp = QtWidgets.QApplication(sys.argv)", the plot is 
shown and updated correctly. But when pressing the "close button" of 
the plot window, there are some strange effects (cannot start a plugin 
again) and the "close button" of the QGIS main window is disabled. 
Have to shut down qgis-bin.exe from the windows task-manager.

I am using:
QGIS Version 3.24.1 Tisler
matplotlib 3.5.1
Windows 10

Anybody have a solution for this problem?
Thanks a lot.




___
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


--
Johannes Kröger / GIS-Entwickler/-Berater

**
FOSSGIS Konferenz
15.-18. März 2023 in Berlin
https://fossgis-konferenz.de/2023/

WhereGroup-Beiträge auf der FOSSGIS
https://wheregroup.com/unternehmen/aktuelles/
**

WhereGroup GmbH
Grevenweg 89
20537 Hamburg
Germany

Tel: +49 (0)228 / 90 90 38 - 36
Fax: +49 (0)228 / 90 90 38 - 11

johannes.kroe...@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


[Qgis-user] problem with matplotlib in context with QGIS processing plugins

2023-02-14 Thread Manfred Strahlhofer via QGIS-User
Hello!

There is a problem when using "matplotlib.backends" and drawing plots when
called from a QGIS processing plugin. I am using the following test code:
# sample code below draws a canvas with a plot
# however closing this plot canvas crashes the plugin (cannot be restarted)
# and further qgis can't be closed with the X button
# originates from:
https://matplotlib.org/stable/gallery/user_interfaces/embedding_in_qt_sgskip.html#sphx-glr-gallery-user-interfaces-embedding-in-qt-sgskip-py
import sys
import time

import numpy as np

from matplotlib.backends.qt_compat import QtWidgets
from matplotlib.backends.backend_qtagg import (
FigureCanvas, NavigationToolbar2QT as NavigationToolbar)
from matplotlib.figure import Figure


class ApplicationWindow(QtWidgets.QMainWindow):
def __init__(self):
super().__init__()
self._main = QtWidgets.QWidget()
self.setCentralWidget(self._main)
layout = QtWidgets.QVBoxLayout(self._main)

static_canvas = FigureCanvas(Figure(figsize=(5, 3)))
# Ideally one would use self.addToolBar here, but it is slightly
# incompatible between PyQt6 and other bindings, so we just add the
# toolbar as a plain widget instead.
layout.addWidget(NavigationToolbar(static_canvas, self))
layout.addWidget(static_canvas)

dynamic_canvas = FigureCanvas(Figure(figsize=(5, 3)))
layout.addWidget(dynamic_canvas)
layout.addWidget(NavigationToolbar(dynamic_canvas, self))

self._static_ax = static_canvas.figure.subplots()
t = np.linspace(0, 10, 501)
self._static_ax.plot(t, np.tan(t), ".")

self._dynamic_ax = dynamic_canvas.figure.subplots()
t = np.linspace(0, 10, 101)
# Set up a Line2D.
self._line, = self._dynamic_ax.plot(t, np.sin(t + time.time()))
self._timer = dynamic_canvas.new_timer(50)
self._timer.add_callback(self._update_canvas)
self._timer.start()

def _update_canvas(self):
t = np.linspace(0, 10, 101)
# Shift the sinusoid as a function of time.
self._line.set_data(t, np.sin(t + time.time()))
self._line.figure.canvas.draw()


def test_plot():

# Check whether there is already a running QApplication (e.g., if
running
# from an IDE).
#qapp = QtWidgets.QApplication.instance()   this stucks QGIS!
#if not qapp:
qapp = QtWidgets.QApplication(sys.argv) # this stucks QGIS main window
when the dialog's close button is pressed

app = ApplicationWindow()
app.show()
app.activateWindow()
app.raise_()
qapp.exec()
#app.exit()


When using "qapp = QtWidgets.QApplication.instance()", QGIS stucks
completely and no plot is shown ever.
When using "qapp = QtWidgets.QApplication(sys.argv)", the plot is shown and
updated correctly. But when pressing the "close button" of the plot window,
there are some strange effects (cannot start a plugin again) and the "close
button" of the QGIS main window is disabled. Have to shut down qgis-bin.exe
from the windows task-manager.
I am using:
QGIS Version 3.24.1 Tisler
matplotlib 3.5.1
Windows 10

Anybody have a solution for this problem?
Thanks a lot.
___
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] Problem with grid of coordinates

2023-01-27 Thread david cebrian via QGIS-User
Good morning all.

I have recently installed QGIS and have noticed that the grid of coordinates 
within the map composer doesn't work.

Could it be due to some error during installation?

Many thanks for your advice.

Best wishes,

David
___
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] problem with cartographic label placement

2023-01-23 Thread Andrew Harfoot via QGIS-User

Hi Uwe,

I've not attempted to deal with this issue before, but it occurred to me 
that you might be able to use two labelled layers (duplicates) one 
locked to each position, using the labelling priority weighting to apply 
the ranking. the only issue is that in sparse data areas both labels 
might be drawn, so you may need to ensure that there is sufficient 
overlap between the two positions to prevent this.


Cheers,

Andy

On 19/01/2023 13:14, Uwe via QGIS-User wrote:

*CAUTION:* This e-mail originated outside the University of Southampton.

Hello Andreas and list,

I am sure I’m not the first one to encounter the problem described 
below. So I would like to ask again. Maybe someone has an idea?


thanks a lot, the solution from Andreas is working.

But the result is not as desired. I was hoping to be able to define a 
ranking of placement alternatives. That is (in case of ‘B,R‘): place 
all the labels at the bottom and only if there is a conflict (overlap) 
with something else place a label at right.


But what I get is: most oft he labels are placed right, even without 
overlap problems (although I put ‘R‘ at the second place of the list). 
And only a few labels are placed at bottom.


However, the overlap problem is solved.

Is there something I could improve?

Thank you and best regards, Uwe

*Von:* Andreas Neumann 
*Gesendet:* Donnerstag, 12. Januar 2023 22:18
*An:* gisfi...@t-online.de
*Cc:* qgis-user 
*Betreff:* Re: [Qgis-user] problem with cartographic label placement

Hi Uwe,

I just tried it. 'B,BR' worked for me. Just don't use quotes before 
and after the separator.


Greetings,

Andreas

On Thu, 12 Jan 2023 at 22:02, Uwe via QGIS-User 
 wrote:


Hello list,

for cartographic label placement, according to the help docs it
should be possible to define position priorities in a ranking.

But when I open the editor and enter a comma separated list like:

‘B‘ , ‘BR‘

I get an error message. Entering just one value it works. But that
doesn’t make sense because I need at least two values to let the
label move when it collides with a feature.

What can be wrong with my input? I use 3.28.

Thanks a lot for help.

Uwe

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

<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-user=05%7C01%7Cajph%40geodata.soton.ac.uk%7C7525097e62754e2b0c9808dafa1f1616%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638097308670905094%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=f91qzwHtiXrG4jyidtaQkfeK1kD1MKNpZH8SSxZ9ZT8%3D=0>
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-user=05%7C01%7Cajph%40geodata.soton.ac.uk%7C7525097e62754e2b0c9808dafa1f1616%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638097308670915048%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=Wu6%2Fh%2F3mcCLNt4fgXGfqA8uFzAObeRfK%2BR%2FFHldwr3s%3D=0>



--


--
Andreas Neumann

QGIS.ORG 
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fqgis.org%2F=05%7C01%7Cajph%40geodata.soton.ac.uk%7C7525097e62754e2b0c9808dafa1f1616%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638097308670925016%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=FDpGBxJCZtkl2dRxkIhEONOvbZDbW5EsbrQf%2B9AZAvM%3D=0> 
board member (treasurer)



___
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



--
Andy Harfoot

Skype: gdi_ajph
Teams:a...@soton.ac.uk

GeoData Institute
University of Southampton
Southampton
SO17 1BJ

www.geodata.soton.ac.uk
___
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] problem with cartographic label placement

2023-01-19 Thread Uwe via QGIS-User
Hello Andreas and list,

 

I am sure I’m not the first one to encounter the problem described below. So I 
would like to ask again. Maybe someone has an idea?

 

thanks a lot, the solution from Andreas is working.

But the result is not as desired. I was hoping to be able to define a ranking 
of placement alternatives. That is (in case of ‘B,R‘): place all the labels at 
the bottom and only if there is a conflict (overlap) with something else place 
a label at right.

But what I get is: most oft he labels are placed right, even without overlap 
problems (although I put ‘R‘ at the second place of the list). And only a few 
labels are placed at bottom. 

 

However, the overlap problem is solved.

 

Is there something I could improve?

 

Thank you and best regards, Uwe

 

Von: Andreas Neumann  
Gesendet: Donnerstag, 12. Januar 2023 22:18
An: gisfi...@t-online.de
Cc: qgis-user 
Betreff: Re: [Qgis-user] problem with cartographic label placement

 

Hi Uwe,

 

I just tried it. 'B,BR' worked for me. Just don't use quotes before and after 
the separator.

 

Greetings,

Andreas

 

 

On Thu, 12 Jan 2023 at 22:02, Uwe via QGIS-User mailto:qgis-user@lists.osgeo.org> > wrote:

Hello list,

 

for cartographic label placement, according to the help docs it should be 
possible to define position priorities in a ranking.

But when I open the editor and enter a comma separated list like:

 

‘B‘ , ‘BR‘

 

I get an error message. Entering just one value it works. But that doesn’t make 
sense because I need at least two values to let the label move when it collides 
with a feature.

What can be wrong with my input? I use 3.28.

 

Thanks a lot for help.

 

Uwe

___
QGIS-User mailing list
QGIS-User@lists.osgeo.org <mailto:QGIS-User@lists.osgeo.org> 
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user



-- 


--
Andreas Neumann

QGIS.ORG <http://QGIS.ORG>  board member (treasurer)

___
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] problem with cartographic label placement

2023-01-13 Thread Uwe via QGIS-User
Hello Andreas and list,

 

thanks a lot, the solution from Andreas is working.

But the result is not as desired. I was hoping to be able to define a ranking 
of placement alternatives. That is (in case of ‘B,R‘): place all the labels at 
the bottom and only if there is a conflict (overlap) with something else place 
a label at right.

But what I get is: most oft he labels are placed right, even without overlap 
problems (although I put ‘R‘ at the second place of the list). And only a few 
labels are placed at bottom. 

 

However, the overlap problem is solved.

 

Is there something I could improve?

 

Thank you and best regards, Uwe

 

Von: Andreas Neumann  
Gesendet: Donnerstag, 12. Januar 2023 22:18
An: gisfi...@t-online.de
Cc: qgis-user 
Betreff: Re: [Qgis-user] problem with cartographic label placement

 

Hi Uwe,

 

I just tried it. 'B,BR' worked for me. Just don't use quotes before and after 
the separator.

 

Greetings,

Andreas

 

 

On Thu, 12 Jan 2023 at 22:02, Uwe via QGIS-User mailto:qgis-user@lists.osgeo.org> > wrote:

Hello list,

 

for cartographic label placement, according to the help docs it should be 
possible to define position priorities in a ranking.

But when I open the editor and enter a comma separated list like:

 

‘B‘ , ‘BR‘

 

I get an error message. Entering just one value it works. But that doesn’t make 
sense because I need at least two values to let the label move when it collides 
with a feature.

What can be wrong with my input? I use 3.28.

 

Thanks a lot for help.

 

Uwe

___
QGIS-User mailing list
QGIS-User@lists.osgeo.org <mailto:QGIS-User@lists.osgeo.org> 
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user



-- 


--
Andreas Neumann

QGIS.ORG <http://QGIS.ORG>  board member (treasurer)

___
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] problem with cartographic label placement

2023-01-12 Thread Andreas Neumann via QGIS-User
Hi Uwe,

I just tried it. 'B,BR' worked for me. Just don't use quotes before and
after the separator.

Greetings,
Andreas


On Thu, 12 Jan 2023 at 22:02, Uwe via QGIS-User 
wrote:

> Hello list,
>
>
>
> for cartographic label placement, according to the help docs it should be
> possible to define position priorities in a ranking.
>
> But when I open the editor and enter a comma separated list like:
>
>
>
> ‘B‘ , ‘BR‘
>
>
>
> I get an error message. Entering just one value it works. But that doesn’t
> make sense because I need at least two values to let the label move when it
> collides with a feature.
>
> What can be wrong with my input? I use 3.28.
>
>
>
> Thanks a lot for help.
>
>
>
> Uwe
> ___
> 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
>


-- 

--
Andreas Neumann
QGIS.ORG board member (treasurer)
___
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] problem with cartographic label placement

2023-01-12 Thread Uwe via QGIS-User
Hello list,

 

for cartographic label placement, according to the help docs it should be
possible to define position priorities in a ranking.

But when I open the editor and enter a comma separated list like:

 

'B' , 'BR'

 

I get an error message. Entering just one value it works. But that doesn't
make sense because I need at least two values to let the label move when it
collides with a feature.

What can be wrong with my input? I use 3.28.

 

Thanks a lot for help.

 

Uwe

___
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] Problem with "gestore dei layout"

2022-12-05 Thread Luca Manganelli via Qgis-user
Hello,
what was the last version of QGIS that does work? If you install it, you
can see the missing parts of the layout?

-- 





Comune di Trento 

via Belenzani, 19 - 38122 Trento | C.F e P. IVA: 
00355870221

tel. +39 0461.884111 | www.comune.trento.it 
 


___
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] Problem with "gestore dei layout"

2022-12-04 Thread Maifredi GV via Qgis-user
Hallo,
I’ve a problem with layout manager (Gestore dei layout): I’ve preapared the 
layout of mane tables but, after installation of Qgis 3.28.1 Firenze I don’t 
see anymore  all my work.
Also in Madeira or Pisa… despaired!
I’ve saved a file.qpt, but it’s empty and also refreshing all the windows it 
does’n work.
I really don’t know how to resolve.
Many thanks,
Alessandro

___

Dott. Geol. Alessandro Maifredi
Cell. 348 2249589

Studio Associato Maifredi
Via dei Giustiniani 26/1
16123 Genova

Geologia Verticale Studio Associato 
Via Burlando 12/1
16137 Genova


**AVVERTENZE AI SENSI DEL D.LGS. 196/2003**
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i, sono da considerarsi strettamente riservate. Il loro 
utilizzo è consentito esclusivamente al destinatario del messaggio medesimo, 
per le finalità nello stesso indicate. Qualora lo riceveste senza esserne il 
destinatario, Vi preghiamo cortesemente di darcene notizia telefonicamente o 
via e-mail e di procedere alla sua distruzione cancellandolo dal Vostro 
sistema; costituisce comportamento contrario ai principi dettati dal Dlgs. 
196/2003 trattenere il messaggio, divulgarlo anche in parte, distribuirlo ad 
altri soggetti, copiarlo, od utilizzarlo per finalità diverse.
___

___
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] Problem when merging polygon/line features in database tables (PostgreSQL, Geopackage)

2022-12-01 Thread Burghardt Scholle via Qgis-user
Hello together,

in a line/polygon layer I want to merge two adjacent features. The geometries 
are in a PostgreSQL table and / or in a Geopackage table. There exists an 
auto-increment primary key field "id". In the QGIS "Identify feature", the "id" 
field should not be displayed to QGIS users. In the layer properties the 
"Widget Type" is set to "hidden" for this purpose. If I now merge both 
features, the feature is immediately deleted after saving in the PostgreSQL 
table without prompting! However, if I merge the features in the geopackage 
table, the saving fails with the following error message:

Could not commit changes to layer "test_area (gpkg)"

Errors: ERROR: one geometry not changed.
  
  Provider errors:
  OGR error changing geometry: feature 0 not found

If I change the "Widget Type" back to "Range" the merging works fine 
(PostgreSQL + Geopackage). Especially the behavior with PostgreSQL tables is 
not really acceptable. This behavior occurs with QGIS 3.22.12/13 and 3.28.1 (OS 
Version Windows 10 and Ubuntu 20.04). For my tests I used a new QGIS profile.
Before I write a bug report, I would like to ask here if someone has similar 
problems or knows a solution.

Regards
Burghardt

***

STADT WOLFSBURG
REFERAT DATEN, STRATEGIEN, STADTENTWICKLUNG
21-2 Geoinformation und Geodatenanalyse

Tel +49 5361 28-2531 | Fax +49 5361 28-1765
Rathaus E, Zi. E 313 | Porschestraße 47A | D-38440 Wolfsburg
burghardt.scho...@stadt.wolfsburg.de

___
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] problem with modification of vertex

2022-11-30 Thread Maifredi GV via Qgis-user
Dear Andrea, your indication has been really useful!
I had a profile “Ale” (I didn’t remember to have dove it…)… I’ve open the 
profile “default” and now it’s working!
Really thanks!
Alessandro

___

Dott. Geol. Alessandro Maifredi
Cell. 348 2249589

Studio Associato Maifredi
Via dei Giustiniani 26/1
16123 Genova

Geologia Verticale Studio Associato 
Via Burlando 12/1
16137 Genova


**AVVERTENZE AI SENSI DEL D.LGS. 196/2003**
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i, sono da considerarsi strettamente riservate. Il loro 
utilizzo è consentito esclusivamente al destinatario del messaggio medesimo, 
per le finalità nello stesso indicate. Qualora lo riceveste senza esserne il 
destinatario, Vi preghiamo cortesemente di darcene notizia telefonicamente o 
via e-mail e di procedere alla sua distruzione cancellandolo dal Vostro 
sistema; costituisce comportamento contrario ai principi dettati dal Dlgs. 
196/2003 trattenere il messaggio, divulgarlo anche in parte, distribuirlo ad 
altri soggetti, copiarlo, od utilizzarlo per finalità diverse.
___

> Il giorno 30 nov 2022, alle ore 07:34, Andrea Giudiceandrea via Qgis-user 
>  ha scritto:
> 
> Hi Alessandro,
> maybe this is a macOS specific issue. I suggest you to try if the issue still 
> occurs also using a new QGIS user profile [1] and with a new layer in a new 
> project. If not, then the issue is very likely due to some 
> plugin/configuration setting in your current QGIS user profile or due to a 
> particular layer or a particular layer CRS or project CRS.
> 
> Best regards.
> 
> Andrea
> 
> [1] 
> https://docs.qgis.org/3.22/en/docs/user_manual/introduction/qgis_configuration.html#working-with-user-profiles
> ___
> 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] problem with modification of vertex

2022-11-30 Thread Maifredi GV via Qgis-user
Hi Andrea,
 I’ll try and i’ll tell you.
Thanks for the moment,
Alessandro
___

Dott. Geol. Alessandro Maifredi
Cell. 348 2249589

Studio Associato Maifredi
Via dei Giustiniani 26/1
16123 Genova

Geologia Verticale Studio Associato 
Via Burlando 12/1
16137 Genova


**AVVERTENZE AI SENSI DEL D.LGS. 196/2003**
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i, sono da considerarsi strettamente riservate. Il loro 
utilizzo è consentito esclusivamente al destinatario del messaggio medesimo, 
per le finalità nello stesso indicate. Qualora lo riceveste senza esserne il 
destinatario, Vi preghiamo cortesemente di darcene notizia telefonicamente o 
via e-mail e di procedere alla sua distruzione cancellandolo dal Vostro 
sistema; costituisce comportamento contrario ai principi dettati dal Dlgs. 
196/2003 trattenere il messaggio, divulgarlo anche in parte, distribuirlo ad 
altri soggetti, copiarlo, od utilizzarlo per finalità diverse.
___

> Il giorno 30 nov 2022, alle ore 07:34, Andrea Giudiceandrea via Qgis-user 
>  ha scritto:
> 
> Hi Alessandro,
> maybe this is a macOS specific issue. I suggest you to try if the issue still 
> occurs also using a new QGIS user profile [1] and with a new layer in a new 
> project. If not, then the issue is very likely due to some 
> plugin/configuration setting in your current QGIS user profile or due to a 
> particular layer or a particular layer CRS or project CRS.
> 
> Best regards.
> 
> Andrea
> 
> [1] 
> https://docs.qgis.org/3.22/en/docs/user_manual/introduction/qgis_configuration.html#working-with-user-profiles
> ___
> 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] problem with modification of vertex

2022-11-29 Thread Andrea Giudiceandrea via Qgis-user

Hi Alessandro,
maybe this is a macOS specific issue. I suggest you to try if the issue 
still occurs also using a new QGIS user profile [1] and with a new layer 
in a new project. If not, then the issue is very likely due to some 
plugin/configuration setting in your current QGIS user profile or due to 
a particular layer or a particular layer CRS or project CRS.


Best regards.

Andrea

[1] 
https://docs.qgis.org/3.22/en/docs/user_manual/introduction/qgis_configuration.html#working-with-user-profiles

___
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] problem with modification of vertex

2022-11-29 Thread Maifredi GV via Qgis-user
Hallo Andrea,
really thanks,
the problem is than doesn’t appear on my mac the second red circle….so I can’t 
select. Sometimes happen, ut most of the time not!
Thanks again,
Alessandro


___

Dott. Geol. Alessandro Maifredi
Cell. 348 2249589

Studio Associato Maifredi
Via dei Giustiniani 26/1
16123 Genova

Geologia Verticale Studio Associato 
Via Burlando 12/1
16137 Genova


**AVVERTENZE AI SENSI DEL D.LGS. 196/2003**
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i, sono da considerarsi strettamente riservate. Il loro 
utilizzo è consentito esclusivamente al destinatario del messaggio medesimo, 
per le finalità nello stesso indicate. Qualora lo riceveste senza esserne il 
destinatario, Vi preghiamo cortesemente di darcene notizia telefonicamente o 
via e-mail e di procedere alla sua distruzione cancellandolo dal Vostro 
sistema; costituisce comportamento contrario ai principi dettati dal Dlgs. 
196/2003 trattenere il messaggio, divulgarlo anche in parte, distribuirlo ad 
altri soggetti, copiarlo, od utilizzarlo per finalità diverse.
___

> Il giorno 29 nov 2022, alle ore 21:21, Andrea Giudiceandrea via Qgis-user 
>  ha scritto:
> 
>> Maifredi GV
>> Tue Nov 29 09:22:21 PST 2022
>> Most of the time I can’t take the vertex that I want.
>> It’s impossible work like this.
> 
> Hi Alessandro, it seems to me it is really simple to move a vertex.
> You just need to:
> - bring the pointer closer to the vertex, then a second red circle will 
> encircle the vertex you are approaching to
> - if you do a left click, the vertex will be "attached" to the pointer so the 
> vertex will move together with it
> - when the pointer is in a position in which you want to place the vertex, 
> you need to do a left click so the vertex will be "detached" from te pointer 
> and will be placed in such position
> - you have now successfully moved the vertex
> 
>> Also changing the parameters about the diametr of snap 12, 20 pixel or 
>> meters, doesn’t change….
> 
> The snapping tolerance parameter has nothing to do with the vertex editing. 
> You can change the search radius for vertex editing just changing the 
> homonymous option in Settings -> Options -> Map Tools -> Digitizing.
> 
> Best regards.
> 
> Andrea Giudiceandrea
> ___
> 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] problem with modification of vertex

2022-11-29 Thread Andrea Giudiceandrea via Qgis-user

*Maifredi GV*
/Tue Nov 29 09:22:21 PST 2022/

Most of the time I can’t take the vertex that I want.
It’s impossible work like this.


Hi Alessandro, it seems to me it is really simple to move a vertex.
You just need to:
- bring the pointer closer to the vertex, then a second red circle will 
encircle the vertex you are approaching to
- if you do a left click, the vertex will be "attached" to the pointer 
so the vertex will move together with it
- when the pointer is in a position in which you want to place the 
vertex, you need to do a left click so the vertex will be "detached" 
from te pointer and will be placed in such position

- you have now successfully moved the vertex


Also changing the parameters about the diametr of snap 12, 20 pixel or meters, 
doesn’t change….


The snapping tolerance parameter has nothing to do with the vertex 
editing. You can change the search radius for vertex editing just 
changing the homonymous option in Settings -> Options -> Map Tools -> 
Digitizing.


Best regards.

Andrea Giudiceandrea___
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] problem with modification of vertex

2022-11-29 Thread Maifredi GV via Qgis-user
Thank you Andreas.
I tried and sometimes the system works, but is really difficult to pick the 
vertex. Sometimes the segment between two vertex became red and it’s possible 
to move the entire segment and not only a vertex.
Most of the time I can’t take the vertex that I want.
It’s impossible work like this.
Also changing the parameters about the diametr of snap 12, 20 pixel or meters, 
doesn’t change….
Thanks,
Alessandro
___

Dott. Geol. Alessandro Maifredi
Cell. 348 2249589

Studio Associato Maifredi
Via dei Giustiniani 26/1
16123 Genova

Geologia Verticale Studio Associato 
Via Burlando 12/1
16137 Genova


**AVVERTENZE AI SENSI DEL D.LGS. 196/2003**
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i, sono da considerarsi strettamente riservate. Il loro 
utilizzo è consentito esclusivamente al destinatario del messaggio medesimo, 
per le finalità nello stesso indicate. Qualora lo riceveste senza esserne il 
destinatario, Vi preghiamo cortesemente di darcene notizia telefonicamente o 
via e-mail e di procedere alla sua distruzione cancellandolo dal Vostro 
sistema; costituisce comportamento contrario ai principi dettati dal Dlgs. 
196/2003 trattenere il messaggio, divulgarlo anche in parte, distribuirlo ad 
altri soggetti, copiarlo, od utilizzarlo per finalità diverse.
___

> Il giorno 29 nov 2022, alle ore 14:02, Andreas Neumann  
> ha scritto:
> 
> Hi,
> 
> Vertex editing changed between version 2.x and 3.x. You don't drag a vertex 
> anymore in QGIS 3.x. You have to click in order to pick up the vertex then 
> move the mouse and klick again.
> 
> This change was introduced in order to allow for keyboard entries during 
> editing.
> 
> See also 
> https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#vertex-tool
> 
> Greetings,
> 
> Andreas
> 
> On 2022-11-29 13:58, Maifredi GV via Qgis-user wrote:
> 
>> Hallo,
>> I have a problem with modification of vertex in Qgis Firenze 3.28.1 and 
>> older version ( madeira 3.4).
>> With the old Pisa 2.10 it works.
>>  
>> I have a mac book pro with M1 processor and IOS Ventura
>>  
>> The problem is:
>>  
>> I can design poligons, but if I want modify vertex it is impossible.
>>  
>> I can trace a polygon.
>>  
>> When I go on vertex appear a ring blu, but is impossible to pik up the 
>> vertex and drag it.
>>  
>> If I try to modify the snap option like 20, 20 and not 12,0 that is the 
>> default value, it show an error message: Impossibile salvare ' * SR generato 
>> (+proj=merc +lon_0=0 +lat_ts=0 +x_0=0 +y_0=0 +a=6378137 +b=6378137 +units=m 
>> +no_defs)' — questa definizione di stringa Proj è equivalente a ESRI:54004.
>>  
>> Prova invece a modificare la definizione SR in un formato WKT.
>>  
>> For me it is a big bib problem.
>>  
>> On PC the same file works.
>>  
>> Thanks for you help.
>>  
>> Alessandro
>> 
>> ___
>> 
>> Dott. Geol. Alessandro Maifredi
>> Cell. 348 2249589
>> 
>> Studio Associato Maifredi
>> Via dei Giustiniani 26/1
>> 16123 Genova
>> 
>> Geologia Verticale Studio Associato 
>> Via Burlando 12/1
>> 16137 Genova
>> 
>> 
>> **AVVERTENZE AI SENSI DEL D.LGS. 196/2003**
>> Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
>> file/s allegato/i, sono da considerarsi strettamente riservate. Il loro 
>> utilizzo è consentito esclusivamente al destinatario del messaggio medesimo, 
>> per le finalità nello stesso indicate. Qualora lo riceveste senza esserne il 
>> destinatario, Vi preghiamo cortesemente di darcene notizia telefonicamente o 
>> via e-mail e di procedere alla sua distruzione cancellandolo dal Vostro 
>> sistema; costituisce comportamento contrario ai principi dettati dal Dlgs. 
>> 196/2003 trattenere il messaggio, divulgarlo anche in parte, distribuirlo ad 
>> altri soggetti, copiarlo, od utilizzarlo per finalità diverse.
>> ___
>> ___
>> 
>> Dott. Geol. Alessandro Maifredi
>> Cell. 348 2249589
>> 
>> Studio Associato Maifredi
>> Via dei Giustiniani 26/1
>> 16123 Genova
>> 
>> Geologia Verticale Studio Associato 
>> Via Burlando 12/1
>> 16137 Genova
>> 
>> 
>> **AVVERTENZE AI SENSI DEL D.LGS. 196/2003**
>> Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
>> file/s allegato/i, sono da considerarsi strettamente riservate. Il loro 
>> utilizzo è consentito esclusivamente al destinatario del messaggio medesimo, 
>> per le finalità nello stesso indicate. Qualora lo riceveste senza esserne il 
>> destinatario, Vi preghiamo cortesemente di darcene notizia telefonicamente o 
>> via e-mail e di procedere alla sua distruzione cancellandolo dal Vostro 
>> sistema; costituisce comportamento contrario ai principi dettati dal Dlgs. 
>> 196/2003 trattenere il messaggio, divulgarlo anche in parte, distribuirlo ad 
>> altri soggetti, copiarlo, 

Re: [Qgis-user] Problem Noticed with QGIS

2022-11-29 Thread Richard McDonnell via Qgis-user
Andrea,
Thank you for the clarification and the work around!
Regards,

Richard



——
Richard McDonnell MSc GIS, FME Certified Professional
FRM Data Management

——
Oifig na nOibreacha Poiblí
Office of Public Works

Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
Jonathan Swift Street, Trim, Co Meath, C15 NX36
——
M +353 87 688 5964 T +353 46 942 2409
https://gov.ie/opw

——
To send me files larger than 30MB, please use the link below 
https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie

Email Disclaimer: 
https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/

——
MSc GIS, FME Certified Professional

——
Oifig na nOibreacha Poiblí
Office of Public Works

Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
Jonathan Swift Street, Trim, Co Meath, C15 NX36
——
M +353 87 688 5964 T +353 46 942 2409
https://https://gov.ie/opw<https://www.opw.ie>

——
Email Disclaimer: 
https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/<https://www.opw.ie/en/disclaimer/>
From: Qgis-user  On Behalf Of Andrea 
Giudiceandrea via Qgis-user
Sent: 29 November 2022 16:14
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Problem Noticed with QGIS

Richard McDonnell richard.mcdonnell at 
opw.ie<mailto:qgis-user%40lists.osgeo.org?Subject=Re%3A%20%5BQgis-user%5D%20Problem%20Noticed%20with%20QGIS=%3C9708d6dac99943929281a173e54a9e6f%40opw.ie%3E>
Tue Nov 29 07:17:48 PST 2022


1.   If I use the option [Create temporary Layer] it produces a Singlepart 
Geometry as Expected, If I save the output to a File, the resultant geometry is 
stated as Polygon (MultiPolygon) Its the same for Linestrings also.

Hi Richard,
as explained (also by me) in the linked issue report [1], the line (PolyLine) 
and polygon (Polygon) ESRI Shapefile layer types are actually multi-part layer 
types which can store both multi-part geometries with only one part and 
multi-part geometries with more than one part.
Only the point layer type has two different ESRI Shapefile layer types: the 
ESRI Shapefile Point type (which is a single-part type and can store only 
single-part geometries) and the ESRI Shapefile MultiPoint type (which is a 
multi-part type and can store multi-part geometries both with only one part and 
with more than one part).

Please see the ESRI Shapefile Technical Description [2].

If you want to check that a line (PolyLine) and polygon (Polygon) ESRI 
Shapefile layer imported in QGIS contains features with only 1 part, you need 
to check the number of part for each feature, for example using the 
num_geometries function [3] in the field calculator.

Best regards.

Andrea Giudiceandrea

[1] https://github.com/qgis/QGIS/issues/50720
[2] https://www.esri.com/Library/Whitepapers/Pdfs/Shapefile.pdf/
[3] 
https://docs.qgis.org/3.22/en/docs/user_manual/expressions/functions_list.html#num-geometries
___
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] Problem Noticed with QGIS

2022-11-29 Thread Richard Duivenvoorde via Qgis-user

On 2022-11-29 16:17, Richard McDonnell via Qgis-user wrote:

We run the Check Geometries Tool and it flags the data as Geometry
Type Error. So I run the Multipart to Singlepart tool and….well
that's where the problem is…


Which 'Check Geometries Tool'?

What kind of data/file are you 'checking'? Shape file or Geopackage?


1.   If I use the option [Create temporary Layer] it produces a
Singlepart Geometry as Expected, If I save the output to a File, the
resultant geometry is stated as Polygon (MultiPolygon) Its the same
for Linestrings also.


If you say "save data to File": do you mean Geopackage?


Now I did find this.. https://github.com/qgis/QGIS/issues/50720 [1]
which flags the same issues, but states that its down to the Shapefile
Specification.


I read that issues as: there is (for QGIS or other tools), no way to 
write a singlepart line or polygon in a shapefile as the shapefile spec 
would not have a way to write that types in the shapefile.
So when you'll ask a shapefile 'what kind of geoms have you in your 
belly' it could actually not tell, unless it goes over all geoms and 
check what is in it...


Do you have examples of files which are OK?

What kind of tools do you use to check?

What does for example 'ogrinfo' report to you about your 'files'?

Regards,

Richard Duivenvoorde
___
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] Problem Noticed with QGIS

2022-11-29 Thread Andrea Giudiceandrea via Qgis-user
*Richard McDonnell*richard.mcdonnell at opw.ie 


/Tue Nov 29 07:17:48 PST 2022/

1.   If I use the option [Create temporary Layer] it produces a Singlepart 
Geometry as Expected, If I save the output to a File, the resultant geometry is 
stated as Polygon (MultiPolygon) Its the same for Linestrings also.


Hi Richard,
as explained (also by me) in the linked issue report [1], the line 
(PolyLine) and polygon (Polygon) ESRI Shapefile layer types are actually 
multi-part layer types which can store both multi-part geometries with 
only one part and multi-part geometries with more than one part.
Only the point layer type has two different ESRI Shapefile layer types: 
the ESRI Shapefile Point type (which is a single-part type and can store 
only single-part geometries) and the ESRI Shapefile MultiPoint type 
(which is a multi-part type and can store multi-part geometries both 
with only one part and with more than one part).


Please see the ESRI Shapefile Technical Description [2].

If you want to check that a line (PolyLine) and polygon (Polygon) ESRI 
Shapefile layer imported in QGIS contains features with only 1 part, you 
need to check the number of part for each feature, for example using the 
num_geometries function [3] in the field calculator.


Best regards.

Andrea Giudiceandrea

[1] https://github.com/qgis/QGIS/issues/50720
[2] https://www.esri.com/Library/Whitepapers/Pdfs/Shapefile.pdf/
[3] 
https://docs.qgis.org/3.22/en/docs/user_manual/expressions/functions_list.html#num-geometries 
___
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] Problem Noticed with QGIS

2022-11-29 Thread Richard McDonnell via Qgis-user
Hi All,
Im currently running the Following


QGIS version


3.28.1-Firenze


Qt version


5.15.3


Python version


3.9.5


GDAL/OGR version


3.6.0


PROJ version


9.1.0


EPSG Registry database version


v10.074 (2022-08-01)


GEOS version


3.11.1-CAPI-1.17.1


SQLite version


3.39.4


PDAL version


2.4.3


SpatiaLite version


5.0.1


QWT version


6.1.6


QScintilla2 version


2.13.1


OS version


Windows 10







I have the following issue.

As part of our Data verification Processes, we require that our data arrive as 
Singlepart Geometries.
We run the Check Geometries Tool and it flags the data as Geometry Type Error. 
So I run the Multipart to Singlepart tool andwell that's where the problem 
is...

Its two parts...


1.   If I use the option [Create temporary Layer] it produces a Singlepart 
Geometry as Expected, If I save the output to a File, the resultant geometry is 
stated as Polygon (MultiPolygon) Its the same for Linestrings also.



2.   When the New "corrected" layer is passed through the Check Geometries 
Tool, it flags it as a Geometry Type Error, even though I know its fixed, as I 
can validate it in an external tool.

Now I did find this.. https://github.com/qgis/QGIS/issues/50720 which flags the 
same issues, but states that its down to the Shapefile Specification.

Is there a work around for this??

Regards,

Richard



--
Richard McDonnell MSc GIS, FME Certified Professional
FRM Data Management

--
Oifig na nOibreacha Poibl?
Office of Public Works

Sr?id Jonathan Swift, Baile ?tha Troim, Co na M?, C15 NX36
Jonathan Swift Street, Trim, Co Meath, C15 NX36
--
M +353 87 688 5964 T +353 46 942 2409
https://gov.ie/opw

--
To send me files larger than 30MB, please use the link below 
https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie

Email Disclaimer: 
https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/

--
MSc GIS, FME Certified Professional

--
Oifig na nOibreacha Poibl?
Office of Public Works

Sr?id Jonathan Swift, Baile ?tha Troim, Co na M?, C15 NX36
Jonathan Swift Street, Trim, Co Meath, C15 NX36
--
M +353 87 688 5964 T +353 46 942 2409
https://https://gov.ie/opw

--
Email Disclaimer: 
https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/
___
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] problem with modification of vertex

2022-11-29 Thread Andreas Neumann via Qgis-user

Hi,

Vertex editing changed between version 2.x and 3.x. You don't drag a 
vertex anymore in QGIS 3.x. You have to click in order to pick up the 
vertex then move the mouse and klick again.


This change was introduced in order to allow for keyboard entries during 
editing.


See also 
https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#vertex-tool


Greetings,

Andreas

On 2022-11-29 13:58, Maifredi GV via Qgis-user wrote:


Hallo,
I have a problem with modification of vertex in Qgis Firenze 3.28.1 and 
older version ( madeira 3.4).

With the old Pisa 2.10 it works.

I have a mac book pro with M1 processor and IOS Ventura

The problem is:

I can design poligons, but if I want modify vertex it is impossible.

I can trace a polygon.

When I go on vertex appear a ring blu, but is impossible to pik up the 
vertex and drag it.
If I try to modify the snap option like 20, 20 and not 12,0 that is the 
default value, it show an error message: Impossibile salvare ' * SR 
generato (+proj=merc +lon_0=0 +lat_ts=0 +x_0=0 +y_0=0 +a=6378137 
+b=6378137 +units=m +no_defs)' -- questa definizione di stringa Proj è 
equivalente a ESRI:54004.


Prova invece a modificare la definizione SR in un formato WKT.

For me it is a big bib problem.

On PC the same file works.

Thanks for you help.

Alessandro

___

Dott. Geol. Alessandro Maifredi
Cell. 348 2249589

Studio Associato Maifredi
Via dei Giustiniani 26/1
16123 Genova

Geologia Verticale Studio Associato
Via Burlando 12/1
16137 Genova

**AVVERTENZE AI SENSI DEL D.LGS. 196/2003**
Le informazioni contenute in questo messaggio di posta elettronica e/o 
nel/i file/s allegato/i, sono da considerarsi strettamente riservate. 
Il loro utilizzo è consentito esclusivamente al destinatario del 
messaggio medesimo, per le finalità nello stesso indicate. Qualora lo 
riceveste senza esserne il destinatario, Vi preghiamo cortesemente di 
darcene notizia telefonicamente o via e-mail e di procedere alla sua 
distruzione cancellandolo dal Vostro sistema; costituisce comportamento 
contrario ai principi dettati dal Dlgs. 196/2003 trattenere il 
messaggio, divulgarlo anche in parte, distribuirlo ad altri soggetti, 
copiarlo, od utilizzarlo per finalità diverse.

___

___

Dott. Geol. Alessandro Maifredi
Cell. 348 2249589

Studio Associato Maifredi
Via dei Giustiniani 26/1
16123 Genova

Geologia Verticale Studio Associato
Via Burlando 12/1
16137 Genova

**AVVERTENZE AI SENSI DEL D.LGS. 196/2003**
Le informazioni contenute in questo messaggio di posta elettronica e/o 
nel/i file/s allegato/i, sono da considerarsi strettamente riservate. 
Il loro utilizzo è consentito esclusivamente al destinatario del 
messaggio medesimo, per le finalità nello stesso indicate. Qualora lo 
riceveste senza esserne il destinatario, Vi preghiamo cortesemente di 
darcene notizia telefonicamente o via e-mail e di procedere alla sua 
distruzione cancellandolo dal Vostro sistema; costituisce comportamento 
contrario ai principi dettati dal Dlgs. 196/2003 trattenere il 
messaggio, divulgarlo anche in parte, distribuirlo ad altri soggetti, 
copiarlo, od utilizzarlo per finalità diverse.

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


[Qgis-user] problem with modification of vertex

2022-11-29 Thread Maifredi GV via Qgis-user
Hallo,
I have a problem with modification of vertex in Qgis Firenze 3.28.1 and older 
version ( madeira 3.4).
With the old Pisa 2.10 it works.

I have a mac book pro with M1 processor and IOS Ventura

The problem is:

I can design poligons, but if I want modify vertex it is impossible.

I can trace a polygon.

When I go on vertex appear a ring blu, but is impossible to pik up the vertex 
and drag it.

If I try to modify the snap option like 20, 20 and not 12,0 that is the default 
value, it show an error message: Impossibile salvare ' * SR generato 
(+proj=merc +lon_0=0 +lat_ts=0 +x_0=0 +y_0=0 +a=6378137 +b=6378137 +units=m 
+no_defs)' — questa definizione di stringa Proj è equivalente a ESRI:54004.

Prova invece a modificare la definizione SR in un formato WKT.

For me it is a big bib problem.

On PC the same file works.

Thanks for you help.

Alessandro

___

Dott. Geol. Alessandro Maifredi
Cell. 348 2249589

Studio Associato Maifredi
Via dei Giustiniani 26/1
16123 Genova

Geologia Verticale Studio Associato 
Via Burlando 12/1
16137 Genova


**AVVERTENZE AI SENSI DEL D.LGS. 196/2003**
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i, sono da considerarsi strettamente riservate. Il loro 
utilizzo è consentito esclusivamente al destinatario del messaggio medesimo, 
per le finalità nello stesso indicate. Qualora lo riceveste senza esserne il 
destinatario, Vi preghiamo cortesemente di darcene notizia telefonicamente o 
via e-mail e di procedere alla sua distruzione cancellandolo dal Vostro 
sistema; costituisce comportamento contrario ai principi dettati dal Dlgs. 
196/2003 trattenere il messaggio, divulgarlo anche in parte, distribuirlo ad 
altri soggetti, copiarlo, od utilizzarlo per finalità diverse.
___
___

Dott. Geol. Alessandro Maifredi
Cell. 348 2249589

Studio Associato Maifredi
Via dei Giustiniani 26/1
16123 Genova

Geologia Verticale Studio Associato 
Via Burlando 12/1
16137 Genova


**AVVERTENZE AI SENSI DEL D.LGS. 196/2003**
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i, sono da considerarsi strettamente riservate. Il loro 
utilizzo è consentito esclusivamente al destinatario del messaggio medesimo, 
per le finalità nello stesso indicate. Qualora lo riceveste senza esserne il 
destinatario, Vi preghiamo cortesemente di darcene notizia telefonicamente o 
via e-mail e di procedere alla sua distruzione cancellandolo dal Vostro 
sistema; costituisce comportamento contrario ai principi dettati dal Dlgs. 
196/2003 trattenere il messaggio, divulgarlo anche in parte, distribuirlo ad 
altri soggetti, copiarlo, od utilizzarlo per finalità diverse.
___

___
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] Problem with source of data panel in vers. 3.28 "Firenze" on MX Debian

2022-11-22 Thread Angel L. Fernandez T. via Qgis-user
Hi all, I need some help. In several times, I'm trying to create a new WMS
source of data, and when I try to conclude with the "Done" button, all
panels freeze. The only way I found to get out from this is closing both
the source panel and qgis application. When I return to qgis, the new wms
source exists.
Is there a bug?

-- 

*Angel L. Fernández Torres *
*Cel: +56 9 4215 5820 (WhatsApp,IMO)*
___
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] Problem display overlapping lines

2022-11-11 Thread Nicolas Cadieux via Qgis-user
Some interesting solution found in pgadmin 

https://gis.stackexchange.com/questions/261654/automatic-bus-route-map-without-overlaps

Nicolas Cadieux
https://gitlab.com/njacadieux

> Le 11 nov. 2022 à 09:13, Nicolas Cadieux  a 
> écrit :
> 
> Hi,
> 
> I am not aware of a function or of a plugin that does that. I would start by 
> googling.  A quick Google search has shown me this python solution. 
> https://gis.stackexchange.com/questions/239129/shifting-display-of-overlapping-lines-in-qgis
> 
> It was created for an earlier version of QGIS with another version of Python. 
> If would need to be adapted.  If this is for a small project (but to big to 
> do by hand) you could always just install a QGIS 2.XX version of QGIS in a 
> virtual machine to see if it works.
> 
> Then, you could ask help to adapt if to QGIS 3x.  Maybe there is a plugin 
> that already does this.
> 
> Nicolas Cadieux
> https://gitlab.com/njacadieux
> 
>>> Le 11 nov. 2022 à 06:45, Bombonato Antonio Maria 
>>>  a écrit :
>>> 
>> 
>> Thanks Nicolas.
>> Unfortunately, the problem is not to identify the overlapping lines.
>> I already have a shapefile that identifies the sections with multiple 
>> overlapping lines. In this shapefile, for each segment with overlaps, I have 
>> the indication of how many overlapping lines there are (at most 3).
>> The real problem is to draw the lines without overlappings.
>> Any suggestion will be appreciated.
>>  
>> 
>> Antonio Maria Bombonato
>> Software Developer
>> Business Unit Ultra Broadband
>> 
>> Italtel S.p.A.
>> Via Caldera, 21 
>> 20153 Milano MI – Italy
>> email: antoniomaria.bombon...@italtel.com
>> P: +39 024388388
>> www.italtel.com
>>  
>>  
>>  
>> Da: Nicolas Cadieux  
>> Inviato: martedì 8 novembre 2022 18:40
>> A: Bombonato Antonio Maria ; 
>> qgis-user@lists.osgeo.org
>> Oggetto: Re: [Qgis-user] Problem display overlapping lines
>>  
>> Hi,
>> 
>> It would be nice to have this QGIS.  My first reaction is to use line offset 
>> but the end result is not predictable. You may need to work with Python to 
>> do this.  You could also probably create a model. 
>> 
>> If you need to identify the overlapping segments, you can use my Fix 
>> Directional Network model 1 to 3.  You can download this on the plugin page. 
>> https://plugins.qgis.org/models/?order_by=-upload_date&_gallery=true
>> 
>> The first model will check the Geometries.  Test with all default values.  
>> After running this model, run the second model.  It should identify all 
>> partially overlapping lines.  This layer will be called "Potential Problem 
>> || Overlapping lines." You can open the second model and look at the "Find 
>> overlapping lines" algorithm to see how it's done.   It should find any 
>> overlapping or partially overlapping lines.
>> 
>> This video should help you figure things out. https://youtu.be/v61PafSByvM
>> 
>> It's not a total solution but it's at least a start!
>> 
>> Nicolas Cadieux
>> 
>>  
>> 
>> Le 2022-11-03 à 3:12 p.m., Bombonato Antonio Maria via Qgis-user a écrit :
>> Hello,
>> First of all, sorry for my english.
>> My name is Antonio Bombonato and it is the first time I ask a question to 
>> this mailing list.
>>  
>> I have a shapefile with multiple routes (each one is identified by an 
>> univoque OBJECT_ID) and some are partially overlapped (i.e they share the 
>> same segment). I need to display these routes so they are all visible and 
>> without overlapping.
>>  
>> i tryed using line offset but some line still remains overlapped.
>> Any idea to solve the problem, possibly using a python script, will be 
>> appreciated.
>>  
>> Attached the starting shapefile (cables) and the desired result I want to 
>> obtain (target).
>> In this case the shapefile target was created manually moving the vertices 
>> of each line.
>>  
>> P.S. I use 3.16.7-Hannover QGIS version
>>  
>> Best regards,
>> Antonio
>>  
>> 
>> Antonio Maria Bombonato
>> Software Developer
>> Business Unit Ultra Broadband
>> 
>> Italtel S.p.A.
>> Via Caldera, 21 
>> 20153 Milano MI – Italy
>> email: antoniomaria.bombon...@italtel.com
>> P: +39 024388388
>> www.italtel.com
>>  
>>  
>>  
>> 
>> 
>> ___
>> 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] Problem display overlapping lines

2022-11-11 Thread Nicolas Cadieux via Qgis-user
Hi,

I am not aware of a function or of a plugin that does that. I would start by 
googling.  A quick Google search has shown me this python solution. 
https://gis.stackexchange.com/questions/239129/shifting-display-of-overlapping-lines-in-qgis

It was created for an earlier version of QGIS with another version of Python. 
If would need to be adapted.  If this is for a small project (but to big to do 
by hand) you could always just install a QGIS 2.XX version of QGIS in a virtual 
machine to see if it works.

Then, you could ask help to adapt if to QGIS 3x.  Maybe there is a plugin that 
already does this.

Nicolas Cadieux
https://gitlab.com/njacadieux

> Le 11 nov. 2022 à 06:45, Bombonato Antonio Maria 
>  a écrit :
> 
> 
> Thanks Nicolas.
> Unfortunately, the problem is not to identify the overlapping lines.
> I already have a shapefile that identifies the sections with multiple 
> overlapping lines. In this shapefile, for each segment with overlaps, I have 
> the indication of how many overlapping lines there are (at most 3).
> The real problem is to draw the lines without overlappings.
> Any suggestion will be appreciated.
>  
> 
> Antonio Maria Bombonato
> Software Developer
> Business Unit Ultra Broadband
> 
> Italtel S.p.A.
> Via Caldera, 21 
> 20153 Milano MI – Italy
> email: antoniomaria.bombon...@italtel.com
> P: +39 024388388
> www.italtel.com
>  
>  
>  
> Da: Nicolas Cadieux  
> Inviato: martedì 8 novembre 2022 18:40
> A: Bombonato Antonio Maria ; 
> qgis-user@lists.osgeo.org
> Oggetto: Re: [Qgis-user] Problem display overlapping lines
>  
> Hi,
> 
> It would be nice to have this QGIS.  My first reaction is to use line offset 
> but the end result is not predictable. You may need to work with Python to do 
> this.  You could also probably create a model. 
> 
> If you need to identify the overlapping segments, you can use my Fix 
> Directional Network model 1 to 3.  You can download this on the plugin page. 
> https://plugins.qgis.org/models/?order_by=-upload_date&_gallery=true
> 
> The first model will check the Geometries.  Test with all default values.  
> After running this model, run the second model.  It should identify all 
> partially overlapping lines.  This layer will be called "Potential Problem || 
> Overlapping lines." You can open the second model and look at the "Find 
> overlapping lines" algorithm to see how it's done.   It should find any 
> overlapping or partially overlapping lines.
> 
> This video should help you figure things out. https://youtu.be/v61PafSByvM
> 
> It's not a total solution but it's at least a start!
> 
> Nicolas Cadieux
> 
>  
> 
> Le 2022-11-03 à 3:12 p.m., Bombonato Antonio Maria via Qgis-user a écrit :
> Hello,
> First of all, sorry for my english.
> My name is Antonio Bombonato and it is the first time I ask a question to 
> this mailing list.
>  
> I have a shapefile with multiple routes (each one is identified by an 
> univoque OBJECT_ID) and some are partially overlapped (i.e they share the 
> same segment). I need to display these routes so they are all visible and 
> without overlapping.
>  
> i tryed using line offset but some line still remains overlapped.
> Any idea to solve the problem, possibly using a python script, will be 
> appreciated.
>  
> Attached the starting shapefile (cables) and the desired result I want to 
> obtain (target).
> In this case the shapefile target was created manually moving the vertices of 
> each line.
>  
> P.S. I use 3.16.7-Hannover QGIS version
>  
> Best regards,
> Antonio
>  
> 
> Antonio Maria Bombonato
> Software Developer
> Business Unit Ultra Broadband
> 
> Italtel S.p.A.
> Via Caldera, 21 
> 20153 Milano MI – Italy
> email: antoniomaria.bombon...@italtel.com
> P: +39 024388388
> www.italtel.com
>  
>  
>  
> 
> 
> ___
> 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] Problem display overlapping lines

2022-11-08 Thread Nicolas Cadieux via Qgis-user

Hi,

It would be nice to have this QGIS.  My first reaction is to use line 
offset but the end result is not predictable. You may need to work with 
Python to do this.  You could also probably create a model.


If you need to identify the overlapping segments, you can use my Fix 
Directional Network model 1 to 3.  You can download this on the plugin 
page. 
https://plugins.qgis.org/models/?order_by=-upload_date&_gallery=true


The first model will check the Geometries.  Test with all default 
values.  After running this model, run the second model.  It should 
identify all partially overlapping lines.  This layer will be called 
"Potential Problem || Overlapping lines." You can open the second model 
and look at the "Find overlapping lines" algorithm to see how it's 
done.   It should find any overlapping or partially overlapping lines.


This video should help you figure things out. https://youtu.be/v61PafSByvM

It's not a total solution but it's at least a start!

Nicolas Cadieux


Le 2022-11-03 à 3:12 p.m., Bombonato Antonio Maria via Qgis-user a écrit :


Hello,

First of all, sorry for my english.

My name is Antonio Bombonato and it is the first time I ask a question 
to this mailing list.


I have a shapefile with multiple routes (each one is identified by an 
univoque OBJECT_ID) and some are partially overlapped (i.e they share 
the same segment). I need to display these routes so they are all 
visible and without overlapping.


i tryed using line offset but some line still remains overlapped.

Any idea to solve the problem, possibly using a python script, will be 
appreciated.


Attached the starting shapefile (cables) and the desired result I want 
to obtain (target).


In this case the shapefile target was created manually moving the 
vertices of each line.


P.S. I use 3.16.7-Hannover QGIS version

Best regards,

Antonio



*Antonio Maria Bombonato*

Software Developer
Business Unit Ultra Broadband

*Italtel S.p.A.*

Via Caldera, 21
20153 Milano MI – Italy

email: _antoniomaria.bombon...@italtel.com 
_


P: +39 024388388

www.italtel.com 


___
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


[Qgis-user] Problem display overlapping lines

2022-11-03 Thread Bombonato Antonio Maria via Qgis-user
Hello,
First of all, sorry for my english.
My name is Antonio Bombonato and it is the first time I ask a question to this 
mailing list.

I have a shapefile with multiple routes (each one is identified by an univoque 
OBJECT_ID) and some are partially overlapped (i.e they share the same segment). 
I need to display these routes so they are all visible and without overlapping.

i tryed using line offset but some line still remains overlapped.
Any idea to solve the problem, possibly using a python script, will be 
appreciated.

Attached the starting shapefile (cables) and the desired result I want to 
obtain (target).
In this case the shapefile target was created manually moving the vertices of 
each line.

P.S. I use 3.16.7-Hannover QGIS version

Best regards,
Antonio

[cid:image001.png@01D8EFC0.90480D30]
Antonio Maria Bombonato
Software Developer
Business Unit Ultra Broadband

Italtel S.p.A.
Via Caldera, 21
20153 Milano MI - Italy
email: 
antoniomaria.bombon...@italtel.com
P: +39 024388388
www.italtel.com



<>
___
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] problem

2022-10-06 Thread Jürgen E . Fischer via Qgis-user
Hi Nilo,

On Thu, 06. Oct 2022 at 13:53:50 -0300, Nilo Cesar Coelho via Qgis-user wrote:
> How to solve this problem?
> 
> []

Did you verify that your download is correct?  There's checksum next to it.

cmd> curl -L https://download.qgis.org/downloads/QGIS-OSGeo4W-3.26.3-1.sha256sum
cabacaf3fc159c0324a3c0414e12b9600644d2b373149a80c88fab3bd88f983c 
*QGIS-OSGeo4W-3.26.3-1.msi
cmd> certutil -hashfile QGIS-OSGeo4W-3.26.3-1.msi SHA256
SHA256-Hash von QGIS-OSGeo4W-3.26.3-1.msi:
cabacaf3fc159c0324a3c0414e12b9600644d2b373149a80c88fab3bd88f983c
CertUtil: -hashfile-Befehl wurde erfolgreich ausgeführt.


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 Nordenhttps://www.norbit.de
QGIS release manager (PSC)  Germany IRC: jef on Libera|OFTC


signature.asc
Description: PGP signature
___
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] Problem reading QGIS menus or tool tips in Ubuntu MATE

2022-08-30 Thread Herman Felderhof via Qgis-user
Hello Richard,

So I went into 'Settings', 'Options', 'General Tab', 'Application',
'Style', and switched the spinbox there from 'Fusion' to 'gtk2', and
restarted QGIS.

Everything seems okay now and I can get back to work again as normal.

Thanks very much for your help.

All the best and regards from Herman Felderhof
___
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] Problem reading QGIS menus or tool tips in Ubuntu MATE

2022-08-26 Thread Richard Duivenvoorde via Qgis-user

QGIS, in the end, delegates the creation of Tooltips and Menu's to the 
Qt-Toolkit.

The Qt-Toolkit then has different implementations to actually draw those, 
depending on your Operating System.

I'm not familiar with Ubuntu MATE, but maybe it's not fully supported by Qt? In 
other Linux distro's there are often different themes/window managers to choose 
from, would that help?

Ubuntu to me is well known as "the company who tries to know better... and give up 
after some time"...

Is there a special reason to NOT use Gnome as desktop? I'm in favour of 
diversity, but I think as we (as linux users) are already a minority, we should 
try to focus/support on not too many flavours.
( I'm OK with KDE/Kubuntu too :-) )

Sorry to be not more helpfull, maybe other MATE users have an idea?

Regards,

Richard Duivenvoorde

PS, googling how MATE differs from Gnome I found: 
https://itsfoss.com/which-ubuntu-install/
It's based on (OLD!!) gnome2... Please give the new Gnome a try, it's my daily 
driver for years now, and I'm very happy with it

On 8/26/22 01:27, Herman Felderhof via Qgis-user wrote:

Background: I have recently upgraded from Ubuntu 20.04 LTS (Focal), to Ubuntu 
22.04 (Jammy). QGIS was upgraded at the same time to 3.22 LTR Białowieża. I 
think I may have had 3.16 LTR Hannover before that but I'm not certain.

The Problem: I can only read either the drop down menus in QGIS or the tool 
tips, it doesn't matter if I choose a light to a dark theme in Ubuntu MATE 
22.04. When I switch to a dark theme the menus are okay and I can read them, 
they have light text on a dark background, but when I hover over an icon the 
tool tips have light text on a light background and are therefore illegible. 
The opposite problem occurs whenever I switch to a light theme.

What I have tried: Opening other applications to see if it's only QGIS, and no 
other applications seem to have this problem. I have tried changing to several 
different themes in Ubuntu MATE, opening and closing QGIS after resetting the 
theme, rebooting, trying in a different computer, looking to see if I can find 
any settings to fix the problem, upgrading QGIS from 3.22 LTR Białowieża to 
3.26 Buenos Aires, searching web forums in case somebody else has the same 
problem and a solution is already known.

My questions: Are there any settings available to users that I can use to fix 
this problem? Or is this a bug and outside the scope of ordinary users 
control?I am not afraid of using the command line or editing files if 
necessary, especially if I have clear instructions.

Thanks for any help or even just comments.

___
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


[Qgis-user] Problem reading QGIS menus or tool tips in Ubuntu MATE

2022-08-25 Thread Herman Felderhof via Qgis-user
Background: I have recently upgraded from Ubuntu 20.04 LTS (Focal), to
Ubuntu 22.04 (Jammy). QGIS was upgraded at the same time to 3.22 LTR
Białowieża. I think I may have had 3.16 LTR Hannover before that but I'm
not certain.

The Problem: I can only read either the drop down menus in QGIS or the tool
tips, it doesn't matter if I choose a light to a dark theme in Ubuntu MATE
22.04. When I switch to a dark theme the menus are okay and I can read
them, they have light text on a dark background, but when I hover over an
icon the tool tips have light text on a light background and are therefore
illegible. The opposite problem occurs whenever I switch to a light theme.

What I have tried: Opening other applications to see if it's only QGIS, and
no other applications seem to have this problem. I have tried changing to
several different themes in Ubuntu MATE, opening and closing QGIS after
resetting the theme, rebooting, trying in a different computer, looking to
see if I can find any settings to fix the problem, upgrading QGIS from 3.22
LTR Białowieża to 3.26 Buenos Aires, searching web forums in case somebody
else has the same problem and a solution is already known.

My questions: Are there any settings available to users that I can use to
fix this problem? Or is this a bug and outside the scope of ordinary users
control?I am not afraid of using the command line or editing files if
necessary, especially if I have clear instructions.

Thanks for any help or even just comments.
___
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] Problem merging 30-m SRTM tiles in QGIS 3.24.3 for MacOS 10.14.6

2022-05-20 Thread Thayer Young via Qgis-user
 Excellent. Happy analyzing. 
-T
On Friday, May 20, 2022, 02:38:34 PM EDT, Walter Alvarez 
 wrote:  
 
 Thank you, Thayer!  That indeed was part of the problem, but I believe another 
problem was that the files were saved in iCloud.  When I took them out of 
iCloud and looked for the hidden Tools window, the DEMs merged properly!  I 
greatly appreciate your help!
Walter


On May 20, 2022, at 6:01 AM, Thayer Young  wrote:
 Hi Walter,
Sometimes after entering parameters the tool window drops behind the main QGIS 
window. Try either moving the QGIS window out of the way or right click the 
QGIS icon in the Dock and select "Show All Windows" and see if you can find it 
again. Hope this helps.

-Thayer

On Friday, May 20, 2022, 06:35:24 AM EDT, qgis-user-requ...@lists.osgeo.org 
 wrote: 
--
Date: Thu, 19 May 2022 14:30:39 -0700
From: Walter Alvarez 
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Problem merging 30-m SRTM tiles in QGIS 3.24.3
    for MacOS 10.14.6
Message-ID: <1855f019-f0cc-4329-9caa-6667a862b...@berkeley.edu>
Content-Type: text/plain; charset="utf-8"

I?m trying to merge either two or twelve 30-m SRTM tiles using QGIS 3.14.3.  In 
either case (2 or 12) I am stopped by the following problem:
Using Raster > Miscellaneous > Merge?
I get the ?Merge" window.  I try to use Input layers > Elements selected > ??"
That takes me to the "Multiple Selection" window, showing the 2 or 12 files I 
want to merge (filenames:  nXXeXXX_1arc_v3 [EPSG:4326]).
After selecting all the files, when I click ?OK?  the "Multiple Selection 
Window? and the ?Merge? window both disappear, and I cannot figure out what to 
do next, or do differently.
I can?t figure out how to get past this problem and merge my tiles.
Thanks for any help you can offer!

Walter
__
Walter Alvarez
Professor of the Graduate School
Department of Earth and Planetary Science
University of California Berkeley


  


__


Walter AlvarezProfessor of the Graduate School
Department of Earth and Planetary Science
University of California Berkeley



  ___
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] Problem merging 30-m SRTM tiles in QGIS 3.24.3 for MacOS 10.14.6

2022-05-20 Thread Fielding, Eric J (US 329A) via Qgis-user
Hi Walter, 

I think the problem was that your iCloud folder or some other directory on the 
path to the files had a space in the name. Many of the QGIS functions don't 
work correctly if there is a space in any name any part of the file path.

++Eric 
-- 
Eric Fielding

eric.j.field...@jpl.nasa.gov
http://science.jpl.nasa.gov/people/Fielding/
Twitter: @EricFielding

> From: Walter Alvarez 
> Thank you, Thayer!  That indeed was part of the problem, but I believe 
> another problem was that the files were 
> saved in iCloud.  When I took them 
> out of iCloud and looked for the hidden Tools window, the DEMs merged 
> >properly!  I greatly appreciate your help!

> Walter

> On May 20, 2022, at 6:01 AM, Thayer Young 
>  wrote:
> 
> Hi Walter,
> 
> Sometimes after entering parameters the tool window drops behind the main 
> QGIS window. Try either moving the QGIS window out of the way or right click 
> the QGIS icon in the Dock and select "Show All Windows" and see if you can 
> find it again. Hope this helps.
> 
> -Thayer
> 
> On Friday, May 20, 2022, 06:35:24 AM EDT, 
> https://lists.osgeo.org/mailman/listinfo/qgis-user 
>  wrote:
> --
> Date: Thu, 19 May 2022 14:30:39 -0700
> From: Walter Alvarez 
> 
> I?m trying to merge either two or twelve 30-m SRTM tiles using QGIS 3.14.3.  
> In either case (2 or 12) I am stopped by the following problem:
> Using Raster > Miscellaneous > Merge?
> I get the ?Merge" window.  I try to use Input layers > Elements selected > ??"
> That takes me to the "Multiple Selection" window, showing the 2 or 12 files I 
> want to merge (filenames:  nXXeXXX_1arc_v3 [EPSG:4326]).
> After selecting all the files, when I click ?OK?  the "Multiple Selection 
> Window? and the ?Merge? window both disappear, and I cannot figure out what 
> to do next, or do differently.
> I can?t figure out how to get past this problem and merge my tiles.
> Thanks for any help you can offer!
> 



___
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] Problem merging 30-m SRTM tiles in QGIS 3.24.3 for MacOS 10.14.6

2022-05-20 Thread Walter Alvarez via Qgis-user
Thank you for your responses, Wouter and Richard!

It seems there were two problems.  First the DEM TIFFs were stored in iCloud, 
and second, the tools window was hidden under the main window.  Yiur 
suggestions may also help, but now the merge works.

I really appreciate you both taking the time to help!

Sincerely,

Walter

> On May 20, 2022, at 3:34 AM, Richard McDonnell via Qgis-user 
>  wrote:
> 
> Hi Walter,
> As an alternative to Wouter’s suggestion, I would recommend VRT’s (Raster è 
> Miscellaneous è Build Virtual Raster) Not alone does it merge/mosaic but it 
> also results in a small file size. It is also very easy to generate convert 
> that VRT to any other format output, using gdal_translate (Raster è 
> Conversion è Translate)
> I hope this helps,
> Kind Regards,
>  
> Richard
>  
> 
> ——
> Richard McDonnell MSc GIS, FME Certified Professional
> FRM Data Management
> 
> ——
> Oifig na nOibreacha Poiblí
> Office of Public Works
> 
> Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36 
> Jonathan Swift Street, Trim, Co Meath, C15 NX36
> ——
> M +353 87 688 5964 T +353 46 942 2409
> https://gov.ie/opw <https://gov.ie/opw>
> 
> ——
> To send me files larger than 30MB, please use the link below 
> https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie 
> <https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie>
> 
> Email Disclaimer: 
> https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/ 
> <https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/>
> 
> ——
> MSc GIS, FME Certified Professional
> 
> ——
> Oifig na nOibreacha Poiblí
> Office of Public Works
> 
> Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36 
> Jonathan Swift Street, Trim, Co Meath, C15 NX36
> ——
> M +353 87 688 5964 T +353 46 942 2409
> https://www.opw.ie <https://www.opw.ie/>
> 
> ——
> Email Disclaimer: https://www.opw.ie/en/disclaimer/ 
> <https://www.opw.ie/en/disclaimer/>
> From: Qgis-user  <mailto:qgis-user-boun...@lists.osgeo.org>> On Behalf Of Wouter Impens via 
> Qgis-user
> Sent: 20 May 2022 11:04
> To: qgis-user mailto:qgis-user@lists.osgeo.org>>
> Subject: Re: [Qgis-user] Problem merging 30-m SRTM tiles in QGIS 3.24.3 for 
> MacOS 10.14.6
>  
> Hi Walter, 
>  
> I'm having good results using the 'r.patch' tool from GRASS for merging 
> rasters. 
>  
> Hope this helps
>  
> Greetings
> Wouter
>  
> Op do 19 mei 2022 om 23:31 schreef Walter Alvarez via Qgis-user 
> mailto:qgis-user@lists.osgeo.org>>:
>  
> I’m trying to merge either two or twelve 30-m SRTM tiles using QGIS 3.14.3.  
> In either case (2 or 12) I am stopped by the following problem:
>  
> Using Raster > Miscellaneous > Merge…
>  
> I get the “Merge" window.   I try to use Input layers > Elements selected > 
> “…"
>  
> That takes me to the "Multiple Selection" window, showing the 2 or 12 files I 
> want to merge (filenames:   nXXeXXX_1arc_v3 [EPSG:4326]).
>  
> After selecting all the files, when I click “OK”   the "Multiple Selection 
> Window” and the “Merge” window both disappear, and I cannot figure out what 
> to do next, or do differently.
>  
> I can’t figure out how to get past this problem and merge my tiles.
>  
> Thanks for any help you can offer!
>  
> Walter
> 
> __
> 
> 
> Walter Alvarez
> Professor of the Graduate School
> Department of Earth and Planetary Science
> University of California Berkeley
> 
> 
>  
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org <mailto:Qgis-user@lists.osgeo.org>
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user 
> <https://lists.osgeo.org/mailman/listinfo/qgis-user>
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user 
> <https://lists.osgeo.org/mailman/listinfo/qgis-user>___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org <mailto:Qgis-user@lists.osgeo.org>
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user 
> <https://lists.osgeo.org/mailman/listinfo/qgis-user>
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user 
> <https://lists.osgeo.org/mailman/listinfo/qgis-user>

__


Walter Alvarez
Professor of the Graduate School
Department of Earth and Planetary Science
University of California Berkeley



___
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] Problem merging 30-m SRTM tiles in QGIS 3.24.3 for MacOS 10.14.6

2022-05-20 Thread Walter Alvarez via Qgis-user
Thank you, Thayer!  That indeed was part of the problem, but I believe another 
problem was that the files were saved in iCloud.  When I took them out of 
iCloud and looked for the hidden Tools window, the DEMs merged properly!  I 
greatly appreciate your help!

Walter

> On May 20, 2022, at 6:01 AM, Thayer Young  wrote:
> 
> Hi Walter,
> 
> Sometimes after entering parameters the tool window drops behind the main 
> QGIS window. Try either moving the QGIS window out of the way or right click 
> the QGIS icon in the Dock and select "Show All Windows" and see if you can 
> find it again. Hope this helps.
> 
> -Thayer
> 
> On Friday, May 20, 2022, 06:35:24 AM EDT, qgis-user-requ...@lists.osgeo.org 
>  wrote:
> --
> Date: Thu, 19 May 2022 14:30:39 -0700
> From: Walter Alvarez mailto:plate...@berkeley.edu>>
> To: qgis-user@lists.osgeo.org <mailto:qgis-user@lists.osgeo.org>
> Subject: [Qgis-user] Problem merging 30-m SRTM tiles in QGIS 3.24.3
> for MacOS 10.14.6
> Message-ID: <1855f019-f0cc-4329-9caa-6667a862b...@berkeley.edu 
> <mailto:1855f019-f0cc-4329-9caa-6667a862b...@berkeley.edu>>
> Content-Type: text/plain; charset="utf-8"
> 
> I?m trying to merge either two or twelve 30-m SRTM tiles using QGIS 3.14.3.  
> In either case (2 or 12) I am stopped by the following problem:
> Using Raster > Miscellaneous > Merge?
> I get the ?Merge" window.  I try to use Input layers > Elements selected > ??"
> That takes me to the "Multiple Selection" window, showing the 2 or 12 files I 
> want to merge (filenames:  nXXeXXX_1arc_v3 [EPSG:4326]).
> After selecting all the files, when I click ?OK?  the "Multiple Selection 
> Window? and the ?Merge? window both disappear, and I cannot figure out what 
> to do next, or do differently.
> I can?t figure out how to get past this problem and merge my tiles.
> Thanks for any help you can offer!
> 
> Walter
> __
> Walter Alvarez
> Professor of the Graduate School
> Department of Earth and Planetary Science
> University of California Berkeley
> 
> 


__


Walter Alvarez
Professor of the Graduate School
Department of Earth and Planetary Science
University of California Berkeley



___
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] Problem merging 30-m SRTM tiles in QGIS 3.24.3 for MacOS 10.14.6

2022-05-20 Thread Thayer Young via Qgis-user
 Hi Walter,
Sometimes after entering parameters the tool window drops behind the main QGIS 
window. Try either moving the QGIS window out of the way or right click the 
QGIS icon in the Dock and select "Show All Windows" and see if you can find it 
again. Hope this helps.

-Thayer

On Friday, May 20, 2022, 06:35:24 AM EDT, qgis-user-requ...@lists.osgeo.org 
 wrote: 
--
Date: Thu, 19 May 2022 14:30:39 -0700
From: Walter Alvarez 
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Problem merging 30-m SRTM tiles in QGIS 3.24.3
    for MacOS 10.14.6
Message-ID: <1855f019-f0cc-4329-9caa-6667a862b...@berkeley.edu>
Content-Type: text/plain; charset="utf-8"

I?m trying to merge either two or twelve 30-m SRTM tiles using QGIS 3.14.3.  In 
either case (2 or 12) I am stopped by the following problem:
Using Raster > Miscellaneous > Merge?
I get the ?Merge" window.  I try to use Input layers > Elements selected > ??"
That takes me to the "Multiple Selection" window, showing the 2 or 12 files I 
want to merge (filenames:  nXXeXXX_1arc_v3 [EPSG:4326]).
After selecting all the files, when I click ?OK?  the "Multiple Selection 
Window? and the ?Merge? window both disappear, and I cannot figure out what to 
do next, or do differently.
I can?t figure out how to get past this problem and merge my tiles.
Thanks for any help you can offer!

Walter
__
Walter Alvarez
Professor of the Graduate School
Department of Earth and Planetary Science
University of California Berkeley


  ___
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] Problem merging 30-m SRTM tiles in QGIS 3.24.3 for MacOS 10.14.6

2022-05-20 Thread Richard McDonnell via Qgis-user
Hi Walter,
As an alternative to Wouter’s suggestion, I would recommend VRT’s (Raster ==> 
Miscellaneous ==> Build Virtual Raster) Not alone does it merge/mosaic but it 
also results in a small file size. It is also very easy to generate convert 
that VRT to any other format output, using gdal_translate (Raster ==> 
Conversion ==> Translate)
I hope this helps,
Kind Regards,

Richard


——
Richard McDonnell MSc GIS, FME Certified Professional
FRM Data Management

——
Oifig na nOibreacha Poiblí
Office of Public Works

Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
Jonathan Swift Street, Trim, Co Meath, C15 NX36
——
M +353 87 688 5964 T +353 46 942 2409
https://gov.ie/opw

——
To send me files larger than 30MB, please use the link below 
https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie

Email Disclaimer: 
https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/

——
MSc GIS, FME Certified Professional

——
Oifig na nOibreacha Poiblí
Office of Public Works

Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
Jonathan Swift Street, Trim, Co Meath, C15 NX36
——
M +353 87 688 5964 T +353 46 942 2409
https://www.opw.ie

——
Email Disclaimer: https://www.opw.ie/en/disclaimer/
From: Qgis-user  On Behalf Of Wouter Impens 
via Qgis-user
Sent: 20 May 2022 11:04
To: qgis-user 
Subject: Re: [Qgis-user] Problem merging 30-m SRTM tiles in QGIS 3.24.3 for 
MacOS 10.14.6

Hi Walter,

I'm having good results using the 'r.patch' tool from GRASS for merging rasters.

Hope this helps

Greetings
Wouter

Op do 19 mei 2022 om 23:31 schreef Walter Alvarez via Qgis-user 
mailto:qgis-user@lists.osgeo.org>>:

I’m trying to merge either two or twelve 30-m SRTM tiles using QGIS 3.14.3.  In 
either case (2 or 12) I am stopped by the following problem:

Using Raster > Miscellaneous > Merge…

I get the “Merge" window.   I try to use Input layers > Elements selected > “…"

That takes me to the "Multiple Selection" window, showing the 2 or 12 files I 
want to merge (filenames:   nXXeXXX_1arc_v3 [EPSG:4326]).

After selecting all the files, when I click “OK”   the "Multiple Selection 
Window” and the “Merge” window both disappear, and I cannot figure out what to 
do next, or do differently.

I can’t figure out how to get past this problem and merge my tiles.

Thanks for any help you can offer!

Walter

__


Walter Alvarez
Professor of the Graduate School
Department of Earth and Planetary Science
University of California Berkeley


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org<mailto: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] Problem merging 30-m SRTM tiles in QGIS 3.24.3 for MacOS 10.14.6

2022-05-20 Thread Wouter Impens via Qgis-user
Hi Walter,

I'm having good results using the 'r.patch' tool from GRASS for merging
rasters.

Hope this helps

Greetings
Wouter

Op do 19 mei 2022 om 23:31 schreef Walter Alvarez via Qgis-user <
qgis-user@lists.osgeo.org>:

>
> I’m trying to merge either two or twelve 30-m SRTM tiles using QGIS
> 3.14.3.  In either case (2 or 12) I am stopped by the following problem:
>
> Using Raster > Miscellaneous > Merge…
>
> I get the “Merge" window.   I try to use Input layers > Elements selected
> > “…"
>
> That takes me to the "Multiple Selection" window, showing the 2 or 12
> files I want to merge (filenames:   nXXeXXX_1arc_v3 [EPSG:4326]).
>
> After selecting all the files, when I click “OK”   the "Multiple Selection
> Window” and the “Merge” window both disappear, and I cannot figure out what
> to do next, or do differently.
>
> I can’t figure out how to get past this problem and merge my tiles.
>
> Thanks for any help you can offer!
>
> Walter
>
> __
>
>
> Walter Alvarez
> Professor of the Graduate School
> Department of Earth and Planetary Science
> University of California Berkeley
>
>
>
> ___
> 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


[Qgis-user] Problem merging 30-m SRTM tiles in QGIS 3.24.3 for MacOS 10.14.6

2022-05-19 Thread Walter Alvarez via Qgis-user

I’m trying to merge either two or twelve 30-m SRTM tiles using QGIS 3.14.3.  In 
either case (2 or 12) I am stopped by the following problem:

Using Raster > Miscellaneous > Merge…

I get the “Merge" window.   I try to use Input layers > Elements selected > “…"

That takes me to the "Multiple Selection" window, showing the 2 or 12 files I 
want to merge (filenames:   nXXeXXX_1arc_v3 [EPSG:4326]).

After selecting all the files, when I click “OK”   the "Multiple Selection 
Window” and the “Merge” window both disappear, and I cannot figure out what to 
do next, or do differently.

I can’t figure out how to get past this problem and merge my tiles.

Thanks for any help you can offer!

Walter

__


Walter Alvarez
Professor of the Graduate School
Department of Earth and Planetary Science
University of California Berkeley



___
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] Problem trying to graduate by value (colum)

2022-04-07 Thread Asmus via Qgis-user
The difference between number and text is shown in the attribute table by left- 
and right aligned of the column

Asmus



Am 7. April 2022 06:58:49 MESZ schrieb Asim via Qgis-user 
:
>On 4/6/22 6:50 PM, David Strip via Qgis-user wrote:
>> A lot of folks get bitten by text fields that look like numbers. What 
>> if the attribute table color-coded the columns with different colors 
>> for text vs. numbers? Or had a second row of headers showing the field 
>> type? What would the disadvantage of such an approach? Of course, the 
>> color coding/field type could be optional.
>
>+1 to providing an indication of type in the attribute table.
>
>___
>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] Problem trying to graduate by value (colum)

2022-04-06 Thread Asim via Qgis-user

On 4/6/22 6:50 PM, David Strip via Qgis-user wrote:
A lot of folks get bitten by text fields that look like numbers. What 
if the attribute table color-coded the columns with different colors 
for text vs. numbers? Or had a second row of headers showing the field 
type? What would the disadvantage of such an approach? Of course, the 
color coding/field type could be optional.


+1 to providing an indication of type in the attribute table.

___
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] Problem trying to graduate by value (colum)

2022-04-06 Thread David Strip via Qgis-user

  
  
A lot of folks get bitten by text fields that look like numbers.
What if the attribute table color-coded the columns with different
colors for text vs. numbers? Or had a second row of headers showing
the field type? What would the disadvantage of such an approach? Of
course, the color coding/field type could be optional.

  

___
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] Problem trying to graduate by value (colum)

2022-04-06 Thread Claudio Briones Barrera via Qgis-user
Thanks for the tip!

Claudio


Libre
de virus. www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

El mié, 6 abr 2022 a las 12:33, Nicolas Cadieux (<
njacadieux.git...@gmail.com>) escribió:

> Hi,
>
> Your number fields are probably using a text format.  You cannot graduate
> a text field.
>
> Create a new field (columns) with a float or int and, using the field
> calculator to copy the data from the text field this new field.  You can
> also just change the field type but if you do that, backup the data first
> as some data may be lost.  Make sure the data is good before continuing as
> having a mixe of number format (like using commas and points) is all good
> for a text field but will not be appreciated by the number field.  They
> will become NULL data.
>
> Nicolas Cadieux
> https://gitlab.com/njacadieux
>
> Le 5 avr. 2022 à 07:25, Claudio Briones Barrera via Qgis-user <
> qgis-user@lists.osgeo.org> a écrit :
>
> 
> Hello, my name is Claudio.
>
> Versión de QGIS
> 3.16.1-Hannover
>
> Problem: When I open Layer Properties of a Layer, and I try to edit Symbol
> by value (colum), I cant select any colum. If I try to do it in the
> categorized way, I do can select the colum without problem. Why?
>
> Thank you for your attention,
>
> Regards
> --
> Claudio Briones Barrera
> Profesor del Área de Mecánica de Medios Continuos y Teoría de las
> Estructuras
>
>
> Departamento de Técnicas y Proyectos en Ingeniería y Arquitectura
>
> Avda. Ángel Guimerá Jorge, s/n. Escuela Politécnica Superior de Ingeniería
> Apartado 456
> 38200 La Laguna. S/C de Tenerife
>
> Teléfono: 922 31 98 93
> Email: c brio...@ull.edu.es
>
> ull.es 
>
> *Aviso de confidencialidad*
>
> Este mensaje puede contener  información confidencial o legalmente
> protegida. El acceso a su contenido por personas distintas a las
> destinatarias no está autorizado. Por otro lado, el tratamiento
> desautorizado de datos de carácter personal puede suponer una infracción de
> la normativa vigente en Protección de Datos.
>
> Si usted ha recibido este mensaje por error, le informamos que la
> utilización, divulgación o reproducción de su contenido sin autorización
> está prohibida en virtud de la legislación vigente. En tal caso deberá
> comunicarlo al remitente y proceder de manera inmediata a su destrucción, así
> como la de cualquier documento adjunto al mismo.
>
>
> 
>  Libre
> de virus. www.avast.com
> 
> <#m_5960106328338308417_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> ___
> 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
>
>

-- 
Claudio Briones Barrera
Profesor del Área de Mecánica de Medios Continuos y Teoría de las
Estructuras


Departamento de Técnicas y Proyectos en Ingeniería y Arquitectura

Avda. Ángel Guimerá Jorge, s/n. Escuela Politécnica Superior de Ingeniería
Apartado 456
38200 La Laguna. S/C de Tenerife

Teléfono: 922 31 98 93
Email: c brio...@ull.edu.es

ull.es 

*Aviso de confidencialidad*

Este mensaje puede contener  información confidencial o legalmente
protegida. El acceso a su contenido por personas distintas a las
destinatarias no está autorizado. Por otro lado, el tratamiento
desautorizado de datos de carácter personal puede suponer una infracción de
la normativa vigente en Protección de Datos.

Si usted ha recibido este mensaje por error, le informamos que la
utilización, divulgación o reproducción de su contenido sin autorización
está prohibida en virtud de la legislación vigente. En tal caso deberá
comunicarlo al remitente y proceder de manera inmediata a su destrucción, así
como la de cualquier documento adjunto al mismo.
___
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] Problem trying to graduate by value (colum)

2022-04-06 Thread Nicolas Cadieux via Qgis-user
Hi,

Your number fields are probably using a text format.  You cannot graduate a 
text field.  

Create a new field (columns) with a float or int and, using the field 
calculator to copy the data from the text field this new field.  You can also 
just change the field type but if you do that, backup the data first as some 
data may be lost.  Make sure the data is good before continuing as having a 
mixe of number format (like using commas and points) is all good for a text 
field but will not be appreciated by the number field.  They will become NULL 
data.  

Nicolas Cadieux
https://gitlab.com/njacadieux

> Le 5 avr. 2022 à 07:25, Claudio Briones Barrera via Qgis-user 
>  a écrit :
> 
> 
> Hello, my name is Claudio. 
> 
> Versión de QGIS
> 3.16.1-Hannover
> 
> Problem: When I open Layer Properties of a Layer, and I try to edit Symbol by 
> value (colum), I cant select any colum. If I try to do it in the categorized 
> way, I do can select the colum without problem. Why? 
> 
> Thank you for your attention, 
> 
> Regards
> -- 
> Claudio Briones Barrera
> Profesor del Área de Mecánica de Medios Continuos y Teoría de las Estructuras
> 
> 
> 
> Departamento de Técnicas y Proyectos en Ingeniería y Arquitectura
> 
> Avda. Ángel Guimerá Jorge, s/n. Escuela Politécnica Superior de Ingeniería
> Apartado 456
> 38200 La Laguna. S/C de Tenerife
> 
> Teléfono: 922 31 98 93
> Email: cbrio...@ull.edu.es
> 
> ull.es
> 
> Aviso de confidencialidad
> 
> Este mensaje puede contener  información confidencial o legalmente protegida. 
> El acceso a su contenido por personas distintas a las destinatarias no está 
> autorizado. Por otro lado, el tratamiento desautorizado de datos de carácter 
> personal puede suponer una infracción de la normativa vigente en Protección 
> de Datos. 
> 
> Si usted ha recibido este mensaje por error, le informamos que la 
> utilización, divulgación o reproducción de su contenido sin autorización está 
> prohibida en virtud de la legislación vigente. En tal caso deberá comunicarlo 
> al remitente y proceder de manera inmediata a su destrucción, así como la de 
> cualquier documento adjunto al mismo.
> 
> 
>   Libre de virus. www.avast.com
> ___
> 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] Problem trying to graduate by value (colum)

2022-04-05 Thread Kobben, Barend (UT-ITC) via Qgis-user
Most likely the column/attribute type is not a "graduateable" type, i.e they 
are likely strings instead of numbers If the strings actually contain 
numbers, you will still have to change the column type to integer of float.

--
Barend Köbben


On 05/04/2022, 13:25, "Qgis-user on behalf of Claudio Briones Barrera via 
Qgis-user" 
mailto:qgis-user-boun...@lists.osgeo.org> on 
behalf of qgis-user@lists.osgeo.org> wrote:

Hello, my name is Claudio.

Versión de QGIS
3.16.1-Hannover

Problem: When I open Layer Properties of a Layer, and I try to edit Symbol by 
value (colum), I cant select any colum. If I try to do it in the categorized 
way, I do can select the colum without problem. Why?

Thank you for your attention,

Regards
--
Claudio Briones Barrera
Profesor del Área de Mecánica de Medios Continuos y Teoría de las Estructuras

[Image removed by sender.]

Departamento de Técnicas y Proyectos en Ingeniería y Arquitectura

Avda. Ángel Guimerá Jorge, s/n. Escuela Politécnica Superior de Ingeniería
Apartado 456
38200 La Laguna. S/C de Tenerife

Teléfono: 922 31 98 93
Email: cbrio...@ull.edu.es

ull.es


Aviso de confidencialidad

Este mensaje puede contener  información confidencial o legalmente protegida. 
El acceso a su contenido por personas distintas a las destinatarias no está 
autorizado. Por otro lado, el tratamiento desautorizado de datos de carácter 
personal puede suponer una infracción de la normativa vigente en Protección de 
Datos.

Si usted ha recibido este mensaje por error, le informamos que la utilización, 
divulgación o reproducción de su contenido sin autorización está prohibida en 
virtud de la legislación vigente. En tal caso deberá comunicarlo al remitente y 
proceder de manera inmediata a su destrucción, así como la de cualquier 
documento adjunto al mismo.

[Image removed by 
sender.]
Libre de virus. 
www.avast.com

___
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] Problem trying to graduate by value (colum)

2022-04-05 Thread Claudio Briones Barrera via Qgis-user
Hello, my name is Claudio.

Versión de QGIS
3.16.1-Hannover

Problem: When I open Layer Properties of a Layer, and I try to edit Symbol
by value (colum), I cant select any colum. If I try to do it in the
categorized way, I do can select the colum without problem. Why?

Thank you for your attention,

Regards
-- 
Claudio Briones Barrera
Profesor del Área de Mecánica de Medios Continuos y Teoría de las
Estructuras


Departamento de Técnicas y Proyectos en Ingeniería y Arquitectura

Avda. Ángel Guimerá Jorge, s/n. Escuela Politécnica Superior de Ingeniería
Apartado 456
38200 La Laguna. S/C de Tenerife

Teléfono: 922 31 98 93
Email: c brio...@ull.edu.es

ull.es 

*Aviso de confidencialidad*

Este mensaje puede contener  información confidencial o legalmente
protegida. El acceso a su contenido por personas distintas a las
destinatarias no está autorizado. Por otro lado, el tratamiento
desautorizado de datos de carácter personal puede suponer una infracción de
la normativa vigente en Protección de Datos.

Si usted ha recibido este mensaje por error, le informamos que la
utilización, divulgación o reproducción de su contenido sin autorización
está prohibida en virtud de la legislación vigente. En tal caso deberá
comunicarlo al remitente y proceder de manera inmediata a su destrucción, así
como la de cualquier documento adjunto al mismo.


Libre
de virus. www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
___
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] Problem with scale/magnifier

2021-09-07 Thread David Strip

  
  
On 9/7/2021 2:08 PM, Stewart Holt
  wrote:

Setting
  the scale at X and the magnifier at 200% behaves identically to
  the scale at X/2 and magnifier at 100%. 
While there may be issues with WMS layers (I don't use them often
enough to have noticed), it's certainly not true in general that
doubling the magnification is the same as halving the scale. In
particular, create a simple map with a layer with labels on. If you
halve the scale, the text on your screen remains the same size as
before. If you double the magnification, the text is twice is big on
your screen. Same goes for many aspects of symbology.

  

___
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] Problem with scale/magnifier

2021-09-07 Thread Stewart Holt
The Magnifier control on the main canvas status bar does not seem to
magnify, but rather changes the effective scale causing a fetch of the WMS
layer. This is a problem when this exceeds the servers maximum scale.
Setting the scale at X and the magnifier at 200% behaves identically to the
scale at X/2 and magnifier at 100%. When I adjust the magnifier, I see the
blue progress bar associated with fetching tiles. Ideally the magnifier
would allow you to magnify with pixelation, to get some separation of
features while seeing a degraded background map image. The lock seems to
only disable manually changing the scale but does not keep the WMS layer
from being fetched at a magnified scale which can result in failure and a
blank background. The documentation indicates that the lock should allow
magnification without changing scale. This seems to not be the case on USGS
WMS/WMTS layers. Has anyone else experienced this or understand what may be
causing it?

I am using Windows 10 and QGIS 3.18.3. I have seen this behavior since
version 2.

Thanks,

Stewart
___
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] Problem using Model Inputs variable in an Select by expression in the model Designer

2021-08-23 Thread Nicolas Cadieux
Thanks Nyall,
I figured it was that because I could place the string “Length” in a column.  I 
thought it would work in the field calculator with something like ‘“‘ || 
@thelenghtstring || ‘“‘ but obviously, it does not. 
Thank ps for the precision.

Nicolas Cadieux
https://gitlab.com/njacadieux

> Le 23 août 2021 à 19:02, Nyall Dawson  a écrit :
> 
> On Tue, 24 Aug 2021 at 03:53, Charles Dixon-Paver  
> wrote:
>> 
>> Honestly I have no idea 
>> 
>> I mean, of course what is happening is QGIS is needing to identify a field 
>> from a text string, and it's even possible that with some convoluted chain 
>> of escape characters or funky regex the process could correct itself and 
>> "just work".
>> 
>> In all likelihood you could have just stumbled onto some obscure bug in the 
>> underlying processing API where the context of that field object get's 
>> dropped or orphaned when  trying to access it.
> 
> There's no bug here -- the variable value is just a pure text string,
> and the expression engine can't automatically guess that you actually
> want the value of the field with that name, and not just the name
> string itself. Hence the need for the attribute function, which allows
> you to retrieve a feature's fields via a text string containing the
> field name.
> 
> Nyall
> 
> 
>> 
>> My assumption is that using attribute() just compensates for whatever is 
>> going on under the hood by reinstantiating the context behind the field 
>> object, or at the very least provides a robust interface for referencing it 
>> ¯\_(ツ)_/¯
>> 
>> I would definitely call it a work around though
>> 
>>> On Mon, 23 Aug 2021 at 18:52, Nicolas Cadieux  
>>> wrote:
>>> 
>>> Hi,
>>> 
>>> if(attribute(to_string( @NamelengthField )) != "LENGTH2", TRUE, FALSE )
>>> 
>>> ("LENGHT2" is an existing field and @NamelengthField was a model input 
>>> string.)
>>> 
>>> This worked  for me!   If you have the time, please explain why I needed 
>>> the attribute() function for this to work.  I looked in the documentation 
>>> and did not find it very clear.
>>> 
>>> Thanks a million you saved my butt!
>>> 
>>> Nicolas
>>> 
>>> 
>>>> On 2021-07-20 5:53 a.m., Charles Dixon-Paver wrote:
>>> 
>>> Hi Nicholas,
>>> 
>>> I haven't had time to dig into this extensively or encountered this 
>>> particular issue, but I would suggest trying to "force" the expression to 
>>> retrieve the correct info regardless of context using something like this:
>>> 
>>> with_variable('Length2',  to_string(@NamelengthField) || '2', 
>>> if(attribute(to_string(@NamelengthField)) != attribute(@Length2), TRUE, 
>>> FALSE))
>>> 
>>> That's probably an extreme example but hopefully it illustrates my point. 
>>> If you want to share a sample dataset/ model I can try to have a look at 
>>> how to resolve it.
>>> 
>>> Regards
>>> 
>>> On Tue, 20 Jul 2021 at 10:46, Richard McDonnell  
>>> wrote:
>>>> 
>>>> Nicolas,
>>>> 
>>>> I have not looked at this in too much detail, but at a quick glance, could 
>>>> it not be the fact that you should be using the newly created fields? As 
>>>> in instead of @NamelengthField != @NamelengthField || '2', should it not 
>>>> be more like your previous example Length != Length2
>>>> 
>>>> 
>>>> 
>>>> Regards,
>>>> 
>>>> 
>>>> 
>>>> Richard
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> ——
>>>> Richard McDonnell MSc GIS, FME Certified Professional
>>>> FRM Data Management
>>>> 
>>>> ——
>>>> Oifig na nOibreacha Poiblí
>>>> Office of Public Works
>>>> 
>>>> Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
>>>> Jonathan Swift Street, Trim, Co Meath, C15 NX36
>>>> ——
>>>> M +353 87 688 5964 T +353 46 942 2409
>>>> https://gov.ie/opw
>>>> 
>>>> ——
>>>> To send me files larger than 30MB, please use the link below 
>>>> https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie
>>>> 
>>>> Email Disclaimer: 
>>>> https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/
>>>> 
>>>

Re: [Qgis-user] Problem using Model Inputs variable in an Select by expression in the model Designer

2021-08-23 Thread Nyall Dawson
On Tue, 24 Aug 2021 at 03:53, Charles Dixon-Paver  wrote:
>
> Honestly I have no idea 
>
> I mean, of course what is happening is QGIS is needing to identify a field 
> from a text string, and it's even possible that with some convoluted chain of 
> escape characters or funky regex the process could correct itself and "just 
> work".
>
> In all likelihood you could have just stumbled onto some obscure bug in the 
> underlying processing API where the context of that field object get's 
> dropped or orphaned when  trying to access it.

There's no bug here -- the variable value is just a pure text string,
and the expression engine can't automatically guess that you actually
want the value of the field with that name, and not just the name
string itself. Hence the need for the attribute function, which allows
you to retrieve a feature's fields via a text string containing the
field name.

Nyall


>
> My assumption is that using attribute() just compensates for whatever is 
> going on under the hood by reinstantiating the context behind the field 
> object, or at the very least provides a robust interface for referencing it 
> ¯\_(ツ)_/¯
>
> I would definitely call it a work around though
>
> On Mon, 23 Aug 2021 at 18:52, Nicolas Cadieux  
> wrote:
>>
>> Hi,
>>
>> if(attribute(to_string( @NamelengthField )) != "LENGTH2", TRUE, FALSE )
>>
>> ("LENGHT2" is an existing field and @NamelengthField was a model input 
>> string.)
>>
>> This worked  for me!   If you have the time, please explain why I needed the 
>> attribute() function for this to work.  I looked in the documentation and 
>> did not find it very clear.
>>
>> Thanks a million you saved my butt!
>>
>> Nicolas
>>
>>
>> On 2021-07-20 5:53 a.m., Charles Dixon-Paver wrote:
>>
>> Hi Nicholas,
>>
>> I haven't had time to dig into this extensively or encountered this 
>> particular issue, but I would suggest trying to "force" the expression to 
>> retrieve the correct info regardless of context using something like this:
>>
>> with_variable('Length2',  to_string(@NamelengthField) || '2', 
>> if(attribute(to_string(@NamelengthField)) != attribute(@Length2), TRUE, 
>> FALSE))
>>
>> That's probably an extreme example but hopefully it illustrates my point. If 
>> you want to share a sample dataset/ model I can try to have a look at how to 
>> resolve it.
>>
>> Regards
>>
>> On Tue, 20 Jul 2021 at 10:46, Richard McDonnell  
>> wrote:
>>>
>>> Nicolas,
>>>
>>> I have not looked at this in too much detail, but at a quick glance, could 
>>> it not be the fact that you should be using the newly created fields? As in 
>>> instead of @NamelengthField != @NamelengthField || '2', should it not be 
>>> more like your previous example Length != Length2
>>>
>>>
>>>
>>> Regards,
>>>
>>>
>>>
>>> Richard
>>>
>>>
>>>
>>>
>>>
>>>
>>> ——
>>> Richard McDonnell MSc GIS, FME Certified Professional
>>> FRM Data Management
>>>
>>> ——
>>> Oifig na nOibreacha Poiblí
>>> Office of Public Works
>>>
>>> Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
>>> Jonathan Swift Street, Trim, Co Meath, C15 NX36
>>> ——
>>> M +353 87 688 5964 T +353 46 942 2409
>>> https://gov.ie/opw
>>>
>>> ——
>>> To send me files larger than 30MB, please use the link below 
>>> https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie
>>>
>>> Email Disclaimer: 
>>> https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/
>>>
>>> From: Qgis-user  On Behalf Of Nicolas 
>>> Cadieux
>>> Sent: 20 July 2021 09:27
>>> To: Qgis Users List 
>>> Subject: Re: [Qgis-user] Problem using Model Inputs variable in an Select 
>>> by expression in the model Designer
>>>
>>>
>>>
>>> Hi,
>>>
>>> Does anyone have an idea?
>>>
>>> Nicolas Cadieux
>>>
>>> https://gitlab.com/njacadieux
>>>
>>>
>>>
>>> Le 8 juill. 2021 à 01:17, Nicolas Cadieux  a 
>>> écrit :
>>>
>>> 
>>>
>>> Hi,
>>>
>>> I am creating a model that fixes Network files before they are used in the 
>>> QGIS Network analysis (Shortest path) tools.
>>>
>>> This is my work flow:
>>>
>

Re: [Qgis-user] Problem using Model Inputs variable in an Select by expression in the model Designer

2021-08-23 Thread Alexandre Neto
There's some missing spaces in the expression, but I think you got it.

A segunda, 23/08/2021, 23:07, Alexandre Neto 
escreveu:

> I am a bit late, and Charles already provided a working solution, but
> don't forget the extremely useful function eval.
>
> The function as is will compare fieldname to fieldname (returning true)
> and then try to concatenate the string '2' to it...
>
> @NamelengthField != @NamelengthField || '2'
>
>
> Try this:
>
> @NamelengthField || '!=' || @NamelengthField || '2'
>
> It will return the expression you need.
>
> 'length != length2'
>
>  Now, just wrap it on eval() to calculate it.
>
> eval(@NamelengthField || '!=' || @NamelengthField || '2')
>
> Best regards
>
> Alexandre Neto
> User support
> www.qcooperative.net
>
>
>
>
>
>
>
>
>
>
>
> A segunda, 23/08/2021, 18:53, Charles Dixon-Paver 
> escreveu:
>
>> Honestly I have no idea 
>>
>> I mean, of course what is happening is QGIS is needing to identify a
>> field from a text string, and it's even possible that with some convoluted
>> chain of escape characters or funky regex the process could correct itself
>> and "just work".
>>
>> In all likelihood you could have just stumbled onto some obscure bug in
>> the underlying processing API where the context of that field object get's
>> dropped or orphaned when  trying to access it.
>>
>> My assumption is that using attribute() just compensates for whatever is
>> going on under the hood by reinstantiating the context behind the field
>> object, or at the very least provides a robust interface for referencing it
>> ¯\_(ツ)_/¯
>>
>> I would definitely call it a work around though
>>
>> On Mon, 23 Aug 2021 at 18:52, Nicolas Cadieux <
>> njacadieux.git...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> if(attribute(to_string( @NamelengthField )) != "LENGTH2", TRUE, FALSE )
>>>
>>> ("LENGHT2" is an existing field and @NamelengthField was a model input
>>> string.)
>>>
>>> This worked  for me!   If you have the time, please explain why I needed
>>> the *attribute()* function for this to work.  I looked in the
>>> documentation and did not find it very clear.
>>>
>>> Thanks a million you saved my butt!
>>>
>>> Nicolas
>>>
>>>
>>> On 2021-07-20 5:53 a.m., Charles Dixon-Paver wrote:
>>>
>>> Hi Nicholas,
>>>
>>> I haven't had time to dig into this extensively or encountered this
>>> particular issue, but I would suggest trying to "force" the expression to
>>> retrieve the correct info regardless of context using something like this:
>>>
>>> with_variable('Length2',  to_string(@NamelengthField) || '2',
>>> if(attribute(to_string(@NamelengthField)) != attribute(@Length2), TRUE,
>>> FALSE))
>>>
>>> That's probably an extreme example but hopefully it illustrates my
>>> point. If you want to share a sample dataset/ model I can try to have a
>>> look at how to resolve it.
>>>
>>> Regards
>>>
>>> On Tue, 20 Jul 2021 at 10:46, Richard McDonnell <
>>> richard.mcdonn...@opw.ie> wrote:
>>>
>>>> Nicolas,
>>>>
>>>> I have not looked at this in too much detail, but at a quick glance,
>>>> could it not be the fact that you should be using the newly created fields?
>>>> As in instead of *@NamelengthField != @NamelengthField || '2'*, should
>>>> it not be more like your previous example *Length != Length2*
>>>>
>>>>
>>>>
>>>> Regards,
>>>>
>>>>
>>>>
>>>> Richard
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ——
>>>> Richard McDonnell MSc GIS, FME Certified Professional
>>>> *FRM Data Management*
>>>>
>>>> ——
>>>> Oifig na nOibreacha Poiblí
>>>> Office of Public Works
>>>>
>>>> Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
>>>> Jonathan Swift Street, Trim, Co Meath, C15 NX36
>>>> ——
>>>> M +353 87 688 5964 T +353 46 942 2409
>>>> https://gov.ie/opw
>>>>
>>>> ——
>>>> To send me files larger than 30MB, please use the link below
>>>> https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie
>>>>
>>>> Email Disclaimer:
>>>> https://www

Re: [Qgis-user] Problem using Model Inputs variable in an Select by expression in the model Designer

2021-08-23 Thread Alexandre Neto
I am a bit late, and Charles already provided a working solution, but don't
forget the extremely useful function eval.

The function as is will compare fieldname to fieldname (returning true) and
then try to concatenate the string '2' to it...

@NamelengthField != @NamelengthField || '2'


Try this:

@NamelengthField || '!=' || @NamelengthField || '2'

It will return the expression you need.

'length != length2'

 Now, just wrap it on eval() to calculate it.

eval(@NamelengthField || '!=' || @NamelengthField || '2')

Best regards

Alexandre Neto
User support
www.qcooperative.net











A segunda, 23/08/2021, 18:53, Charles Dixon-Paver 
escreveu:

> Honestly I have no idea 
>
> I mean, of course what is happening is QGIS is needing to identify a field
> from a text string, and it's even possible that with some convoluted chain
> of escape characters or funky regex the process could correct itself and
> "just work".
>
> In all likelihood you could have just stumbled onto some obscure bug in
> the underlying processing API where the context of that field object get's
> dropped or orphaned when  trying to access it.
>
> My assumption is that using attribute() just compensates for whatever is
> going on under the hood by reinstantiating the context behind the field
> object, or at the very least provides a robust interface for referencing it
> ¯\_(ツ)_/¯
>
> I would definitely call it a work around though
>
> On Mon, 23 Aug 2021 at 18:52, Nicolas Cadieux 
> wrote:
>
>> Hi,
>>
>> if(attribute(to_string( @NamelengthField )) != "LENGTH2", TRUE, FALSE )
>>
>> ("LENGHT2" is an existing field and @NamelengthField was a model input
>> string.)
>>
>> This worked  for me!   If you have the time, please explain why I needed
>> the *attribute()* function for this to work.  I looked in the
>> documentation and did not find it very clear.
>>
>> Thanks a million you saved my butt!
>>
>> Nicolas
>>
>>
>> On 2021-07-20 5:53 a.m., Charles Dixon-Paver wrote:
>>
>> Hi Nicholas,
>>
>> I haven't had time to dig into this extensively or encountered this
>> particular issue, but I would suggest trying to "force" the expression to
>> retrieve the correct info regardless of context using something like this:
>>
>> with_variable('Length2',  to_string(@NamelengthField) || '2',
>> if(attribute(to_string(@NamelengthField)) != attribute(@Length2), TRUE,
>> FALSE))
>>
>> That's probably an extreme example but hopefully it illustrates my point.
>> If you want to share a sample dataset/ model I can try to have a look at
>> how to resolve it.
>>
>> Regards
>>
>> On Tue, 20 Jul 2021 at 10:46, Richard McDonnell 
>> wrote:
>>
>>> Nicolas,
>>>
>>> I have not looked at this in too much detail, but at a quick glance,
>>> could it not be the fact that you should be using the newly created fields?
>>> As in instead of *@NamelengthField != @NamelengthField || '2'*, should
>>> it not be more like your previous example *Length != Length2*
>>>
>>>
>>>
>>> Regards,
>>>
>>>
>>>
>>> Richard
>>>
>>>
>>>
>>>
>>>
>>> ——
>>> Richard McDonnell MSc GIS, FME Certified Professional
>>> *FRM Data Management*
>>>
>>> ——
>>> Oifig na nOibreacha Poiblí
>>> Office of Public Works
>>>
>>> Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
>>> Jonathan Swift Street, Trim, Co Meath, C15 NX36
>>> ——
>>> M +353 87 688 5964 T +353 46 942 2409
>>> https://gov.ie/opw
>>>
>>> ——
>>> To send me files larger than 30MB, please use the link below
>>> https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie
>>>
>>> Email Disclaimer:
>>> https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/
>>>
>>> *From:* Qgis-user  *On Behalf Of *Nicolas
>>> Cadieux
>>> *Sent:* 20 July 2021 09:27
>>> *To:* Qgis Users List 
>>> *Subject:* Re: [Qgis-user] Problem using Model Inputs variable in an
>>> Select by expression in the model Designer
>>>
>>>
>>>
>>> Hi,
>>>
>>> Does anyone have an idea?
>>>
>>> Nicolas Cadieux
>>>
>>> https://gitlab.com/njacadieux
>>>
>>>
>>>
>>> Le 8 juill. 2021 à 01:17, Nicolas Cadieux 
>>> a écrit :
>>>
>>> 
>>>
>>> Hi,
>>>
&

Re: [Qgis-user] Problem using Model Inputs variable in an Select by expression in the model Designer

2021-08-23 Thread Charles Dixon-Paver
Honestly I have no idea 

I mean, of course what is happening is QGIS is needing to identify a field
from a text string, and it's even possible that with some convoluted chain
of escape characters or funky regex the process could correct itself and
"just work".

In all likelihood you could have just stumbled onto some obscure bug in the
underlying processing API where the context of that field object get's
dropped or orphaned when  trying to access it.

My assumption is that using attribute() just compensates for whatever is
going on under the hood by reinstantiating the context behind the field
object, or at the very least provides a robust interface for referencing it
¯\_(ツ)_/¯

I would definitely call it a work around though

On Mon, 23 Aug 2021 at 18:52, Nicolas Cadieux 
wrote:

> Hi,
>
> if(attribute(to_string( @NamelengthField )) != "LENGTH2", TRUE, FALSE )
>
> ("LENGHT2" is an existing field and @NamelengthField was a model input
> string.)
>
> This worked  for me!   If you have the time, please explain why I needed
> the *attribute()* function for this to work.  I looked in the
> documentation and did not find it very clear.
>
> Thanks a million you saved my butt!
>
> Nicolas
>
>
> On 2021-07-20 5:53 a.m., Charles Dixon-Paver wrote:
>
> Hi Nicholas,
>
> I haven't had time to dig into this extensively or encountered this
> particular issue, but I would suggest trying to "force" the expression to
> retrieve the correct info regardless of context using something like this:
>
> with_variable('Length2',  to_string(@NamelengthField) || '2',
> if(attribute(to_string(@NamelengthField)) != attribute(@Length2), TRUE,
> FALSE))
>
> That's probably an extreme example but hopefully it illustrates my point.
> If you want to share a sample dataset/ model I can try to have a look at
> how to resolve it.
>
> Regards
>
> On Tue, 20 Jul 2021 at 10:46, Richard McDonnell 
> wrote:
>
>> Nicolas,
>>
>> I have not looked at this in too much detail, but at a quick glance,
>> could it not be the fact that you should be using the newly created fields?
>> As in instead of *@NamelengthField != @NamelengthField || '2'*, should
>> it not be more like your previous example *Length != Length2*
>>
>>
>>
>> Regards,
>>
>>
>>
>> Richard
>>
>>
>>
>>
>>
>> ——
>> Richard McDonnell MSc GIS, FME Certified Professional
>> *FRM Data Management*
>>
>> ——
>> Oifig na nOibreacha Poiblí
>> Office of Public Works
>>
>> Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
>> Jonathan Swift Street, Trim, Co Meath, C15 NX36
>> ——
>> M +353 87 688 5964 T +353 46 942 2409
>> https://gov.ie/opw
>>
>> ——
>> To send me files larger than 30MB, please use the link below
>> https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie
>>
>> Email Disclaimer:
>> https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/
>>
>> *From:* Qgis-user  *On Behalf Of *Nicolas
>> Cadieux
>> *Sent:* 20 July 2021 09:27
>> *To:* Qgis Users List 
>> *Subject:* Re: [Qgis-user] Problem using Model Inputs variable in an
>> Select by expression in the model Designer
>>
>>
>>
>> Hi,
>>
>> Does anyone have an idea?
>>
>> Nicolas Cadieux
>>
>> https://gitlab.com/njacadieux
>>
>>
>>
>> Le 8 juill. 2021 à 01:17, Nicolas Cadieux 
>> a écrit :
>>
>> 
>>
>> Hi,
>>
>> I am creating a model that fixes Network files before they are used in
>> the QGIS Network analysis (Shortest path) tools.
>>
>> This is my work flow:
>>
>>1. Create a "Length" field (value) and calculate $length in the field
>>calculator
>>2. Split the Multipart lines into Singlepart lines
>>3. Create a "Length*2*" field (value) and calculate $length in the
>>field calculator
>>4. Select by expression Length != Length2.  This basically gives me a
>>selection of line that have been modified by the Multipart to Singlepart
>>algorithm. (I get 8 results)
>>
>> This works well
>>
>> The problem is when I create and Input String to let the user create a
>> "Length" field.  This become a variable called @NamelengthField. My work
>> flow become:
>>
>>1. User input "Length" in the Model input. (@NamelengthField)
>>2. Create a "Length" field using  @NamelengthField (as pre-calculated
>>value) and calculate $length in the field calc

Re: [Qgis-user] Problem using Model Inputs variable in an Select by expression in the model Designer

2021-08-23 Thread Nicolas Cadieux

Hi,

if(attribute(to_string( @NamelengthField )) != "LENGTH2", TRUE, FALSE )

("LENGHT2" is an existing field and @NamelengthField was a model input 
string.)


This worked  for me!   If you have the time, please explain why I needed 
the _attribute()_ function for this to work.  I looked in the 
documentation and did not find it very clear.


Thanks a million you saved my butt!

Nicolas


On 2021-07-20 5:53 a.m., Charles Dixon-Paver wrote:

Hi Nicholas,

I haven't had time to dig into this extensively or encountered this 
particular issue, but I would suggest trying to "force" the expression 
to retrieve the correct info regardless of context using something 
like this:


with_variable('Length2',  to_string(@NamelengthField) || '2', 
if(attribute(to_string(@NamelengthField)) != attribute(@Length2), 
TRUE, FALSE))


That's probably an extreme example but hopefully it illustrates my 
point. If you want to share a sample dataset/ model I can try to have 
a look at how to resolve it.


Regards

On Tue, 20 Jul 2021 at 10:46, Richard McDonnell 
mailto:richard.mcdonn...@opw.ie>> wrote:


Nicolas,

I have not looked at this in too much detail, but at a quick
glance, could it not be the fact that you should be using the
newly created fields? As in instead of *@NamelengthField !=
@NamelengthField || '2'*, should it not be more like your previous
example *Length != Length2*

Regards,

Richard


——
Richard McDonnell MSc GIS, FME Certified Professional
/FRM Data Management/

——
Oifig na nOibreacha Poiblí
Office of Public Works

Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
Jonathan Swift Street, Trim, Co Meath, C15 NX36
——
M +353 87 688 5964 T +353 46 942 2409
https://gov.ie/opw <https://gov.ie/opw>

——
To send me files larger than 30MB, please use the link below
https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie
<https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie>

Email Disclaimer:
https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/
<https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/>


*From:*Qgis-user mailto:qgis-user-boun...@lists.osgeo.org>> *On Behalf Of *Nicolas
Cadieux
*Sent:* 20 July 2021 09:27
*To:* Qgis Users List mailto:qgis-user@lists.osgeo.org>>
*Subject:* Re: [Qgis-user] Problem using Model Inputs variable in
an Select by expression in the model Designer

Hi,

Does anyone have an idea?

Nicolas Cadieux

https://gitlab.com/njacadieux <https://gitlab.com/njacadieux>



Le 8 juill. 2021 à 01:17, Nicolas Cadieux
mailto:njacadieux.git...@gmail.com>> a écrit :



Hi,

I am creating a model that fixes Network files before they are
used in the QGIS Network analysis (Shortest path) tools.

This is my work flow:

 1. Create a "Length" field (value) and calculate $length in
the field calculator
 2. Split the Multipart lines into Singlepart lines
 3. Create a "Length*2*" field (value) and calculate $length
in the field calculator
 4. Select by expression Length != Length2.  This basically
gives me a selection of line that have been modified by
the Multipart to Singlepart algorithm. (I get 8 results)

This works well

The problem is when I create and Input String to let the user
create a "Length" field.  This become a variable called
@NamelengthField. My work flow become:

 1. User input "Length" in the Model input. (@NamelengthField)
 2. Create a "Length" field using @NamelengthField (as
pre-calculated value) and calculate $length in the field
calculator: This is OK
 3. Split the Multipart lines into Singlepart lines: This is OK
 4. Create a "Length2" field using @NamelengthField ||'2'  (as
pre-calculated value) and calculate $length in the field
calculator: This is OK this field (Length2) is created and
calculated properly.
 5. I get stuck  when I try Select by expression using 
@NamelengthField != @NamelengthField || '2' (as
pre-calculated value) (I get all lines back) and the test
does not work.

I tried stuff like

@NamelengthField != (@NamelengthField || '2')

'@NamelengthField != @NamelengthField || '2''

"@NamelengthField != @NamelengthField || '2'"

"@NamelengthField"|| !=|| "@NamelengthField || '2'"

Even simple @NamelengthField = 5.286365157529550 (which should
extract exactly one value).

Any ideas?

Nicolas

QGIS 3.18.2 on Windows 10

   

Re: [Qgis-user] Problem installing QGIS on Ubuntu 20.04 - key authentification

2021-07-28 Thread Andrea Giudiceandrea

Hi Eva and QGIS users,
finally the server at gibs.earthdata.nasa.gov was upgraded in order to 
support SHA256 (instead of SHA1) as peer signing digest algorithm.


So, it is now possible to properly connect to it using QGIS on Ubuntu 
20.04 without the need to lower the default SECURITY LEVEL from 2 to 1.


Regards.

Andrea Giudiceandrea


Wed, 26 Aug 2020 14:51:30 -0700, andreaer...@libero.it wrote:

Hi all,
I've reported the issue to supp...@earthdata.nasa.gov and it seems they are
committed to fix it:

"After looking into it, we recognize that this is an issue on our side and
will be addressing it within the next few weeks."


___
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] Problem using Model Inputs variable in an Select by expression in the model Designer

2021-07-20 Thread Nicolas Cadieux
Hi,

I see where this is going.  Good idea. I will think more like a python 
programmer here.  I will test and report back.  It may take a few days as I 
will simplify the model first and break it down. I might take you up on your 
offer for help and share the model and a test file. 
Thanks!

Nicolas Cadieux
https://gitlab.com/njacadieux

> Le 20 juill. 2021 à 05:53, Charles Dixon-Paver  a écrit :
> 
> to_string
___
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] Problem using Model Inputs variable in an Select by expression in the model Designer

2021-07-20 Thread Charles Dixon-Paver
Hi Nicholas,

I haven't had time to dig into this extensively or encountered this
particular issue, but I would suggest trying to "force" the expression to
retrieve the correct info regardless of context using something like this:

with_variable('Length2',  to_string(@NamelengthField) || '2',
if(attribute(to_string(@NamelengthField)) != attribute(@Length2), TRUE,
FALSE))

That's probably an extreme example but hopefully it illustrates my point.
If you want to share a sample dataset/ model I can try to have a look at
how to resolve it.

Regards

On Tue, 20 Jul 2021 at 10:46, Richard McDonnell 
wrote:

> Nicolas,
>
> I have not looked at this in too much detail, but at a quick glance, could
> it not be the fact that you should be using the newly created fields? As in
> instead of *@NamelengthField != @NamelengthField || '2'*, should it not
> be more like your previous example *Length != Length2*
>
>
>
> Regards,
>
>
>
> Richard
>
>
>
>
>
> ——
> Richard McDonnell MSc GIS, FME Certified Professional
> *FRM Data Management*
>
> ——
> Oifig na nOibreacha Poiblí
> Office of Public Works
>
> Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
> Jonathan Swift Street, Trim, Co Meath, C15 NX36
> ——
> M +353 87 688 5964 T +353 46 942 2409
> https://gov.ie/opw
>
> ——
> To send me files larger than 30MB, please use the link below
> https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie
>
> Email Disclaimer:
> https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/
>
> *From:* Qgis-user  *On Behalf Of *Nicolas
> Cadieux
> *Sent:* 20 July 2021 09:27
> *To:* Qgis Users List 
> *Subject:* Re: [Qgis-user] Problem using Model Inputs variable in an
> Select by expression in the model Designer
>
>
>
> Hi,
>
> Does anyone have an idea?
>
> Nicolas Cadieux
>
> https://gitlab.com/njacadieux
>
>
>
> Le 8 juill. 2021 à 01:17, Nicolas Cadieux  a
> écrit :
>
> 
>
> Hi,
>
> I am creating a model that fixes Network files before they are used in the
> QGIS Network analysis (Shortest path) tools.
>
> This is my work flow:
>
>1. Create a "Length" field (value) and calculate $length in the field
>calculator
>2. Split the Multipart lines into Singlepart lines
>3. Create a "Length*2*" field (value) and calculate $length in the
>field calculator
>4. Select by expression Length != Length2.  This basically gives me a
>selection of line that have been modified by the Multipart to Singlepart
>algorithm. (I get 8 results)
>
> This works well
>
> The problem is when I create and Input String to let the user create a
> "Length" field.  This become a variable called @NamelengthField. My work
> flow become:
>
>1. User input "Length" in the Model input. (@NamelengthField)
>2. Create a "Length" field using  @NamelengthField (as pre-calculated
>value) and calculate $length in the field calculator: This is OK
>3. Split the Multipart lines into Singlepart lines: This is OK
>4. Create a "Length2" field using  @NamelengthField ||'2'  (as
>pre-calculated value) and calculate $length in the field calculator: This
>is OK this field (Length2) is created and calculated properly.
>5. I get stuck  when I try Select by expression using
>@NamelengthField != @NamelengthField || '2' (as pre-calculated value) (I
>get all lines back) and the test does not work.
>
> I tried stuff like
>
> @NamelengthField != (@NamelengthField || '2')
>
> '@NamelengthField != @NamelengthField || '2''
>
> "@NamelengthField != @NamelengthField || '2'"
>
> "@NamelengthField"|| !=|| "@NamelengthField || '2'"
>
> Even simple @NamelengthField = 5.286365157529550 (which should extract
> exactly one value).
>
> Any ideas?
>
> Nicolas
>
> QGIS 3.18.2 on Windows 10
>
>
>
>
>
>
>
> --
>
> Nicolas Cadieux
>
> https://gitlab.com/njacadieux
>
> ___
> 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] Problem using Model Inputs variable in an Select by expression in the model Designer

2021-07-20 Thread Richard McDonnell
Nicolas,
I have not looked at this in too much detail, but at a quick glance, could it 
not be the fact that you should be using the newly created fields? As in 
instead of @NamelengthField != @NamelengthField || '2', should it not be more 
like your previous example Length != Length2

Regards,

Richard



——
Richard McDonnell MSc GIS, FME Certified Professional
FRM Data Management

——
Oifig na nOibreacha Poiblí
Office of Public Works

Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
Jonathan Swift Street, Trim, Co Meath, C15 NX36
——
M +353 87 688 5964 T +353 46 942 2409
https://gov.ie/opw

——
To send me files larger than 30MB, please use the link below 
https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie

Email Disclaimer: 
https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/
From: Qgis-user  On Behalf Of Nicolas Cadieux
Sent: 20 July 2021 09:27
To: Qgis Users List 
Subject: Re: [Qgis-user] Problem using Model Inputs variable in an Select by 
expression in the model Designer

Hi,
Does anyone have an idea?
Nicolas Cadieux
https://gitlab.com/njacadieux


Le 8 juill. 2021 à 01:17, Nicolas Cadieux 
mailto:njacadieux.git...@gmail.com>> a écrit :


Hi,

I am creating a model that fixes Network files before they are used in the QGIS 
Network analysis (Shortest path) tools.

This is my work flow:

  1.  Create a "Length" field (value) and calculate $length in the field 
calculator
  2.  Split the Multipart lines into Singlepart lines
  3.  Create a "Length2" field (value) and calculate $length in the field 
calculator
  4.  Select by expression Length != Length2.  This basically gives me a 
selection of line that have been modified by the Multipart to Singlepart 
algorithm. (I get 8 results)

This works well

The problem is when I create and Input String to let the user create a "Length" 
field.  This become a variable called @NamelengthField. My work flow become:

  1.  User input "Length" in the Model input. (@NamelengthField)
  2.  Create a "Length" field using  @NamelengthField (as pre-calculated value) 
and calculate $length in the field calculator: This is OK
  3.  Split the Multipart lines into Singlepart lines: This is OK
  4.  Create a "Length2" field using  @NamelengthField ||'2'  (as 
pre-calculated value) and calculate $length in the field calculator: This is OK 
this field (Length2) is created and calculated properly.
  5.  I get stuck  when I try Select by expression using  @NamelengthField != 
@NamelengthField || '2' (as pre-calculated value) (I get all lines back) and 
the test does not work.

I tried stuff like

@NamelengthField != (@NamelengthField || '2')

'@NamelengthField != @NamelengthField || '2''

"@NamelengthField != @NamelengthField || '2'"

"@NamelengthField"|| !=|| "@NamelengthField || '2'"

Even simple @NamelengthField = 5.286365157529550 (which should extract exactly 
one value).

Any ideas?

Nicolas

QGIS 3.18.2 on Windows 10







--

Nicolas Cadieux

https://gitlab.com/njacadieux
___
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] Problem using Model Inputs variable in an Select by expression in the model Designer

2021-07-20 Thread Nicolas Cadieux
Hi,
Does anyone have an idea?

Nicolas Cadieux
https://gitlab.com/njacadieux

> Le 8 juill. 2021 à 01:17, Nicolas Cadieux  a 
> écrit :
> 
> 
> Hi,
> 
> I am creating a model that fixes Network files before they are used in the 
> QGIS Network analysis (Shortest path) tools.
> 
> This is my work flow:
> 
> Create a "Length" field (value) and calculate $length in the field calculator
> Split the Multipart lines into Singlepart lines
> Create a "Length2" field (value) and calculate $length in the field calculator
> Select by expression Length != Length2.  This basically gives me a selection 
> of line that have been modified by the Multipart to Singlepart algorithm. (I 
> get 8 results)
> This works well
> 
> The problem is when I create and Input String to let the user create a 
> "Length" field.  This become a variable called @NamelengthField. My work flow 
> become:
> 
> User input "Length" in the Model input. (@NamelengthField)
> Create a "Length" field using  @NamelengthField (as pre-calculated value) and 
> calculate $length in the field calculator: This is OK
> Split the Multipart lines into Singlepart lines: This is OK
> Create a "Length2" field using  @NamelengthField ||'2'  (as pre-calculated 
> value) and calculate $length in the field calculator: This is OK this field 
> (Length2) is created and calculated properly. 
> I get stuck  when I try Select by expression using  @NamelengthField != 
> @NamelengthField || '2' (as pre-calculated value) (I get all lines back) and 
> the test does not work.
> I tried stuff like
> 
> @NamelengthField != (@NamelengthField || '2')
> 
> '@NamelengthField != @NamelengthField || '2''
> 
> "@NamelengthField != @NamelengthField || '2'"
> 
> "@NamelengthField"|| !=|| "@NamelengthField || '2'"
> 
> Even simple @NamelengthField = 5.286365157529550 (which should extract 
> exactly one value).  
> 
> Any ideas?
> 
> Nicolas
> 
> QGIS 3.18.2 on Windows 10 
> 
> 
> 
> 
> 
> 
> 
> -- 
> Nicolas Cadieux
> https://gitlab.com/njacadieux
___
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


  1   2   3   4   5   6   7   8   9   10   >