[Qgis-user] QGIS Qt6 Wayland ongoing status

2024-01-16 Thread chris hermansen via QGIS-User
I have been trying to find a mostly definitive and mostly up-to-date
conversation about the status of QGIS, Qt6 and Wayland and I'm not having
any luck.

There is some stuff on GitHub but it seems to be at least a year or two
old, talking about Qt6.0 and I gather we are at Qt6.6 by now.  Plus endless
short conversations in places like Reddit that throw off more heat than
light.

Does anyone have any suggestions as to where to keep informed on this
topic?  Because it seems like Wayland is coming whether we want it or not...

Thanks in advance

-- 
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] Migrating QGIS User mailing list to OSGeo Discourse, yes or no?

2024-01-16 Thread Adam Nielsen via QGIS-User
> The main advantage of the forum like mode is the ability to search
> for old topic and possibly easily get answers for your questions
> before posting a new question

Perhaps it needs to be a bit more obvious, but you can search the list
for old topics if you use a query like this in most search engines:

  site:lists.osgeo.org/pipermail/qgis-user/ search terms here

There is also https://gis.stackexchange.com/ which has a lot of Q
posts related to QGIS for people who prefer a more modern interface.

> also might be a bit more attractive for new comers

I think the main issue when discussing where to provide support is
what's easiest for the people who answer the questions.  If you make it
too easy for people to post questions, they will post before doing their
own research which just leads to the same questions coming up
repeatedly.  If you make it too hard for the people with the answers -
like asking them to refresh a dozen different web pages every day
looking for new questions - then they will give up and the questions
will go unanswered.

So really, where the communication happens is ultimately up to whoever
is willing to answer the incoming questions.  The people with questions
will find you no matter where you are, it's the ones willing to provide
the answers that you need to cater for.

Personally, having the questions arrive with no interaction on my part,
and all in one place (my inbox, from many different projects, not just
QGIS) and only requiring one button click to send a reply, makes it
really easy to send a response if I feel I can provide an answer.  So as
long as a new system makes the process just as easy then there's
certainly no harm in trying it out.

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


Re: [Qgis-user] Migrating QGIS User mailing list to OSGeo Discourse, yes or no?

2024-01-16 Thread Greg Troxel via QGIS-User
Alexandre Neto via QGIS-User  writes:

> Seems that OsGeo is providing a Discourse instance. Discourse seems to
> be something that can work both as a mailing list and a forum. The

Yes, osgeo has set up discourse, but from lurking I would not describe
it as having passed acceptance testing.  My impression is that discourse
sort of works as a mailing list, but not quite.  So I would advise
waiting until osgeo discourse can be firmly sorted into "meets
requirements".
___
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] Migrating QGIS User mailing list to OSGeo Discourse, yes or no?

2024-01-16 Thread Alexandre Neto via QGIS-User
Hi all,

Seems that OsGeo is providing a Discourse instance. Discourse seems to be 
something that can work both as a mailing list and a forum. The main advantage 
of the forum like mode is the ability to search for old topic and possibly 
easily get answers for your questions before posting a new question. also might 
be a bit more attractive for new comers (but that's a bold statement).

https://discourse.osgeo.org/ 

Seems that the full archive of the current mailing list can be imported into 
discourse, and users using the same email address to register in discourse will 
get their messages linked to their user. Discourse can also work as a read only 
mirror of the current mailing list to allow searching, but not posting new 
stuff.

https://discourse.osgeo.org/t/moving-your-mailing-list-to-osgeo-discourse/6765 


The biggest threat is, as always, scattering the community a bit more.

For folks that cannot follow community chats (very time consuming with no 
historic) mailing lists and forums may be a better alternative.

Alexandre Neto

Sent with Shortwave 
___
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] Fail to show markers in a vector layer

2024-01-16 Thread Simone Melis via QGIS-User
Thanks for your answer. Now I can use correctly 
QgsCategorizedSymbolRenderer and show markers. Now I've another 
question. I would like put near each marker a label. I can do it in QGIS 
Desktop 3.26 in section Labels for my vector layer. Can you suggest a 
way to do this using qgsi api c++ (Qt 5.15.2 in ubuntu 20.04) Regards, 
Simone

Il 13/01/2024 12:03, Adam Nielsen ha scritto:

I created a vector layer and I can show correctly a georeferenced pdf
image.
Then I added another transparent layer  (vector layer) and I tried to
add markers in lat,long points.
Using QgsSimpleMarkerSymbolLayer I can inserted correctly all markers of
the same shape and color. Then I tried to add markers with different
shapes and colors on the same layers; using QgsSimpleMarkerSymbolLayer I
show only one kind of marker. Browsing on internet I found an example to
use QgsCategorizedSymbolRenderer. I tried to implement it in my code but
no markers shown. Can you suggest a correct way to do this?

You should try to do this through the normal QGIS GUI, then once you
have it working in the GUI you will have a better understanding of what
your code needs to achieve.

I haven't tried to do it in code, but:


def_symbol->symbolLayers()[0]->setColor(Qt::red);
def_symbol->symbolLayers()[0]->setColor(Qt::blue);

Here you're just changing settings on the same symbol, so you'll only
end up with one symbol.


QgsCategorizedSymbolRenderer*categorizedRenderer=newQgsCategorizedSymbolRenderer("Category");
QgsRendererCategorybsprxCategory("A",def_symbol->clone(),"RX",true);
categorizedRenderer->addCategory(bsprxCategory);

QgsRendererCategorybsptxCategory("B",def_symbol->clone(),"TX",true);
categorizedRenderer->addCategory(bsptxCategory);

Here you're saying when your Category field is "A", use the same symbol
as when your Category field is "B".  You'll have to assign different
symbols if you want them to appear differently.

I guess you want to call def_symbol->clone() first, then change the
colour on the clone, before assigning it to Category A or B.

Cheers,
Adam.


--

--
Questa email è stata esaminata alla ricerca di virus dal software antivirus 
Avast.
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


Re: [Qgis-user] NTv2-transformation: different output values in QGIS and GDAL

2024-01-16 Thread andy via QGIS-User
Hi Even,

On Tue, 16 Jan 2024 at 13:14, Even Rouault 
wrote:

> Did you try with the full path
> +nadgrids=C:\OSGeo4W\share\proj\ItalyED50toWGS84_NTV2_GN.gsb ?
>

Yes, and I had the same problem.

I have solved upgrading to 3.28.14.
But I don't have what Totò wrote, it doesn't ask me to install anything.
But I have the same output coordinates as gdal.


> But, what is the history of this "ghost" grid that requires fetching it
> from web.archive.org ? Has it had some official status, and could it be
> provided under an open data license ? If so, it would be great if Italian
> authorities could register to IOGP/EPSG this grid for ED50 -> WGS 84 for
> Italy... Then we could ship it in PROJ-data.
>
> But I remember complicated discussion at FOSS4G Firenze with the guys from
> the geodetic authority (https://www.igmi.org) Not sure if that has
> lead to anywhere.
>
Italy is not a good country:

- cadastral data are not open (we only have open a not very useful WMS);
- the Italian post codes polygons are not open;
- we do not have official grids open.

I'm using the gsb file created from the great Ernesto Sferlazza [1].
IGMI believes that it should not apply open data laws to this very general
interest data. I do not know the reasons for this choice.

Thank you Even an Totò

[1]
https://www.provincia.agrigento.it/flex/files/D.269115642901971a8757/generazione_ed_utilizzo_delle_griglie_NTV2.pdf

-- 
___

Andrea Borruso
website: https://medium.com/tantotanto
38° 7' 48" N, 13° 21' 9" E, EPSG:4326
___

"cercare e saper riconoscere chi e cosa,
 in mezzo all’inferno, non è inferno,
e farlo durare, e dargli spazio"

Italo Calvino
___
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] NTv2-transformation: different output values in QGIS and GDAL

2024-01-16 Thread Even Rouault via QGIS-User

Le 16/01/2024 à 11:59, andy via QGIS-User a écrit :

Hi,
I'm doing NTv2-transformation, using this gsb file:
https://web.archive.org/web/20201018143532/https://provincia.agrigento.sitr.it/scaricabili/NTv2/ItalyED50toWGS84_NTV2_GN.gsb

I have copied it in "C:\OSGeo4W\share\proj" and I have defined this 
custom projection:
+proj=utm +zone=33 +ellps=intl +nadgrids=ItalyED50toWGS84_NTV2_GN.gsb 
+units=m +no_defs +type=crs


If I test it in QGIS, in the custom CRS window, using lon=13 and 
lat=38, I have in output:

324388.7743
4207772.1972


Did you try with the full path 
+nadgrids=C:\OSGeo4W\share\proj\ItalyED50toWGS84_NTV2_GN.gsb ?


If I do that (well on Linux: "+proj=utm +zone=33 +ellps=intl 
+nadgrids=/home/even/qgis/qgis/build_ubuntu2204/ItalyED50toWGS84_NTV2_GN.gsb 
+units=m +no_defs"), I do get the correct result 324454.6136 
4207894.9261 in QGIS (master)


But, what is the history of this "ghost" grid that requires fetching it 
from web.archive.org ? Has it had some official status, and could it be 
provided under an open data license ? If so, it would be great if 
Italian authorities could register to IOGP/EPSG this grid for ED50 -> 
WGS 84 for Italy... Then we could ship it in PROJ-data.


But I remember complicated discussion at FOSS4G Firenze with the guys 
from the geodetic authority (https://www.igmi.org) Not sure if that 
has lead to anywhere.


Even

--
http://www.spatialys.com
My software is free, but my time generally not.
___
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] NTv2-transformation: different output values in QGIS and GDAL

2024-01-16 Thread andy via QGIS-User
Grazie Toto.

In QGIS 3.28.2-Firenze I am not asked to install anything.
Maybe it is a bug in this version.

Greetings :)

>
-- 
___

Andrea Borruso
website: https://medium.com/tantotanto
38° 7' 48" N, 13° 21' 9" E, EPSG:4326
___

"cercare e saper riconoscere chi e cosa,
 in mezzo all’inferno, non è inferno,
e farlo durare, e dargli spazio"

Italo Calvino
___
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] NTv2-transformation: different output values in QGIS and GDAL

2024-01-16 Thread Totò Fiandaca via QGIS-User
I followed this guide [1], but as soon as I click on calculate appears (in
the mapcanvas) the message that you need to install the grid.
Clicking on install, I inserted the path that points to the grilled,
from me gives results ok.

[1]
https://docs.qgis.org/3.28/en/docs/user_manual/working_with_projections/working_with_projections.html#integrate-an-ntv2-transformation-in-qgis

saluti

Il giorno mar 16 gen 2024 alle ore 12:00 andy via QGIS-User <
qgis-user@lists.osgeo.org> ha scritto:

> Hi,
> I'm doing NTv2-transformation, using this gsb file:
>
> https://web.archive.org/web/20201018143532/https://provincia.agrigento.sitr.it/scaricabili/NTv2/ItalyED50toWGS84_NTV2_GN.gsb
>
> I have copied it in "C:\OSGeo4W\share\proj" and I have defined this custom
> projection:
> +proj=utm +zone=33 +ellps=intl +nadgrids=ItalyED50toWGS84_NTV2_GN.gsb
> +units=m +no_defs +type=crs
>
> If I test it in QGIS, in the custom CRS window, using lon=13 and lat=38, I
> have in output:
> 324388.7743
> 4207772.1972
>
> If I do the same in gdal, running
>
> gdaltransform --debug ON -s_srs EPSG:4326 -t_srs "+proj=utm +zone=33
> +ellps=intl +nadgrids=C:\OSGeo4W\share\proj\ItalyED50toWGS84_NTV2_GN.gsb
> +units=m +no_defs +type=crs"
>
> I get
> 324454.613619553
> 4207894.92605038
>
> Why do I have these differences? Am I doing something wrong?
>
> I'm using QGIS 3.28.2-Firenze and GDAL 3.6.2, released 2023/01/02, in
> Windows 11.
>
> Thank you,
>
> Andrea
>
> --
> ___
>
> Andrea Borruso
> website: https://medium.com/tantotanto
> 38° 7' 48" N, 13° 21' 9" E, EPSG:4326
> ___
>
> "cercare e saper riconoscere chi e cosa,
>  in mezzo all’inferno, non è inferno,
> e farlo durare, e dargli spazio"
>
> Italo Calvino
> ___
> 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
>


-- 
*Ing. Salvatore Fiandaca*
*mobile*.:+39 327.493.8955
*m*: *pigrecoinfin...@gmail.com *
*C.F*.: FNDSVT71E29Z103G
*P.IVA*: 06597870820
*membro QGIS Italia - http://qgis.it/ *
*socio GFOSS.it - *http://gfoss.it/
*member OSGeo* - *https://www.osgeo.org/member/fiandaca/*

*blog:*
* https://pigrecoinfinito.com/  FB: Co-admin
- https://www.facebook.com/qgis.it/ **
 *
*TW:  **https://twitter.com/totofiandaca
*

43°51'0.54"N  10°34'27.62"E - EPSG:4326

“Se la conoscenza deve essere aperta a tutti,
perchè mai limitarne l’accesso?”
R. Stallman

Questo documento, allegati inclusi, contiene informazioni di proprietà di
FIANDACA SALVATORE e deve essere utilizzato esclusivamente dal destinatario
in relazione alle finalità per le quali è stato ricevuto. E' vietata
qualsiasi forma di riproduzione o divulgazione senza l'esplicito consenso
di FIANDACA SALVATORE. Qualora fosse stato ricevuto per errore si prega di
informare tempestivamente il mittente e distruggere la copia in proprio
possesso.
___
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] Use of "description column" in "value relation widget"

2024-01-16 Thread Klaus Mithöfer via QGIS-User

Dear all,

I'd like to use the "description column" in "value relation widget". I 
thought I could create an expression fro the drop-down list like 
concat("field1","field2"). But it doesn't work. What ist the 
"description column" good for?


Kind regards
Klaus
___
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] NTv2-transformation: different output values in QGIS and GDAL

2024-01-16 Thread andy via QGIS-User
Hi,
I'm doing NTv2-transformation, using this gsb file:
https://web.archive.org/web/20201018143532/https://provincia.agrigento.sitr.it/scaricabili/NTv2/ItalyED50toWGS84_NTV2_GN.gsb

I have copied it in "C:\OSGeo4W\share\proj" and I have defined this custom
projection:
+proj=utm +zone=33 +ellps=intl +nadgrids=ItalyED50toWGS84_NTV2_GN.gsb
+units=m +no_defs +type=crs

If I test it in QGIS, in the custom CRS window, using lon=13 and lat=38, I
have in output:
324388.7743
4207772.1972

If I do the same in gdal, running

gdaltransform --debug ON -s_srs EPSG:4326 -t_srs "+proj=utm +zone=33
+ellps=intl +nadgrids=C:\OSGeo4W\share\proj\ItalyED50toWGS84_NTV2_GN.gsb
+units=m +no_defs +type=crs"

I get
324454.613619553
4207894.92605038

Why do I have these differences? Am I doing something wrong?

I'm using QGIS 3.28.2-Firenze and GDAL 3.6.2, released 2023/01/02, in
Windows 11.

Thank you,

Andrea

-- 
___

Andrea Borruso
website: https://medium.com/tantotanto
38° 7' 48" N, 13° 21' 9" E, EPSG:4326
___

"cercare e saper riconoscere chi e cosa,
 in mezzo all’inferno, non è inferno,
e farlo durare, e dargli spazio"

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