Re: [QGIS-Developer] WKT from QgsGeometry incompatible with OGR

2024-07-06 Thread Andrea Giudiceandrea via QGIS-Developer

Il 06/07/2024 10:33, Jorge Gustavo Rocha via QGIS-Developer ha scritto:

 >>> import shapely
 >>> shapely.to_wkt(shapely.Point(0, 0, 0))
'POINT Z (0 0 0)'
 >>> shapely.from_wkt('POINT Z (0 0 0)')



Anyway, it looks like also "PointZ" and "PointM" (besides "POINT Z" and 
"POINT M") are recognised by shapely (2.0.3 with GEOS 3.12.2):


>>> shapely.from_wkt('PointZ (0 0 0)')

>>> shapely.from_wkt('PointM (0 0 0)')


Moreover, ogr (OGR/GDAL 3.9.1) recognises "PointM" (but not "PointZ"):

>>> ogr.CreateGeometryFromWkt('PointM (0 0 0)').ExportToIsoWkt()
'POINT M (0 0 0)'


Regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] qgis 3.38 for Mac

2024-06-28 Thread Andrea Giudiceandrea via QGIS-Developer

Il 28/06/2024 08:42, Enzo Cocca via QGIS-Developer ha scritto:
Hi, I would like to report that the qgis version 3.38.0 for the Mac, 
that uploads from qgis.org , it installs 3.36


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

See also :

https://github.com/qgis/QGIS-Website/pull/1259
https://lists.osgeo.org/pipermail/qgis-user/2023-November/053628.html

Regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] qgis 3.38 for Mac

2024-06-28 Thread Andrea Giudiceandrea via QGIS-Developer

Il 28/06/2024 08:42, Enzo Cocca via QGIS-Developer ha scritto:
Hi, I would like to report that the qgis version 3.38.0 for the Mac, 
that uploads from qgis.org , it installs 3.36.


Hi Enzo and developers,
thanks for bringing the issue ( which has been already recently reported 
[1]) to the attention of the developer community.


Unfortunately, the possible mismatch between the current macOS version 
advertised to be downloaded on the Website and in QGIS Desktop for macOS 
users and the version actually downloaded from the Website is a 
longstanding issue not yet fixed [2].

The issue has occurred several times in recent years [3].

Regards.

Andrea

[1] https://github.com/qgis/QGIS-Website/issues/1258
[2] https://github.com/qgis/QGIS-Website/issues/925
[3]
https://github.com/qgis/QGIS/issues/44381
https://github.com/qgis/QGIS/issues/44408
https://github.com/qgis/QGIS-Mac-Packager/issues/136
https://github.com/qgis/QGIS-Website/issues/926
https://github.com/qgis/QGIS/issues/44526
https://github.com/qgis/QGIS-Mac-Packager/issues/137
https://github.com/qgis/QGIS-Website/issues/1199
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Maintainance of QGIS Plugin repository

2024-06-14 Thread Andrea Giudiceandrea via QGIS-Developer

Hi all,
has there been a follow-up to this discussion?

I think I've missed it.

Regards.

Andrea

Il 01/05/2024 09:33, Andrea Giudiceandrea ha scritto:

Il 30/04/2024 15:41, Admire Nyakudya via QGIS-Developer ha scritto:
Over the years there has been a steady increase in plugins that are 
not approved <https://plugins.qgis.org/plugins/unapproved/>. 

Hi Admire,
thanks for sharing these info!

Looking at the list of the 51 unapproved plugins, I see something which 
seems strange to me:


- there are some unapproved plugins for which it is reported a number of 
downloads > 0 and also a number of "votes" > 0 although there is no 
version available to be downloaded (e.g. "BigQuery Layers", 
"FastVersion"): how is it possible?


- there are some unapproved plugins having various version available to 
be downloaded for which it is reported a great number of downloads and a 
great number of "votes" and that are very recently updated (e.g. 
"OpenQuake Integrated Risk Modelling Toolkit", "Lizmap" whihc is also 
flagged as "Featured"): are they mistakenly listed among the unapproved 
plugins?


Best regards.

Andrea

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] [Qgis-user] Looking for assistance with fixing RTL label bugs

2024-06-04 Thread Andrea Giudiceandrea via QGIS-Developer

Il 03/06/2024 10:49, Nyall Dawson ha scritto:

It's definitely still an issue for curved labels.


Another related issue is https://github.com/qgis/QGIS/issues/57123 about 
HTML and text annotations containing RTL text, which occurs on Windows 
even using QGIS 3.36.3 and QGIS 3.34.7.


Regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] [Qgis-user] Looking for assistance with fixing RTL label bugs

2024-06-03 Thread Andrea Giudiceandrea via QGIS-Developer

Il 03/06/2024 10:49, Nyall Dawson ha scritto:

It's definitely still an issue for curved labels.


The issue about curved RTL  labels has been reported about 10 years ago 
https://github.com/qgis/QGIS/issues/21940 since QGIS 2 and confirmed by 
users at least until QGIS 3.28.8 and QGIS 3.32.0.


I can confirm such issue also occurs on my Windows 10 system (on which 
the https://github.com/qgis/QGIS/issues/54098 issue didn't occur) even 
using QGIS 3.34.7 and QGIS 3.36.3 from OSGeo4W.


So I think https://github.com/qgis/QGIS/issues/54098 can now be closed 
as an upstream issue, while https://github.com/qgis/QGIS/issues/21940 is 
still a valid QGIS issue.


Regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] [Qgis-user] Looking for assistance with fixing RTL label bugs

2024-06-03 Thread Andrea Giudiceandrea via QGIS-Developer

Hi all,
various user are reporting that the issue no longer occurs on Windows 
using  QGIS 3.34.6 and QGIS 3.36.3 from OSGeo4W.


Since the OSGeo4W installers of both such versions (3.34.6 and 3.36.3) 
ship a bunch of updated libraries [1] (with the Qt library among them), 
then it looks like the root cause of the issue may have been due to a 
library used by QGIS and not to QGIS itself.


Best regards.

Andrea

[1] https://lists.osgeo.org/pipermail/qgis-developer/2024-April/066691.html

Il 29/05/2024 12:30, Micha Silver via QGIS-Developer ha scritto:
Again thanks for your efforts. I'm sure we'll land on the source of the 
prob, and find a solution. As I said, I don't think this is a QGIS 
issue. The underlying bidi library should handle this, AFAIK.

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] High load on plugins.qgis.org

2024-05-15 Thread Andrea Giudiceandrea via QGIS-Developer

Il 15/05/2024 11:11, Tim Sutton ha scritto:
The page is by Klas Karlsson and features only his own work, so 
perfectly legitimate. Klas is probably the most prolific contributor the 
style hub


Great! Thanks for the clarification.

Regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] High load on plugins.qgis.org

2024-05-14 Thread Andrea Giudiceandrea via QGIS-Developer

Il 15/05/2024 01:25, Tim Sutton via QGIS-Developer ha scritto:
We have been experiencing a very high load on the plugins server. 


Hi Tim,
recently Salvatore Fiandaca spotted a website at 
http://qgis-hub.fast-page.org/ (only http) claiming to be a QGIS Hub for 
collections of free to use QGIS style xml-files and layout qpt-files.
Is it managed by QGIS.org or somebody known? If not, may it have 
something to do with the plugins server issues (someone scraping 
styles/layouts/plugins)?


Regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Maintainance of QGIS Plugin repository

2024-05-01 Thread Andrea Giudiceandrea via QGIS-Developer

Il 30/04/2024 15:41, Admire Nyakudya via QGIS-Developer ha scritto:
Over the years there has been a steady increase in plugins that are not 
approved . 

Hi Admire,
thanks for sharing these info!

Looking at the list of the 51 unapproved plugins, I see something which 
seems strange to me:


- there are some unapproved plugins for which it is reported a number of 
downloads > 0 and also a number of "votes" > 0 although there is no 
version available to be downloaded (e.g. "BigQuery Layers", 
"FastVersion"): how is it possible?


- there are some unapproved plugins having various version available to 
be downloaded for which it is reported a great number of downloads and a 
great number of "votes" and that are very recently updated (e.g. 
"OpenQuake Integrated Risk Modelling Toolkit", "Lizmap" whihc is also 
flagged as "Featured"): are they mistakenly listed among the unapproved 
plugins?


Best regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] GDAL processing algorithms issues due the default output layer extensions weirdly changed

2024-04-28 Thread Andrea Giudiceandrea via QGIS-Developer

Abdul Raheem Siddiqui abdulraheemsiddiqui at gmail.com
Sat Apr 27 15:36:55 PDT 2024
multiple people
have reported this issue. They are saying they never changed the default
format themselves.


In fact, the issue continues to be reported for various GDAL processing 
algorithms.


For example, the following ones are the most recent reports regarding 
the default output layer extensions issue:


- https://github.com/qgis/QGIS/issues/54375
- https://github.com/qgis/QGIS/issues/55110#issuecomment-1873415345
- https://github.com/qgis/QGIS/issues/57250
- https://github.com/qgis/QGIS/issues/57267

Best regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] qgis.org/ubuntugis down or not responding

2024-04-21 Thread Andrea Giudiceandrea via QGIS-Developer

Il 21/04/2024 14:50, Jürgen E. Fischer via QGIS-Developer ha scritto:

qgis2.qgis.org was apparently dead.  Rebooted.  Builds restarted…


It looks like also https://issues.qgis.org/ (where the Redmine Issue 
reports are stored, e.g. https://issues.qgis.org/issues/12193) is not 
working:


***
This website is under heavy load
We're sorry, too many people are accessing this website at the same 
time. We're working on this problem. Please try again later.

***

Best regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Qt6 python plugins: visual hint in PluginManager plugin list?

2024-03-15 Thread Andrea Giudiceandrea via QGIS-Developer



___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] GDAL processing algorithms issues due the default output layer extensions weirdly changed

2024-03-14 Thread Andrea Giudiceandrea via QGIS-Developer
I've recently seen 3 other reports from as many users [1] [2] [3] using 
QGIS 3.36 and QGIS 3.34 about the same issue which completely disrupts 
the functionality of the GDAL processing algorithms.


Maybe the fix could be to just totally avoid to use the "-1" value as 
the default for the "Default output [vector|raster] layer extension" and 
use the value 0 instead. I don't have enough knowledge of the settings 
logic to propose a fix, anyway I think it would be great if the 
underlying root cause of the issue could be fixed ASAP.


Best regards.

[1] https://github.com/qgis/QGIS/issues/56588
[2] 
https://gis.stackexchange.com/questions/478050/raster-to-vector-bunch-of-errors/

[3] https://lists.osgeo.org/pipermail/qgis-user/2024-March/054176.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Qt6 python plugins: visual hint in PluginManager plugin list?

2024-02-29 Thread Andrea Giudiceandrea via QGIS-Developer

Il 29/02/2024 13:00, Richard Duivenvoorde via QGIS-Developer ha scritto:

And pop up the attached screenshot.


I think the error message

"The plugin is not compatible with this version of QGIS.
It's designed for QGIS versions: Plugin does not support Qt6 versions of 
QGIS"


should also be tweaked.
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] GDAL processing algorithms issues due the default output layer extensions weirdly changed

2024-02-25 Thread Andrea Giudiceandrea via QGIS-Developer

Hi all,

Il 26/02/2024 00:23, Nyall Dawson ha scritto:
> Hmm, I wonder if it's a plugin changing this setting. I've definitely
> seen plugins before doing unfriendly things like this...

I also suspected that a plugin may be involved, but I was unable to find 
a common plugin in all the reports.


Now it seems to me more likely that it may be the management of the 
settings, after seeing https://github.com/qgis/QGIS/issues/53204 and 
https://github.com/qgis/QGIS/pull/53458 precisely relating to the 
DefaultOutputRasterLayerExt and the DefaultOutputVectorLayerExt settings 
and the -1 index.



Il 26/02/2024 01:38, Even Rouault ha scritto:
> For example when using the ".xml" extension as a vector output, you'll
> probably be surprised that the obscure PDS4 vector driver (tabular data
> for planetary datasets) is used!

==> Those settings should actually be deprecated and replaced by others 
that save a GDAL driver name ... plus an extension, because the "MapInfo 
File" driver produces quite different output if you chose ".tab" or 
".mif" (or the GeoJSONSeq driver that will use different separators if 
you select the ".geojsonl" or ".geojsons" extensions)


The problem occurs also when saving the algorithm output to a file, 
instead of a temporary output, and choosing an extension.



Best regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


[QGIS-Developer] GDAL processing algorithms issues due the default output layer extensions weirdly changed

2024-02-25 Thread Andrea Giudiceandrea via QGIS-Developer

Hi developers,
various QGIS users have reported during the latest months (mostly since 
September 2023, and a couple also back in July 2023) on various channels 
a strange issue which makes the GDAL processing algorithms to fail when 
the temporary output is set.


Looking at the provided processing logs, it turns out that the issue is 
due to the fact that the default output vector layer extension was set 
to .xtf "Interlis 2" (instead of the default .gpkg "GeoPackage") or that 
the default output raster layer extension was set to .nc "NetCDF" 
(instead of the default .tif "GeoTIFF").


The weird think is that all the users affected by the issue have 
reported that they had not deliberately changed these settings.


Currently there is no issue report open on GitHub since they have been 
closed one by the reporter and one as duplicate.
Anyway the issues reports were about the processing issues and not about 
the "who changed the default output layer extensions?" issue.


I tried without success to find out what's going on and I hope some 
developers can have a look and find the root cause of the issue, since 
the issue continues to be reported by the users.
Actually the issue can also affect both the QGIS and the GRASS 
processing algorithms that have a raster output, although not reported yet.


Since both the layer extensions .xtf "Interlis 2" and .nc "NetCDF" are 
the last one (i.e. index -1) in the default output vector layer 
extension list and the the default output raster layer extension list, 
It may be possible that the issue may be due to the recent changes in 
the settings storing / retrieving logic.


You'll find the links to a dozen reports (either on GitHub, 
stackexchange, qgis-user ml, Facebook groups) listed in the comments of 
the closed issue report at https://github.com/qgis/QGIS/issues/54952


Best regards.

Andrea Giudiceandrea


P.S. while writing this message I found an issue report 
https://github.com/qgis/QGIS/issues/53204 and a PR 
https://github.com/qgis/QGIS/pull/53458 allegedly fixing it both dating 
May 2023 precisely relating to the DefaultOutputRasterLayerExt and the 
DefaultOutputVectorLayerExt settings.

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Could not execute: INSERT INTO tbl_sr during ninja install

2024-02-16 Thread Andrea Giudiceandrea via QGIS-Developer

Il 16/02/2024 14:11, Paul N via QGIS-Developer ha scritto:
Could not execute: INSERT INTO tbl_srs(srs_id, 
description,projection_acronym,ellipsoid_acronym,parameters,srid,auth_name,auth_id,is_geo,deprecated,srs_type) VALUES (64078, 'Neptune (2015) / Ographic / Mercator','merc','merc','+proj=merc +R_C +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +a=24764000 +b=24341000 +units=m +no_defs',520004078,'IAU_2015','89991',0,0,'Projected') [UNIQUE constraint failed: tbl_srs.srs_id/UNIQUE constraint failed: tbl_srs.srs_id]


Hi Paul N,
it looks like that issue happens from time to time. Anyway I suppose 
such issue may have been already fixed. See 
https://github.com/qgis/QGIS/pull/56317/commits/aa7317e4239e88252c3327bcccd27646062087aa


Which commit are have you build on?

Best regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Shapefile not shown correctly in some areas

2024-01-14 Thread Andrea Giudiceandrea via QGIS-Developer

Il 14/01/2024 04:56, Colin Sare-Soar via QGIS-Developer ha scritto:

Regarding my post on this subject, I mentioned that I had no tooltips on any of 
the toolbar icons.
> I tried the Settings/Interface customization menu item to see if 
there was a setting in there but the window just freezes.


Hi Colin,
try if the issue also occurs using a new QGIS user profile [1].
If the issue also occurs using a new QGIS user profile, then please file 
an issue report on the GitHub QGIS source code repository [2].


Best regards.

Andrea


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

[2] https://github.com/qgis/QGIS/issues
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Shapefile not correctly shown in some areas

2024-01-13 Thread Andrea Giudiceandrea via QGIS-Developer

Hi all,


> Colin Sare-Soar colin.saresoar at terrashape.co.uk
> Fri Jan 12 19:21:21 PST 2024
> I cannot see the point numbers or any info. The table is blank.

This is due to the fact the the .dbf sidecar file which stores the 
fields names and values has not been provided or has not been created at 
all.



> Il 12/01/2024 17:11, Aurélie Tisson (BastaPrint) via QGIS-Developer 
ha scritto:
If my viewing area includes the point 1612, I see all 
the points, well aligned, but I cannot click points 1613 and further.
If I zoom in, or if I move the area and the point 1612 is out of the 
area, I see nothing anymore.


It looks like this issue is due to the fact that the extent stored in 
the .shp and in the .shx files is incorrect.


As you can see in the Layer Properties / Information dialog window, the 
extent stored for such layer is:


645765.5000,6860847. :
645766.3750,6860852.

The points with Feature ID from 0 to 34 and from 1613 to 2000 are 
outside such extent.


As suggested by Richard, just exporting the layer in a new ESRI 
Shapefile layer will write the right extent in the .shp and .shx files 
and the issue will not occur using the new layer.


While I guess there is an issue in the code used to create the ESRI 
Shapefile layer, which not correctly updates the extent of the created 
layer, I also see some issue in QGIS itself and or in the GDAL/OGR library:


- QGIS should be less strict and also display the features outside the 
stored extent and or warn the user about the incorrect extent
- the "Updade extent" functionality in the Layer Properties / Source 
dialog window seems not working, at least for ESRI Shapefile layers
- the "Repair Shapefile" processing algorithm (based on GDAL/OGR 
functionality) doesn't repair the incorrect extent stored in the .shx file.


Best regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] QGIS Documentation Writer

2024-01-12 Thread Andrea Giudiceandrea via QGIS-Developer

Il 12/01/2024 17:51, Selma Vidimlic via QGIS-Developer ha scritto:

This week, I dedicated some time to investigating older issues, 
attempting to determine whether they still need to remain open. During 
this process, I came across the issue titled Add a check box in the 
sublayer selection dialog to control whether system and internal tables 
should be shown 
, it seems like 
a small change (in documentation), but I'm having trouble finding the 
"sublayer selection dialog." If someone could explain what that means 
and how I can access it, I would appreciate it.


Hi Selma,
the "Show system and internal tables" checkbox is visible in the "Select 
Items to Add" dialog windows displayed when the vector dataset contains 
multiple layers, e.g. when adding a GeoPackage layer.


Best regards.

Andrea___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Latest Plugin Version Timestamp

2024-01-02 Thread Andrea Giudiceandrea via QGIS-Developer

Andrea Giudiceandrea andreaerdna at libero.it
Thu Dec 28 08:05:09 PST 2023



Anyway the current displayed version format is not the intended one.
Please see 
https://github.com/qgis/QGIS-Django/pull/315#issuecomment-1869307984 and 
https://github.com/qgis/QGIS-Django/pull/315#issuecomment-1869422268


It seems to me a cloudflare caching issue.


Hi Calvin,
a patch [1] has been recently submitted by Lova Andriarimalala in order 
to fix the issue.


Best regards.

Andrea


[1] https://github.com/qgis/QGIS-Django/pull/335
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Latest Plugin Version Timestamp

2023-12-28 Thread Andrea Giudiceandrea via QGIS-Developer

Il 28/12/2023 16:11, C Hamilton via QGIS-Developer ha scritto:
I noticed that you changed the plugin version timestamp on the 
QGIS plugin repository web pages and in part I like it, but do you 
really need to use decimal seconds (i.e. 
2023-11-02T16:44:07.716972+00:00). This just takes up excessive space 
on the web page and I believe you can replace '+00:000' with 'Z'. That 
would shorten it more so it would look like 2023-11-02T16:44:07Z. That 
would be preferable to me.


Hi Calvin,
indeed the display of the plugins version has been recently modified.
Anyway the current displayed version format is not the intended one.
Please see 
https://github.com/qgis/QGIS-Django/pull/315#issuecomment-1869307984 and 
https://github.com/qgis/QGIS-Django/pull/315#issuecomment-1869422268


It seems to me a cloudflare caching issue.

Best regards.

Andrea___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] QGIS Repo Is Not Updated

2023-11-15 Thread Andrea Giudiceandrea via QGIS-Developer

Hi Murat,
the issue should be fixed now, thanks to Dimas Ciputra.

https://github.com/qgis/QGIS-Django/issues/307#issuecomment-1813840867

Best regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] QGIS Repo Is Not Updated

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

Il 14/11/2023 13:06, Murat Çalışkan via QGIS-Developer ha scritto:
I checked and in "/*https://plugins.qgis.org/plugins/raster_divider 
*/" it is updated(1.3) 
but in "/*https://plugins.qgis.org/plugins/plugins.xml?qgis=3.28 
*/" old 
version(1.2) still remains. Name of plugin is "*Raster Divider*"


The last-modified header reports: "Fri, 10 Nov 2023 15:11:52 GMT".
It looks like also various other (recently updated) plugins version are 
not included in plugins.xml.


Moreover it seems there are some weirdnesses: e.g., "Kartverket 
adresse-API" plugin latest version 1.1 has been uploaded on 7 nov 2023, 
20:57 CET but it results not updated in plugin.xml, while "H-RISK with 
noisemodelling" plugin latest version 0.1.7 has been uploaded on 8 nov 
2023, 11:28 CET but it results updated in plugin.xml,
and a.g. the "FLO-2D MapCrafter" uploaded on 8 nov 2023, 14:56 CET 
results missing in plugin.xml


Andrea






___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Can't download models

2023-11-05 Thread Andrea Giudiceandrea via QGIS-Developer

Il 05/11/2023 12:22, Laurențiu Nicola via QGIS-Developer ha scritto:
I can't download anything from https://plugins.qgis.org/models/ 
, every links returns a 500 error. 
This made believe an account is needed to get them.


Hi all,
FYI the issue has been already reported some months ago: 
https://github.com/qgis/QGIS-Django/issues/298


Best regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Download troubles? Download in the background?

2023-09-24 Thread Andrea Giudiceandrea via QGIS-Developer

Il 23/09/2023 23:55, Vedran Stojnović via QGIS-Developer ha scritto:
One other thing that I noticed lately is that main page (qgis.org 
) opens a random language version of website.


I also experience the same issue. There is an issue report about it at 
https://github.com/qgis/QGIS-Website/issues/1174


Best regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] MingW64 Windows 64bit Build action failing: a possible workaround

2023-09-15 Thread Andrea Giudiceandrea via QGIS-Developer

Sandro Mani manisandro at gmail.com
Mon Sep 11 22:22:12 PDT 2023



This should since be fixed in the latest mingw-filesystem. See [1].


Hi Sandro,
the new fixed version is now available used, so I will remove my workaround.

Anyway the MingW64 Windows 64bit Build is failing again for: "dnf5: 
command not found".
The command was changed from dnf to dnf5 1 month ago with 
https://github.com/qgis/QGIS/pull/54152/commits/2a4a4b69475f9ae7d00880a6d3434f723a2a52c1 
because of "dnf: command not found".


Reverting back to dnf would fix the issue.

Do you know if it is a temporary issue with dnf5 or should we 
permanently use dnf?


Best regards.

Andrea

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


[QGIS-Developer] MingW64 Windows 64bit Build action failing: a possible workaround

2023-09-09 Thread Andrea Giudiceandrea via QGIS-Developer

Hi devs,
the MingW64 Windows 64bit Build action is continuously failing since a 
couple of days with the following error:


/usr/bin/mingw64-cmake: line 92: fg: no job control

The issue is caused by the %__cmake macro not correctly evaluated and 
misinterpreted.


A possible workaround, which I've tested and which makes the action no 
longer fail and the build succeed, would be to change line 79 of 
/ms-windows/mingw/build.sh from


  mingw$bits-cmake \

to

  rpm --eval "%{mingw64_cmake}" > mingw64-cmake.sh
  sed -i -e 's/%__cmake/cmake/' mingw64-cmake.sh
  chmod +x mingw64-cmake.sh
  ./mingw$bits-cmake.sh \


See 
https://gitlab.gnome.org/TinyTrebuchet/gtk/-/blob/main/.gitlab-ci.yml#L156-158


It's not clear to me what actually triggered the issue, so very likely 
there is a better fix.


Best regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Draco package in build dependencies

2023-08-12 Thread Andrea Giudiceandrea via QGIS-Developer

Ismo Lahtinen ismo at gispo.fi
Mon Aug 7 06:18:19 PDT 2023



Installing libdraco-dev seems to do the job. I think this should be added
to each distribution in INSTALL.md? Now the dependency is listed just for
the Fedora distributions.


Hi Ismo,
INSTALL.md has been updated. See: 
https://github.com/qgis/QGIS/commit/bde58219b37453d477f9422e1b7060a5e29085e5


Best regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] QGIS package for QGIS3.32.1 not downloading SAGA

2023-08-06 Thread Andrea Giudiceandrea via QGIS-Developer

[QGIS-Developer] QGIS package for QGIS3.32.1 not downloading SAGA
Paul N surveykshak at gmail.com
Fri Aug 4 21:00:35 PDT 2023
During packaging of QGIS 3.21.1 the perl script is not downloading SAGA.


Hi Paul,
the SAGA-GIS provider has been dropped from QGIS install since QGIS 
3.30: https://github.com/qgis/QGIS/pull/50834


Best regards.

Andrea Giudiceandrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


[QGIS-Developer] QGIS Website Donation page not working

2023-07-01 Thread Andrea Giudiceandrea via QGIS-Developer

Hi devs,
just to inform you that the Donation page of the QGIS website is not 
working properly, probably already for a few days (see 
https://github.com/qgis-donations).

Currently it is not possible to donate.

Going to the page at URL https://donate.qgis.org/ , the connection is 
considered insecure and the certificate invalid by Chrome and Firefox.

The following error is also reported:
NET::ERR_CERT_COMMON_NAME_INVALID

The page certificate has the start validity date of June 28th, 2023 and 
CN = changelog.qgis.org


At the above URL, an "High level software project management. Made 
easy." page is shown instead of the Donation page.


Best regards.

Andrea Giudiceandrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Planned support for JPEG XL?

2023-06-17 Thread Andrea Giudiceandrea via QGIS-Developer

> [QGIS-Developer] Planned support for JPEG XL?
> DIF Tue, 13 Jun 2023 12:10:54 -0700

> According to GDAL's website, GDAL has support for JPEG XL compression 
since
> 3.6.0 but only when built against 
libjxl<https://github.com/libjxl/libjxl>.
> Considering that QGIS now uses GDAL 3.7, I was wondering if there was 
any plan

> to include it with the libjxl library in the future.

Hi Jean-François,
if you are using Windows OS and GDAL provided by OSGeo4W, have you tried
to update GDAL to the latest GDAL 3.7.0-2 package which was build
against libjxl?

See
https://github.com/jef-n/OSGeo4W/commit/c54d56a15918c4ed63afa5b776e6a5041f26f38d

Best regards.

Andrea Giudiceandrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] py3_env not recognized in versions later than 3.16

2023-06-13 Thread Andrea Giudiceandrea via QGIS-Developer

Il 13/06/2023 15:26, Luis Eduardo via QGIS-Developer ha scritto:

Hello
I need to install Pytorch in QGIS 3.22, 3.28, using pip but I can't 
configure the environment, py3_env is not recognized.


Hi Luis Eduardo,
AFAIK py3_env is no longer available in the OSGeo4W Shell and it is no 
longer needed because OSGeo4W uses Python 3 by default since a couple of 
years (since 3.16 msi/v2).



And through the OSGEO installer the library is not available.


Have you tried using python -m pip install ?

Best regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Problem on the web to upload plugins

2023-04-22 Thread Andrea Giudiceandrea via QGIS-Developer


 
 
  Hi Xavier,
  it should be working now. Please try again.
  See: https://github.com/qgis/QGIS-Django/pull/273#issuecomment-1518392389
  Best regards.
  Andrea
 

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Approval and Maintainer-Change of ORSTools-Plugin

2023-04-05 Thread Andrea Giudiceandrea via QGIS-Developer

Tim Sutton tim at kartoza.com
Tue Apr 4 15:47:08 PDT 2023



These are the things I can edit in the admin panel. I suspect you want to
change the 'created by' field? Please indicate the osgeo id of the person
it should be changed to.


There is an open ticket about this issue:
https://github.com/qgis/QGIS-Django/issues/260

Best regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] parameterAsEnumStrings always return default value

2023-04-02 Thread Andrea Giudiceandrea via QGIS-Developer

Hi Nicolas,
it seems to me this https://github.com/qgis/QGIS/pull/52143 PR (which is 
awaiting for reviews) may be related to your questions.


Best regards.

Andrea Giudiceandrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] parameterAsEnumStrings always return default value

2023-02-24 Thread Andrea Giudiceandrea via QGIS-Developer

Il 24/02/2023 17:37, Andrea Giudiceandrea ha scritto:
|In addition, the parameter defaultValue should be set to a single 
value and not to a list if ||allowMultiple is set to False.|
|... and it should be populated with the index number 
(|allowMultiple=False) |or a list of index numbers 
(|allowMultiple=True) when |usesStaticStrings is set to False 
and ||with the value |||(|allowMultiple=False) ||or a list of values 
|||(|allowMultiple=True) when |usesStaticStrings is set to True.


Andrea
||___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] parameterAsEnumStrings always return default value

2023-02-24 Thread Andrea Giudiceandrea via QGIS-Developer

Hi Nicolas,
I don't know if it is the intended behaviour, anyway it seems to me 
parameterAsEnumString and parameterAsEnumStrings return the correct 
value when |usesStaticStrings is set to True, while parameterAsEnum and 
parameterAsEnums when ||usesStaticStrings is set to False.


In addition, the parameter defaultValue should be set to a single value 
and not to a list if ||allowMultiple is set to False.


Best regards.

Andrea Giudiceandrea
|
Il 24/02/2023 14:11, Nicolas Godet via QGIS-Developer ha scritto:
I noticed in a custom alg that `parameterAsEnumStrings` always return 
the default value set in QgsProcessingParameterEnum.___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] QgsGeometryUtils.lineCircleIntersection

2023-02-13 Thread Andrea Giudiceandrea via QGIS-Developer

Hi Antonio,

Il 13/02/2023 15:46, Antonio Locandro via QGIS-Developer ha scritto:
I am trying to use this on a script I am writing however I can’t seem 
to get what the syntax for the Qgs Vector should be, I was expecting 
just to put directly an angle but it is something else.


QgsVector(x: float, y: float)
See https://qgis.org/pyqgis/3.28/core/QgsVector.html#qgis.core.QgsVector


On the other hand in order to use this function I need to write 
completely QgsGeometryUtils.lineCircleIntersection is there a way to 
make this shorter on my script?


lineCircleIntersection = QgsGeometryUtils.lineCircleIntersection


Finally why some functions require QgsPointXY while others QgsPoint, 
beats me, just above this one is lineCircleIntersection that requires 
the use of PointXY


Probably because functions that use QgsPointXY only support 2D calculation.


Best regards.

Andrea Giudiceandrea___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Who manages the PR queue?

2023-01-29 Thread Andrea Giudiceandrea via QGIS-Developer

*Andrea Giudiceandrea*
/Fri Jan 27 00:04:36 PST 2023/

Is the line "Send a message to Marco Hugentobler (who manages the PR
queue)." still valid? Should it be removed or updated?


A PR to remove such line from the Developers docs has been opened at 
https://github.com/qgis/QGIS-Documentation/pull/8002.



Some other non merged PR are backports to release-3_22 branch and the
last release of 3.22 is planned for today:
https://github.com/qgis/QGIS/pull/51573  
https://github.com/qgis/QGIS/pull/51539  https://github.com/qgis/QGIS/pull/51386


Those backported bug fixes missed the chance to be integrated in the 
last point release of QGIS 3.22.


Best regards.

Andrea___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


[QGIS-Developer] Who manages the PR queue?

2023-01-27 Thread Andrea Giudiceandrea via QGIS-Developer

Hi devs,
in the Developer guide [1] is stated that:
***
If you feel the PR is not receiving the attention it deserves your 
options to accelerate it should be (in order of priority):

Help review others pull requests to free the person assigned to yours.
Send a message to the mailing list ‘marketing’ your PR and how wonderful 
it will be to have it included in the code base.

Send a message to the person your PR has been assigned to in the PR queue.
Send a message to Marco Hugentobler (who manages the PR queue).
Send a message to the project steering committee asking them to help see 
your PR incorporated into the code base.

***

Is the line "Send a message to Marco Hugentobler (who manages the PR 
queue)." still valid? Should it be removed or updated?


Bay the way, there are currently about 40 PR in the queue and some PR 
are going stale multiple times without being merged. Just for example: 
https://github.com/qgis/QGIS/pull/50749 or 
https://github.com/qgis/QGIS/pull/50590 or 
https://github.com/qgis/QGIS/pull/50489.
Some other non merged PR are backports to release-3_22 branch and the 
last release of 3.22 is planned for today: 
https://github.com/qgis/QGIS/pull/51573 
https://github.com/qgis/QGIS/pull/51539 
https://github.com/qgis/QGIS/pull/51386


Best regards.

Andrea Giudiceandrea


[1] 
https://docs.qgis.org/testing/en/docs/developers_guide/git.html#submitting-pull-requests

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Problems configuring the statusBar

2022-12-10 Thread Andrea Giudiceandrea via QGIS-Developer

Il 10/12/2022 18:06, afernandez via QGIS-Developer ha scritto:

self.iface.mainWindow().statusBar().styleSheet(stilus)
produces the error:
TypeError: styleSheet(self): too many arguments



Hi AF,
maybe you need to use setStyleSheet(const QString ) to set a 
style sheet.


Best regards.

Andrea Giudiceandrea___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Strange behaviour of geometryChanged event on object QgsVectorLayer

2022-12-10 Thread Andrea Giudiceandrea via QGIS-Developer

Il 10/12/2022 10:49, Bo Victor Thomsen via QGIS-Developer ha scritto:
It works nicely, printing the id and  the WKT of the object changed. 
However, the event fires *3* times, thus printing the same message 3 
times.


Hi Bo Victor Thomsen,
I think the behaviour you are experiencing has been already reported 
some months ago in a issue report at 
https://github.com/qgis/QGIS/issues/47595 .


Best regards.

Andrea Giudiceandrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] setDataSourceUri() not working

2022-12-08 Thread Andrea Giudiceandrea via QGIS-Developer

Hi Raymond,
I wrote setDataSource, not setDataSourceUri.

Regards.

Andrea


Il 09/12/2022 08:19, Raymond Nijssen via QGIS-Developer ha scritto:

Thanks Andrea, but that doesn't seem to exist:

AttributeError: 'QgsVectorLayer' object has no attribute 
'setDataSourceUri'


Raymond


On 08-12-2022 19:42, Andrea Giudiceandrea via QGIS-Developer wrote:

*Raymond Nijssen*
/Wed Dec 7 07:39:50 PST 2022/
 


I'm trying to change the dataSourceUri of an existing layer


Hi Raymond,
AFAIK you need to use setDataSource [1] directly on the layer an not 
setDataSourceUri on the data provider.


E.g.:

layer.setDataSource(new_ds, layer_name, 'ogr')


Best regards.

Andrea

[1] 
https://qgis.org/pyqgis/master/core/QgsMapLayer.html#qgis.core.QgsMapLayer.setDataSource


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] setDataSourceUri() not working

2022-12-08 Thread Andrea Giudiceandrea via QGIS-Developer

*Raymond Nijssen*
/Wed Dec 7 07:39:50 PST 2022/

I'm trying to change the dataSourceUri of an existing layer


Hi Raymond,
AFAIK you need to use setDataSource [1] directly on the layer an not 
setDataSourceUri on the data provider.


E.g.:

layer.setDataSource(new_ds, layer_name, 'ogr')


Best regards.

Andrea

[1] 
https://qgis.org/pyqgis/master/core/QgsMapLayer.html#qgis.core.QgsMapLayer.setDataSource___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Plugins repo "stuck"

2022-11-11 Thread Andrea Giudiceandrea via QGIS-Developer

Il 11/11/2022 03:24, Nyall Dawson via QGIS-Developer ha scritto:
It appears that the plugins repo is currently stuck serving up 
outdated plugins information. Newly published plugin versions aren't 
showing, and newly published plugins aren't available.


The issue seems related to the PR 
https://github.com/qgis/QGIS-Django/pull/224 which has been deployed to 
production server two days ago.

The issue is fixed now.

Best regards.

Andrea Giudiceandrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] segmentation fault in standalone script using PyQGIS

2022-10-28 Thread Andrea Giudiceandrea via QGIS-Developer

Il 27/10/2022 16:34, Mélanie Dol via QGIS-Developer ha scritto:
/usr/share/qgis/python/plugins/processing/algs/grass7/Grass7Utils.py:191: 
SyntaxWarning: "is" with a literal. Did you mean "=="?

  if path is '':


Hi Mélanie,
while I don't know why that script generates a segmentation fault, It 
seems you are using QGIS 3.10 which is a three years old version. The 
QGIS repository for Ubuntu 20.04 currently offers the latest available 
QGIS LTR 3.22.12.


Best regards.

Andrea Giudiceandrea___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


[QGIS-Developer] Translation errors in some English (and most of other languages) strings on Transifex

2022-10-23 Thread Andrea Giudiceandrea via QGIS-Developer

Hi all,
it seems something weird happened in the latest generation of the 
translation string qgis_*.ts files or in the sync process with Transifex 
for QGIS 3.28.0 and master.


Some "translation" string in English are different from the 
corresponding "source" string and contains some spurious characters 
(e.g. "?}" at the end and other strings at the beginning).


This means that presumably most of the other translations (based on the 
English one) are also incorrect.


The errors are in the \i18n\qgis_*.ts files, too.

if I remember correctly, this issue has already occurred another time in 
the past.


AFAIK, these strings are:



https://github.com/qgis/QGIS/blob/master/src/core/vector/qgsvectorlayerfeatureiterator.cpp#L437
Stack overflow, too many nested feature iterators.
Iterated layers:
%1
...
Stack overflow, too many nested feature iterators.
Iterated layers:
%3
... {1
?}



https://github.com/qgis/QGIS/blob/master/resources/function_help/json/BETWEEN#L20
2 BETWEEN 2 AND 3
2 BETWEEN 1 AND 3 {2 ?} {2 ?}



https://github.com/qgis/QGIS/blob/master/resources/function_help/json/NOT%20BETWEEN#L20
2 NOT BETWEEN 2 AND 3
1.0 NOT BETWEEN 1.1 AND 3 {2 ?} {2 ?}



https://github.com/qgis/QGIS/blob/master/resources/function_help/json/concave_hull#L20
Polygon ((30 112, 36 150, 92 182, 132 186, 176 184, 190 
122, 190 100, 186 52, 178 34, 168 18, 132 10, 112 30, 66 28, 22 64, 30 
112))
Polygon ((3 2, 3 4, 1 4, 1 2, 3 2)) {30 112, 36 
150, 92 182, 132 186, 176 184, 190 122, 190 100, 186 52, 178 34, 168 18, 
132 10, 112 30, 66 28, 22 64, 30 112)?}




https://github.com/qgis/QGIS/blob/master/resources/function_help/json/geometries_to_array#L11
Polygon ((5 8, 4 1, 3 2, 5 8))
Polygon ((3 2, 3 4, 1 4, 1 2, 3 2)) {5 8, 4 1, 
3 2, 5 8)?}




https://github.com/qgis/QGIS/blob/master/resources/function_help/json/line_interpolate_point#L18
Point (1.48492424 0.51507576)
Point (4 0) {1.48492424 0.51507576)?}



https://github.com/qgis/QGIS/blob/master/resources/function_help/json/make_valid#L25
Polygon ((3 2, 5 8, 4 1, 3 2))
Polygon ((3 2, 3 4, 1 4, 1 2, 3 2)) {3 2, 5 8, 
4 1, 3 2)?}




https://github.com/qgis/QGIS/blob/master/resources/function_help/json/make_valid#L31
Polygon ((3 2, 4 1, 5 8, 3 2))
Polygon ((3 2, 3 4, 1 4, 1 2, 3 2)) {3 2, 4 1, 
5 8, 3 2)?}




Best regards.

Andrea Giudiceandrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] OSGEO4W nightlies (and weeklies) broken?

2022-10-17 Thread Andrea Giudiceandrea via QGIS-Developer

Hi all,
it seems the OSGeo4W QGIS dev builds are broken again.

The latest qgis dev nightly build [1] was released on October 10th and 
the latest weekly build [2] on September 26th.


Best regards.

Andrea Giudiceandrea

[1] 
https://download.osgeo.org/osgeo4w/v2/x86_64/release/qgis/qgis-dev/?C=M=D

[2] https://download.osgeo.org/qgis/windows/weekly/?C=M=D
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] import 3d or _3d in python?

2022-10-03 Thread Andrea Giudiceandrea via QGIS-Developer

Il 03/10/2022 09:19, Raymond Nijssen via QGIS-Developer ha scritto:
I know, but my script is not running in the console. It is part of a 
plugin, so I need to do the import. Would be handy if the 
documentation tells me how to do it.


Yes, I understood that. I just wanted to point out that QGIS itself 
imports the 3d library using qgis._3d, so it should be the correct 
module name to use.


Best regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] import 3d or _3d in python?

2022-10-03 Thread Andrea Giudiceandrea via QGIS-Developer

Il 03/10/2022 08:57, Raymond Nijssen via QGIS-Developer ha scritto:


Instead I need to add an underscore for the 3d module name:

from qgis._3d import QgsLayoutItem3DMap


In the Python console, the 3d library is automatically imported (if QGIS 
is compiled with 3d support) with:


from qgis._3d import *

See: 
https://github.com/qgis/QGIS/blob/95e00c50d219b39b2571dd6bff59a1393deb9b6a/python/console/console_sci.py#L59


Best regards.

Andrea Giudiceandrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Problem with LIKE/ILIKE expressions and line breaks

2022-09-07 Thread Andrea Giudiceandrea via QGIS-Developer

Hi Felix,
I can confim the issue is a regression, as the expression works 
correctly with QGIS 3.20.3 and previous versions, while it doesn't since 
QGIS 3.22.0.
It seems to me this issue is a side effect of the "migration" from 
QRegExp to QRegularExpression.


I've submitted the PR https://github.com/qgis/QGIS/pull/50124 which 
fixes this issue, according to my tests.


Regards.

Andrea Giudiceandrea

Il 06/09/2022 14:52, flatoram via QGIS-Developer ha scritto:

Hi,

I have some problems with the expression editor for styling and other 
expressions.
I found a related issue to this problem on github: 
https://github.com/qgis/QGIS/issues/47957

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] OSGEO4W nightlies broken?

2022-09-02 Thread Andrea Giudiceandrea via QGIS-Developer
*i-s-o*46.i.s.o.64 at gmail.com 


/Fri Sep 2 04:16:59 PDT 2022/

Not sure if it is a similar issue: 3.22 and 3.26 nightlies got updated
today, but the latest 3.27 update is from August 22.


Hi i-s-o,
qgis-dev has been updated (293-fc1b1cac1c-1 2022-Sep-02 17:09) just few 
hours ago.


Regards.

Andrea Giudiceandrea___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Incorrect links to download the latest QGIS 3.22.10 / 3.26.2 OSGeo4W Standalone installers for Windows

2022-08-16 Thread Andrea Giudiceandrea via QGIS-Developer

Il 16/08/2022 11:34, Andrea Giudiceandrea ha scritto:

Hi all,
the links to download the OSGeo4W Standalone installers for QGIS 
3.22.10 and 3.26.2 on the Website at 
https://qgis.org/en/site/forusers/download.html are incorrect.


The issue is now fixed.

Thanks to Matthias Kuhn for merging the PR and to Richard Duivenvoorde 
for rebuilding the Website.


Best regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


[QGIS-Developer] Incorrect links to download the latest QGIS 3.22.10 / 3.26.2 OSGeo4W Standalone installers for Windows

2022-08-16 Thread Andrea Giudiceandrea via QGIS-Developer

Hi all,
the links to download the OSGeo4W Standalone installers for QGIS 3.22.10 
and 3.26.2 on the Website at 
https://qgis.org/en/site/forusers/download.html are incorrect.


They point to https://qgis.org/downloads/QGIS-OSGeo4W-3.22.10-2.msi and 
https://qgis.org/downloads/QGIS-OSGeo4W-3.26.2-2.msi which are not 
available on the server.


The correct links are 
https://qgis.org/downloads/QGIS-OSGeo4W-3.22.10-1.msi and 
https://qgis.org/downloads/QGIS-OSGeo4W-3.26.2-1.msi


See: https://github.com/qgis/QGIS-Website/issues/1024

Proposed fix: https://github.com/qgis/QGIS-Website/pull/1025

Best regards.

Andrea Giudiceandrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] GeomFromText cuts decimal values

2022-08-11 Thread Andrea Giudiceandrea via QGIS-Developer
*Prof. Dr. Jörg Höttges*hoettges at fh-aachen.de 


/Thu Aug 11 03:24:32 PDT 2022/

     SELECT aswkt(GEOMFROMTEXT('POINT(340178.042761887 
5659302.0567476)',25832)) as geom

i get

     geom
     POINT(340178 5659302)


Hi,
I've just tried using QGIS 3.22.9 and QGIS 3.26.1 on Windows 10 and 
Ubuntu 22.04 (Italian) with "Italian Italy (it_IT)" locale (a locale for 
which the comma is the decimal separator): the statement


SELECT aswkt(GEOMFROMTEXT('POINT(340178.042761887 
5659302.0567476)',25832)) as geom


outputs

geom
POINT(340178.042761887 5659302.0567476)

while the statement

SELECT aswkt(GEOMFROMTEXT('POINT(340178,042761887 
5659302,0567476)',25832)) as geom


outputs

geom
NULL


Best regards.

Andrea Giudiceandrea___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Signing key missing on keyserver(s)

2022-08-08 Thread Andrea Giudiceandrea via QGIS-Developer

Il 08/08/2022 20:12, Martin Weis via QGIS-Developer ha scritto:

Documentation update would be wonderful (change the year) on
https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu

Yay, this key is valid until 2027 [expires: 2027-08-08].


Hi Martin,
the new signing key was added just today to the server and the 
documentation was updated accordingly as you can see at 
https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu (with 
a little delay needed for the Website rebuild).


Best regards.

Andrea Giudiceandrea


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] QgsVectorLayerSaveAsDialog in python plugin

2022-07-27 Thread Andrea Giudiceandrea via QGIS-Developer

Hi Matteo,
there's also a one years old Feature Request [1].

Best regards.

Andrea Giudiceandrea

[1] https://github.com/qgis/QGIS/issues/45538


Il 27/07/2022 11:20, matteo via QGIS-Developer ha scritto:
I discovered that the QgsVectorLayerSaveAsDialog is not available in 
python bindings [0].

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] I'm running a supported QGIS versino according to the roadmap ?

2022-05-18 Thread Andrea Giudiceandrea via QGIS-Developer

Il 18/05/2022 13:12, Sandro Santilli via QGIS-Developer ha scritto:

But the question is not clear to me. Should "roadmap" be an hyperlink
to better understand the what's a supported QGIS version and what not ?

Where would the URL of such page be ?


Hi Sandro,
the QGIS "Road Map" is at 
https://qgis.org/en/site/getinvolved/development/roadmap.html


Regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Plugin dependency with binaries: 'best' way to guide user to install?

2022-04-06 Thread Andrea Giudiceandrea via QGIS-Developer

Hi Aron,
have you already read the issue report 
https://github.com/qgis/QGIS/issues/45646 ?


Regards.

Andrea

Il 06/04/2022 14:01, Aron Gergely via QGIS-Developer ha scritto:


@Pedro:
Tried it today on Windows w OSGeo QGIS and failed right away. But in a 
different way:


If I launch OSGeo QGIS and ask for the python executable's path 
(sys.executabe), I get 'C:/OSGeo4W/bin/qgis-bin.exe'. which looks like 
entry point is for QGIS.  So subprocess calls that and a new QGIS 
window opens.



___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] [Qgis-psc] Welcome new QGIS community voting member

2022-04-05 Thread Andrea Giudiceandrea via QGIS-Developer

Dear Marco, and community,
I am very honoured to be a community voting member!

Thank you to all of you!

Best regards.

Andrea Giudiceandrea

*Marco Bernasocchi*marco at qgis.org 
<mailto:qgis-psc%40lists.osgeo.org?Subject=Re%3A%20%5BQgis-psc%5D%20Welcome%20new%20QGIS%20community%20voting%20member=%3CCAB2ZMRDNzYRsR-aHCv_zpVZDCQBvuAhno4Q%3D4%2BWHzC9bGTc3FA%40mail.gmail.com%3E>

/Mon Apr 4 02:25:20 PDT 2022/

Dear community,
It is with great pleasure that we'd like to welcome Andrea Giudiceandrea to
the community voting members!
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


[QGIS-Developer] Inconsistent results using length(), perimeter() and area() expression functions and Identify Features map tool

2021-10-16 Thread Andrea Giudiceandrea

Hi Devs,
I noticed that the expression functions length(), perimeter() and area() 
use the QgsGeometry length() and area() functions to calculate the 
Cartesian length of lines and perimeter and area of polygons.


The Identify Features map tool uses instead the QgsAbstractGeometry 
class length() and perimeter() functions for the Cartesian length of 
lines and the perimeter of polygons and the QgsGeometry area() function 
for the Cartesian area.


This leads to inconsistent results when the geometries contain 
CircularStrings or CurvePolygons.
In this case the QgsAbstractGeometry class functions are more accurate 
then the QgsGeometry ones.


Is there any reason or contraindication why not to use the 
QgsAbstractGeometry class functions also for the expression functions 
length(), perimeter() and area() and for the Identify Features map tool 
measurement of polygons area?


Best regards.

Andrea Giudiceandrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] RES: Qgis 3.20.3 grass not working

2021-10-14 Thread Andrea Giudiceandrea

Hi Jorge,
I've used right now the OSGeo4W Network Installer with the "Advanced 
Install" option selecting to install the packages "qgis" version 
3.20.3-1 and "grass" version 7.8.6-1 in a clean "C:\OSGeo4W\" folder.
(The "qgis-grass-plugin" needs to be installed only if the "GRASS 7" 
core plugin is needed.)


After the installation procedure, launching QGIS from the Start menu 
shortcut link then QGIS doesn't show any issue about GRASS and the GRASS 
algorithms are available in the Processing Toolbox.


There is only a "CRITICAL Problem installing SAGA: SAGA not found or not 
installed" message, but it is normal since I've not installed SAGA.


Maybe you just need to use a new QGIS user profile or to install QGIS 
and GRASS again in a clean folder.


Hope you could fix the issue.

Anyway, if you continue to experience such issue, probably it would be 
better to open a new ticket in the OSGeo4W issue reporting system at 
https://trac.osgeo.org/osgeo4w/


Best regards.

Andrea


Il 13/10/2021 17:52, jorgealme...@yahoo.com.br ha scritto:

Hi Andrea,

I have used Advanced Install option.

and I selected (see picture below):

     Desktop:

         grass: GRASS GIS

     Libs:

    qgis-grass-plugin: GRASS plugin for QGIS

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Qgis 3.20.3 grass not working

2021-10-13 Thread Andrea Giudiceandrea

Il 11/10/2021 17:09, jorgealme...@yahoo.com.br ha scritto:
I installed Qgis 3.20.3 Network option and Grass is not available in the 
processing tools !


*CRITICAL Problem installing GRASS: GRASS not found or not installed 
correctly*


Hi Jorge Almerio,
what option have you used? The Express Install or the Advanced Install? 
What package have you select in order to be installed?

Are you sure the "grass" package is installed?

Regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] CI broken (MinGW64)

2021-10-02 Thread Andrea Giudiceandrea

Il 02/10/2021 13:06, Sandro Mani ha scritto:
This is fixed in mingw-python-qt5-5.15.4-2.fc36, which adds a dependency 
on mingw-python3-PyQt5_sip. So this should be fixed as soon as 
mingw-python-qt5-5.15.4-2.fc36 has propagated to the repos.


Thank you!

Beast regards.

Andrea

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] CI broken (MinGW64)

2021-10-02 Thread Andrea Giudiceandrea

Will be fixed with this: https://github.com/qgis/QGIS/pull/45303


Hi Sandro,
probably this is related... while, now, the MinGW64 Windows build 
succeeds, QGIS from the MinGW64 build doesn't run properly and the 
Python support results disabled.


Running a recent QGIS (5a572dac) from MinGW64 Windows build artifact, 
the following error is reported at the beginning and QGIS doesn't have 
the Python support:


Couldn't load SIP module.
Python support will be disabled.

Traceback (most recent call last):
  File "", line 1, in
  File 
"C:\Users\giudiceandrea\Downloads\QGIS-Portable_4\lib\python3.10\site-packages\qgis\__init__.py", 
line 78, in

from qgis.PyQt import QtCore
  File 
"C:\Users\giudiceandrea\Downloads\QGIS-Portable_4\lib\python3.10\site-packages\qgis\PyQt\QtCore.py", 
line 24, in

from PyQt5.QtCore import *
ModuleNotFoundError: No module named 'PyQt5.sip'


Python version:
3.10.0rc2 (default, Sep 14 2021, 00:00:00) [GCC 11.2.1 20210728 (Fedora 
MinGW 11.2.1-3.fc35)]


QGIS version:
3.21.0-Master 'Master', 5a572dac
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Grant report: Integrate GPS Tools plugin functionality into core QGIS

2021-08-04 Thread Andrea Giudiceandrea

Il 04/08/2021 22:13, Richard Duivenvoorde ha scritto:


what is that Leap seconds? Do the gps satellites have old clocks or so, which 
are (18?) seconds behind (see screenie).


Some info about leap seconds and GPS time:

- 
https://en.racelogic.support/01VBOX_Automotive/01General_Information/Knowledge_Base/What_are_GPS_Leap_Seconds%3F

- http://leapsecond.com/java/gpsclock.htm
- https://en.wikipedia.org/wiki/Global_Positioning_System#Leap_seconds

Regards.

Andrea Giudiceandrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] [Qgis-user] Bug with GeoPackage and Expressions?

2021-07-29 Thread Andrea Giudiceandrea

Il 29/07/2021 07:30, Matthias Kuhn ha scritto:

Can you fill a bug for this? The expression compiler in QGIS should not
forward it to ogr/gpkg/sqlite in this case.

Matthias


The Query Builder documentation [1] states that:

"The filter is made at the data provider (OGR, PostgreSQL, MSSQL…) 
level. So the syntax depends on the data provider (DateTime is for 
instance not supported for the ESRI Shapefile format)"


So I think the reported behaviour is expected.

Regards.

Andrea

[1] 
https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/vector_properties.html#query-builder

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] OSGeo4W QGIS 3.20.1 Failing on Windows 10

2021-07-21 Thread Andrea Giudiceandrea

Il 21/07/2021 15:15, C Hamilton ha scritto:
I noticed the QGIS 3.20.1 update in the OSGeo4W installer and rain the 
update. When launched, the application never shows a splash screen and 
it never launches, but in the Task Manager it shows the process 
qgis-bin.exe as being there.


Also reported on GitHub by various users 
https://github.com/qgis/QGIS/issues/44293


It seems something related with the symbology-style.db file in the 
profile folder.


Regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] geom.isValid() does not work in python

2021-07-19 Thread Andrea Giudiceandrea

Il 19/07/2021 07:47, Raymond Nijssen ha scritto:

> print( geom.isGeosValid() )


geom2 = geom.constGet()

> print( geom2.isValid() )


geom3 = geom.get()

> print( geom3.isValid() )

I think geom2 and geom3 are the exact same thing. And the parameter 0 or 
1 (or none at all) don't seem to change anything to the validation type, 
since they don't raise errors.


Hi Raymond,
for some insight of get() and constGet() in PyQGIS, please read a 
previous thread [1] on the same argument.


The flags used in isValid() "indicates optional flags which control the 
type of validity checking performed (corresponding to 
QgsGeometry.ValidityFlags)" [2].
The only flag available is "FlagAllowSelfTouchingHoles: Indicates that 
self-touching holes are permitted" [3].
isValid() was introduced in 3.8 [4] and uses GEOS to perform the 
validity check.
isGeosValid(), which uses the same QgsGeometry.ValidityFlags, actaully 
relies on isValid() and thus on GEOS to perform the validity check, so 
they act in the same way AFAIK.


Maybe Nyall Dawson could share more light on this...

With validateGeometry() you could specify the validity check method to 
use (QGIS or GEOS) beside the ValidityFlags.


Best regards.

Andrea Giudiceandrea


[1] 
http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-Do-QgsGeometry-constGet-e-constParts-return-non-modifiable-or-modifiable-reference-in-td5457143.html
[2] 
https://qgis.org/pyqgis/3.16/core/QgsAbstractGeometry.html?highlight=isvalid#qgis.core.QgsAbstractGeometry.isValid
[3] 
https://qgis.org/api/classQgsGeometry.html#a9079690dc8d58af969fae36d16499923

[4] https://github.com/qgis/QGIS/pull/9293
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] geom.isValid() does not work in python

2021-07-18 Thread Andrea Giudiceandrea

Il 18/07/2021 11:46, Raymond Nijssen ha scritto:
How can I run ths isValid() function on a geometry. I would think my 
Polygon Geometry would inherit all functions from the 
QgsAbstractGeometry base class, but it seems it doesn't.



I get:
AttributeError: 'QgsGeometry' object has no attribute 'isValid'


Hi Raymond,
the QGIS Python API documentation clarify that: "The actual geometry 
representation is stored as a QgsAbstractGeometry within the container, 
and can be accessed via the get() method"[1].


So, I think

geom.get().isValid()

will work without errors.

Best regards.

Andrea

[1] https://qgis.org/pyqgis/3.16/core/QgsGeometry.html#module-QgsGeometry
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Loading many Excel-Files in QGIS with correct encoding

2021-07-16 Thread Andrea Giudiceandrea

Il 16/07/2021 11:51, Andreas Neumann ha scritto:

Hi all and thanks for the discussion,

Even and I discovered that the .xls files are loading with correct 
encoding in Linux but not on Windows which leads to the assumption that 
freexl on Windows might not have been correctly compiled/linked against 
iconv.


Hi Andreas,
usually on GNU/Linux distributions the "system" encoding is UTF-8, while 
on Windows is the "ANSI" encoding (e.g. Windows-1252 for Western Europe 
locales).


So I think that since XLS layers are imported in QGIS using the "system" 
encoding, and since FreeXL translates the strings values to UTF-8 and 
GDAL/OGR exposes such strings values as they are passed by FreeXL, then 
XLS tables are correctly displayed in QGIS on GNU/Linux systems, while 
are incorrectly displayed in QGIS on Windows systems.


You can test your xls files on Windows using ogrinfo in the OSGeo4W Shell:

ogrinfo path\to\file.xls sheet_name > path\to\file.txt

then you can check if file.txt will contain the string cell values UTF-8 
encoded.


Or you can use the ogr module from osgeo in the QGIS Python Console on 
Windows to open the XLS datasource and output the features fields 
(cells) values as strings: the cells values are correctly read by ogr 
(via FreeXL) from the XLS file and correctly displayed as UTF-8 strings.


AFAIK FreeXL depends by iconv libary and cannot be compiled and cannot 
work at all without it.


In fact, in my QGIS installations via OSGeo4W (old and new repository) 
both the FreeXL and iconv DLLs (FreeXL 1.0.2 / iconv 1.14 - FreeXL 1.0.6 
/ iconv 1.16) are present, with the former linked to the latter as 
dependency.


Regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Loading many Excel-Files in QGIS with correct encoding

2021-07-15 Thread Andrea Giudiceandrea

Il 15/07/2021 22:30, Nyall Dawson ha scritto:
I don't think that's completely correct -- looking at the freexl 
documentation it seems that only some xls file versions are utf8, and 
others have a codepage indicating the encoding which needs to be read 
from the xls metadata:


Yes, of course BIFF5 (and previous versions), which is used until Excel 
95, stores internally the strings with a codepage based encoding, while 
BIFF8 (since Excel 98), stores them internally as UTF-16LE without the 
need of codepages.


Anyway the documentation states that: "FreeXL is intended to be strictly 
interoperable with SQLite and SpatiaLite, so any text string has to be 
converted to UTF-8 encoding.  GNU libiconv can easily handle any 
required charset conversion. So we can simply fetch the appropriate 
bytes, then call iconv() as appropriate, and we'll immediately get back 
the corresponding UTF-8 encoded text string."


So, if I'm not mistaken, the decoding from the proper internal codec and 
the encoding to UTF-8 is handled by the FreeXL library for both 
BIFF2/BIFF5 and BIFF8.
I've also tested a BIFF5 XLS using ogrinfo, and the output is UTF-8 
encoded, while internally


Regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Loading many Excel-Files in QGIS with correct encoding

2021-07-15 Thread Andrea Giudiceandrea

Il 15/07/2021 20:51, Andrea Giudiceandrea ha scritto:
Instead, QGIS imports correctly XLSX files as UTF-8 encoded, while XLS 
files are wrongly imported as "system" encoded, even selecting UTF-8 [3] 
encoding in the Data Source Manager vector import window.


Looking at GDA/OGR code, I see that the layer imported via XLSX driver 
advertise the UTF-8 strings (OLCStringsAsUTF8) in the capabilities, 
while an XLS layer does not.


So, this could be the underlying root cause of the issue.

Regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Loading many Excel-Files in QGIS with correct encoding

2021-07-15 Thread Andrea Giudiceandrea

Isn't this limitation ultimately that GDAL isn't reading the encoding
correctly? (Or perhaps it's a limitation in the underlying freexl
library...)

Nyall



Hi Nyall and Andreas,
it seems to me GDAL/OGR [1] reads XLS and XLSX files with the relative 
proper encoding [2] and ogrinfo outputs the text in UTF-8 for both the 
formats.


Instead, QGIS imports correctly XLSX files as UTF-8 encoded, while XLS 
files are wrongly imported as "system" encoded, even selecting UTF-8 [3] 
encoding in the Data Source Manager vector import window.


After importing a XLS file, changing the "Data source encoding" of the 
layer to "UTF-8" fixes the text codecs in my tests.


So, I think QGIS should automatically import also XLS files as UTF-8 
encoded.


Best regards.

Andrea Giudiceandrea

[1] tested on Windows /OSGeo4W: GDAL 3.1.4 / FreeXL 1.0.2 / Expat 2.1.0 
and GDAL 3.2.2 / FreeXL 1.0.6 / Expat 2.2.10

[2] text in XLS (BIFF8) files are internally encoded in UTF-16LE
[3] by the way, there are incorrectly two "UTF-8" codecs listed in the 
"Encoding" drop down menu list...

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] OSGeo4W v2 Network Installer QGIS/GRASS issue

2021-06-24 Thread Andrea Giudiceandrea

Giuseppe Baiamonte wrote Tue Jun 22 06:51:57 PDT 2021

After performing a fresh installation of QGIS on a PC running Windows 10
Pro using the new OSGeo4W v2 Network Installer:
- GRASS 7.8.5 is correctly installed but not working in QGIS;
- qgis-grass-plugin is installed but not working in QGIS;
- qgis-grass-plugin7 is not available in the installer;
- No shortcut(s) "with GRASS" created.
- qgis-bin-g7.exe is not present in the installation directory.



Hi Giuseppe,
new packages versions are now available in the OSGeo4W v2 repository.

If GRASS in QGIS still doesn't work with the new packages versions, I 
think you can also report the issue opening a "ticket" on 
https://trac.osgeo.org/osgeo4w/


Best regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Unavailable releases on macos!?

2021-05-22 Thread Andrea Giudiceandrea
Andrea Giudiceandrea wrote
> maybe it's the same problem occurred with the previous version:
> https://github.com/qgis/QGIS-Mac-Packager/issues/123

...it seems another issue:

---
Signing the QGIS.app
–timestamp=none: No such file or directory
FAIL
---

There's a typo in qgis_package.bash: the codesign timestamp parameter has a
single hyphen insead of a double hyphen

codesign -s "$IDENTITY" -v --force –timestamp=none --keychain
"$KEYCHAIN_FILE" "$PACKAGE"

So, this https://github.com/qgis/QGIS-Mac-Packager/pull/126 should fix the
issue.

Best regards.

Andrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Unavailable releases on macos!?

2021-05-21 Thread Andrea Giudiceandrea
DelazJ wrote
> There's a couple of issue reports [0] that the downloadable version of
> QGIS would not be the latest version for our macos users.

Hi Harrissou,
maybe it's the same problem occurred with the previous version:
https://github.com/qgis/QGIS-Mac-Packager/issues/123

Regards.

Andrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] random order after open attribute table

2021-04-03 Thread Andrea Giudiceandrea
Martin Landa wrote
> I found problem with strange row ordering after opening attribute
> table in QGIS3. Rows are not ordered correctly (how related features
> were written to a layer). 

Hi Martin,
finally this longstanding annoying incorrect behaviour [1] has been fixed by
Mathieu Pellerin [2].

Thank you very much Mathieu Pellerin!

Best regards.

Andrea Giudiceandrea

[1] https://issues.qgis.org/issues/19299 -
https://github.com/qgis/QGIS/issues/27127
[2] https://github.com/qgis/QGIS/pull/42600



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] NULL in field

2021-03-30 Thread Andrea Giudiceandrea
Giulio Fattori wrote
> @qgsfunction(args='auto', group='Custom')

Hi Giulio,
AFAIK you should add handlesnull=True to the function decorator in order to
properly handle parameter's NULL values in the function

@qgsfunction(args='auto', group='Custom', handlesnull=True)

See: https://qgis.org/pyqgis/master/core/qgsfunction.html#module-qgsfunction

Best regards.

Andrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Unable to parse WKT Polygon using Shapely

2021-03-30 Thread Andrea Giudiceandrea
gordonbe wrote
> from shapely import wkt
> 
> wkt.loads('POLYGON((0 0, 0 0, 0 0, 0 0, 0 0))')
> 
> QGIS throws this error during the crash:

Hi gordonbe,
what operative system and what QGIS version are you using?

Using QGIS 3.16.5 or 3.18.1, installed via OSGeo4W on Windows 7, the command

wkt.loads('POLYGON((0 0, 0 0, 0 0, 0 0, 0 0))')

returns a shapely.geometry.polygon.Polygon object and QGIS doesn't crash.


Best regards.

Andrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Ubuntu daily repo for PR into master?

2021-03-29 Thread Andrea Giudiceandrea
Andreas Yankopolus wrote
> Which Ubuntu repository would I want to add to my sources.list to get a
> .deb with this PR?

Hi Andreas,
please see https://qgis.org/en/site/forusers/alldownloads.html#repositories
for the available Debian/Ubuntu repositories.

Nightly build of the QGIS Development Version 3.19 master for Debian and
Ubuntu are in the following repositories:

https://qgis.org/debian-nightly or https://qgis.org/ubuntu-nightly

and https://qgis.org/ubuntugis-nightly with ubuntugis-unstable dependencies

Best regards.

Andrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Welcome screen with garbled HTML code

2021-03-23 Thread Andrea Giudiceandrea
uclaros wrote
> Looks like a translation problem.

I can confirm the Italian translation doesn't suffer of such issue.

It seems the German translation contains incorrect html tags



while the source string is



Best regards.

Andrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Strange Behavior with QgsProcessingParameterNumber - Bug?

2021-03-15 Thread Andrea Giudiceandrea
C Hamilton wrote
> In the processing popup, if I enter a number with less than 20 digits then
> the rest of the digits become some random number. For example if I enter
> 
> -0.1556640799496235
> 
> the displayed result is
> 
> -0.15566407994962350170

AFAIK a Double-precision 64 bit floating-point (IEEE 754) can represent base
10 floating point numbers with about 15-17 significant decimal digits
precision. Floating-point numbers cannot exactly represent all the real
numbers in a range.

-0.1556640799496235 is represented as 0xBFC3ECCCF245D4FC as 64 bit
floating-point.
Anyway, the "most accurate representation" of 0xBFC3ECCCF245D4FC is
-0.155664079949623501697431038338

If you convert 0xBFC3ECCCF245D4FC to a base 10 real number rounding to 20
decimal digits you will display: -0.15566407994962350170

0xBFC3ECCCF245D4FB -> -0.15566407994962347
0xBFC3ECCCF245D4FC -> -0.15566407994962350
0xBFC3ECCCF245D4FD -> -0.15566407994962353


-0.15566407994962349 -> 0xBFC3ECCCF245D4FC
-0.15566407994962350 -> 0xBFC3ECCCF245D4FC
-0.15566407994962351 -> 0xBFC3ECCCF245D4FC

See:
https://en.wikipedia.org/wiki/Floating-point_arithmetic#Accuracy_problems
https://en.wikipedia.org/wiki/Double-precision_floating-point_format
https://www.binaryconvert.com/convert_double.html
https://babbage.cs.qc.cuny.edu/IEEE-754.old/64bit.html
https://www.h-schmidt.net/FloatConverter/IEEE754.html

So I think this explains the issue.

Regards.

Andrea




--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Creating a spatial index on a table created with QgsVectorLayerExporter Python function

2021-03-14 Thread Andrea Giudiceandrea
Jorge Gustavo Rocha wrote
> I did the laziest test. I've tried to run 'Create spatial index' on a
> Postgresql layer. Result was:
> 
> Layer's data provider does not support spatial indexes [1]

Is PostGIS installed and enabled on the PostgreSQL db server?

Regards.

Andrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Creating a spatial index on a table created with QgsVectorLayerExporter Python function

2021-03-14 Thread Andrea Giudiceandrea
Bo Victor Thomsen wrote
> # Experiment for getting spatial index. Tried with 1, True ...
> options = {}
> options['spatial_index'] = 'on'

Hi Bo Victor,
AFAIK it should be:

options = {}
options['layerOptions'] = ['SPATIAL_INDEX=YES']

Regards.

Andrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Loading multiple raster images from processing algorithm

2021-03-11 Thread Andrea Giudiceandrea
C Hamilton wrote
> path = path_to_the_image
> rlayer = QgsRasterLayer(path, name_of_image)

Hi C Hamilton,
are you sure the path_to_the_image is correct? Have you tried to execute the
code in the Python console? Does QgsRasterLayer(path, name_of_image) and
QgsProject.instance().addMapLayer(rlayer, True) return a valid
 object?

I usually use the same code without issue: the layer is correctly added to
the map and it is listed in the layer tree.

Regards.

Andrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] API Down?

2021-02-26 Thread Andrea Giudiceandrea
James Shaeffer wrote
> Just noticed that https://qgis.org/api/ doesn't appear to be working.

It seems the page at https://qgis.org/api/ is still empty


QGIS API Documentation  3.19.0-Master (67c226385a)

QGIS API Documentation Documentation
Generated on Tue Feb 23 2021 06:36:58 for QGIS API Documentation by doxygen
1.8.13


and the "Search" functionality doesn't return anything.

Any class subpage of https://qgis.org/api/ like
https://www.qgis.org/api/classQgsGeometry.html displays the 3.17 API instead
of 3.19 one

QGIS API Documentation  3.17.0-Master (eba9ffa46e)

List of all members
QgsGeometry Class Reference

...

Generated on Tue Feb 16 2021 21:03:40 for QGIS API Documentation by  
doxygen 1.8.13



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] QGIS gives different area calculation result compared to PROJ

2021-02-19 Thread Andrea Giudiceandrea
dr wrote
> So I would say it seems like an error in the area calculation algorithm in
> QGIS.

Hi,
there is no unique way to calculate the geodesic area.

For example, PROJ use a C implementation of the GeographicLib algorithm,
while QGIS uses the same algorithm used by GRASS, SpatiaLite 5 uses RTTOPO
library and PostGIS uses GeographicLib.

See this recent threed
http://osgeo-org.1560.x6.nabble.com/Confusion-with-ellipsoidal-method-of-area-td5454013.html
on the same topic.
There are two feature requests for QGIS and GRASS:
https://github.com/qgis/QGIS/issues/40888
https://github.com/OSGeo/grass/issues/1235
and a Pull Request in GRASS https://github.com/OSGeo/grass/pull/1283.

So it look like there is the possibility that GRASS will switch to use the
same C implementation of the GeographicLib algorithm used by PROJ.

Regards.

Andrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] QtDesigner qgis_customwidgets

2021-02-16 Thread Andrea Giudiceandrea
Andrea Giudiceandrea wrote
> are you using the "Qt Designer with QGIS 3.17.0 custom widgets (Nightly)"
> or
> "Qt Designer with QGIS 3.16.3 custom widgets"

While a normal installation of Qt Designer with QGIS 3.16.3 custom widgets
in OSGeo4W works well, Qt Designer with QGIS 3.17.0 custom widgets (Nightly)
fails to load the QGIS custom widgets.

See the issue report https://trac.osgeo.org/osgeo4w/ticket/659 (with
workaround) and the instantaneous fixes provided by 
Jürgen E. Fischer with commit
https://github.com/qgis/QGIS/commit/0fdf0e493c7ef2f6d981ef1feb4d971eeb43b4d2

Regards.

Andrea




--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] QtDesigner qgis_customwidgets

2021-02-16 Thread Andrea Giudiceandrea
Giulio Fattori wrote
> i can't get custom widgets in QtDesigner, i get this message,
> 
> I use QGIS 3.16 and 3.17 on win7 64bit system

Hi Giulio,
are you using the "Qt Designer with QGIS 3.17.0 custom widgets (Nightly)" or
"Qt Designer with QGIS 3.16.3 custom widgets" shortcuts in the Windows Start
menu (or the corresponding qgis-dev-designer.bat and qgis-designer.bat
Windows batch file in the "bin" folder) to launch the Qt Designer?

Regards.

Andrea





--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Do QgsGeometry constGet() e constParts() return non-modifiable or modifiable reference in PyQGIS?

2021-02-12 Thread Andrea Giudiceandrea
Nyall Dawson wrote
> Those results are as expected, but somewhat of a trap!

Thanks a lot for the clarification!

Regards.

Andrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


[QGIS-Developer] Do QgsGeometry constGet() e constParts() return non-modifiable or modifiable reference in PyQGIS?

2021-02-11 Thread Andrea Giudiceandrea
Hi all,
is it expected that QgsGeometry constGet() and constParts() in PyQGIS return
modifiable objects?

In the Python Console:

>>> geom=QgsGeometry.fromWkt( 'Point(16 41)' )
>>> geom_const=geom.constGet()
>>> geom_const.transform(QgsCoordinateTransform(QgsCoordinateReferenceSystem("EPSG:4326"),
>>> QgsCoordinateReferenceSystem("EPSG:25833"), QgsProject.instance()))

>>> geom_const

>>> geom



>>> geom=QgsGeometry.fromWkt( 'MultiPoint((16 41))' )
>>> for part in geom.constParts():
   
part.transform(QgsCoordinateTransform(QgsCoordinateReferenceSystem("EPSG:4326"),
QgsCoordinateReferenceSystem("EPSG:25833"), QgsProject.instance()))

>>> geom



Regards.

Andrea Giudiceandrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] timzonefinder vs point in polygon

2021-02-10 Thread Andrea Giudiceandrea
Nyall Dawson wrote
> Just to add to this -- if you pre-prepared the timezone polygon
> geometries and cached all the results then that's the fastest speed
> you'll ever achieve :) (at the cost of memory usage, however!)

timezonefinder uses precomputed lookup binary tables (~50MB) based on a
0.5deg_lonx1deg_lat grid to avoid most of the time to actually check which
timezone polygon a point is located in.

Regards.

Andrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] timzonefinder vs point in polygon

2021-02-05 Thread Andrea Giudiceandrea
C Hamilton wrote
> Using the algorithm Vector->Geoprocessing Tools->Intersection: 4 minutes,
> 4
> seconds

Hi Calvin,
maybe it could be better to use the "Join attributes by location" algorithm.
It only takes few seconds to preform the join.

Regards.

Andrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


[QGIS-Developer] issues.qgis.org not working

2021-01-26 Thread Andrea Giudiceandrea
Hi all,
it seems the Redmine old issue tracker at issues.qgis.org, which also stores
the old issues attachments, is currently not working properly.

Trying to access https://issues.qgis.org/ the servers responds with HTTP/1.1
301 Moved Permanently,
but the new location is always the same https://issues.qgis.org/ leading to
a redirection loop: ERR_TOO_MANY_REDIRECTS

Regards.

Andrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] QGIS composer print layout

2021-01-24 Thread Andrea Giudiceandrea
Giulio Fattori wrote
> could you send me the code correct as you say?

Hi Giulio,
as written by lejedi76, you just need to add:


def flags(self):
return super().flags() | QgsProcessingAlgorithm.FlagNoThreading


to your code, in order to let it correctly execute.

Regards.

Andrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Issue with QGIS 3.16.2 standalone and GRASS 7.8.4

2021-01-14 Thread Andrea Giudiceandrea
Myriam63 wrote
> I will wait until Jürgen  E. Fischer fix this bug because i don't know how
> to install the gdal300dll and proj62dll packages...

Hopefully will be fixed for the next QGIS version 3.16.3 (tomorrow or some
days after).

Anyway you can install gdal300dll and proj62dll packages (like dowgrading
the grass package from 7.8.5-1 to 7.8.4-1) using the OSGeo4W Setup.

Regards.

Andrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Issue with QGIS 3.16.2 standalone and GRASS 7.8.4

2021-01-13 Thread Andrea Giudiceandrea
Myriam63 wrote
> I installed the version of QGIS with
> QGIS-OSGeo4W-3.16.2-2-Setup-x86_64.exe,
> but the versions that were installed are 3.16.2-1 (not 3.16.2-2) for QGIS
> and 7.8.5-1 for GRASS, checked with OSGeo4W Setup.


Hi Myriam,
the numbering of the standalone installer and the numbering of single
packages could follow different path. A second version of the installer was
needed just to update the grass package, not the qgis package.



Myriam63 wrote
> When i use QGIS with "QGIS Desktop 3.16.2 with GRASS 7.8.4" link, i get
> the
> following error message:
> 2020-12-24T14:15:50 WARNINGGRASS init error : Problem in GRASS
> initialization, GRASS provider and plugin will not work : Module built
> against version d8fbd49af but trying to use version 2b6ab2893. You need to
> rebuild GRASS GIS or untangle multiple installations.

With the *-1 version of the standalone installer, GRASS 7.8.4 was installed,
but it was not possible to directly use GRASS nor to use any GRASS
processing tool in QGIS due to missing gdal300dll and proj62dll packages
installation.

Now, the *.2 version of the standalone installer ships GRASS 7.8.5 (that
don't need grass300dll and proj63dll packages installation) and it is
possible to directly use GRASS and to use the GRASS processing tools in
QGIS.
Anyway you hit another bug: it's not possible now to use the "GRASS 7
plugin" in QGIS. I didn't notice it because I don't usually use the "GRASS 7
plugin".

I filed a ticket in the OSGeo4W issues reporting system:
https://trac.osgeo.org/osgeo4w/ticket/657

To workaround the issue, waiting for Jürgen E. Fischer to fix also this bug,
you could use OSGeo4W Setup to downgrade the grass package from 7.8.5-1 to
7.8.4-1 and also install the gdal300dll and proj62dll packages.

Regards.

Andrea 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


  1   2   >