Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 12:44
    weca-theo commented #51110
  • 12:42
    3nids synchronize #51117
  • 12:34

    delete-merged-branch[bot] on backport-7910-to-release_3.28

    (compare)

  • 12:34

    DelazJ on release_3.28

    Split features with polygons (compare)

  • 12:34
    DelazJ closed #7911
  • 12:28
    rouault commented #51069
  • 12:05
    agiudiceandrea commented #51084
  • 11:43

    qgis-bot on backport-7910-to-release_3.28

    Split features with polygons (compare)

  • 11:43
    qgis-bot opened #7911
  • 11:42

    DelazJ on master

    Split features with polygons (compare)

  • 11:42
    DelazJ closed #7891
  • 11:42
    DelazJ closed #7910
  • 11:40
    Doctor-Who commented #51084
  • 11:19
    agiudiceandrea labeled #51105
  • 11:19
    agiudiceandrea labeled #51105
  • 11:15
    Ming411 starred qgis/QGIS
  • 11:04
    agiudiceandrea commented #51084
  • 10:56
    uclaros commented #51107
  • 10:51
    uclaros labeled #51107
  • 10:33
    3nids synchronize #51117
Guilhem Villemin
@gui2dev
maybe that was too much flags
Tom Kralidis
@tomkralidis
Hi QGIS devs: gentle callout for #44812 if anyone has a chance to review/suggest changes/approve. Thanks.
anitagraser
@anitagraser:osgeo.org
[m]
ping
Jürgen Fischer
@jef-n
ping
strk
@strk:osgeo.org
[m]
ping from gitter
Sandro Santilli
@strk_gitlab
ping from the real gitter (and yes, I can see the message from strk sent via matrix portal)
strk
@strk:osgeo.org
[m]
these messages don't get to #qgis:osgeo.org -- dunno why
Jürgen Fischer
@jef-n
ping
Sandro Santilli
@strk_gitlab
uhm
I don't see a Gitter widget that can possibly be added on the matrix room
I thought it was possible
Karl TAYOU
@TANK2003

Hello everyone!
if someone can help me, i have a script in pyqgis wich goal is to add new style to a vectorlayer with a new name.

newStyle:QgsMapLayerStyle = ....
newStyleName:str = ...

QGISProject = QgsProject()
QGISProject.read(pathToQgisProject)
layer = QGISProject.mapLayersByName(layerName)[0]
styleManager = layer.styleManager()
styleManager.addStyle(styleName,newStyle) // True
print(styleManager.styles()) // ['default',newStyleName]
QGISProject.write() // True


QGISProject = QgsProject()
QGISProject.read(pathToQgisProject)
layer = QGISProject.mapLayersByName(layerName)[0]
styleManager = layer.styleManager()
print(styleManager.styles()) // ['default']

Every thing work fine, but after write and reopen the project, the new style does not exist

Regards

Sandro Santilli
@strk_gitlab
@TANK2003 this channel is unsupported, please use matrix.to/#/#qgis:osgeo.org
Karl TAYOU
@TANK2003
Thanks @strk_gitlab , will post it there !
Nicolai Mogensen
@NicolaiMogensen
When setting a theme in PyQGIS i can only find the relevant code to set the mapCanvas, but the layerTree does not seem to follow.
self.iface.mapCanvas().setTheme("myTheme") works, but does not update the layerTree how do i get them to sync?
Mehmet Akif Ortak
@orttak
Do you know any Pyqgis+grass docker environment?
from offical documantationö I get blank page from below command
for alg in QgsApplication.processingRegistry().algorithms():
print(alg.id(), "->", alg.displayName())
Pei JIA
@jiapei100
Could not find QCA >= 2.0.3
Julien
@JulienPoint
Hi all!
I have a question about digitizing in QGIS : I'd like to create multiparts polygons. When I start creating a feature, let's say I choose the rectangular constraint (Add Rectangle from 3 points in Shape Digitizing Toolbar). From now I want to add a new part. The Add Part tool does the job while I stick to free hand drawing; but what if I want to re-use a constraint, for exemple add a new rectangle from 3 points? Activating the Shape Digitizing Tool will create a new feature, not a new part...
Do you see a way to create multiparts with constraints?
Thanks!
Quinn New
@storyofblue
Hello everyone!
if someone can help me.when I run creatensis.pl,there are some error below:
'winepath' is not an internal or external command, nor is it a running program or batch file
Command line defined: "INNER=1"
Command line defined: "UNINSTALLERDEST=''"
Command line defined: "INSTALLER_NAME='makeuinst.exe'"
running makensis failed [makensis -DINNER=1 -DUNINSTALLERDEST='' -DINSTALLER_NAME='makeuinst.exe'  -V0 -DVERSION_NAME='Hannover' -DVERSION_NUMBER='3.16.15' -DBINARY_REVISION=1 -DVERSION_INT='3161501' -DQGIS_BASE='QGIS 3.16' -DDISPLAYED_NAME="QGIS 3.16.15 'Hannover'" -DPACKAGE_FOLDER=osgeo4w/unpacked-x86_64 -DLICENSE_FILE='osgeo4w/unpacked-x86_64/apps/qgis/doc/LICENSE' -DARCH='x86_64' QGIS-Installer.nsi] at G:\My_QGIS\QGIS-final-3_16_15\ms-windows\osgeo4w\creatensis.pl line 514.
Luca Penasa
@luca-penasa
Hello everybody. I am having some troubles with this geotiff: https://planetarymaps.usgs.gov/mosaic/Io_GalileoSSI-Voyager_Global_Mosaic_1km.tif. The measure line tool seems to fail to correctly reproject the points and ends up reporting nan distances. Anybody has some experience with these planetary CRSs? Same for the scalebar in layout with is not correctly created. seems like in v3.14 it was working better. Any idea?
frippe12573
@frippe12573
hi all, do you know why if I create a vector grid from a raster, it results a bit shifted?
Tobias Megies
@megies
Hi everybody. I have tons of saved layer styles from older QGis versions in .qml files. Today I tried to load such a file in QGis 3.4.4 but it refuses to even list those files and only wants .sld files. I could not find any information about this change or how to convert my old files. Anybody have some info on this? Surely there must be a way to convert old format into new one?
Tobias Megies
@megies
Nevermind, must've been in a wrong folder or something similarly stupid
Chris MacDermaid
@chris-macdermaid
Where can I report an issue with MetaSearch? I go to the plugins page but the link to Browse and report bugs is broken.
https://hub.qgis.org/projects/quantum-gis/issues?category_id=107&set_filter=1&status_id=o
1 reply
thomas.struller
@thomas.struller:matrix.org
[m]

Hallo,
I use linux mint 20.3 Una base: Ubuntu 20.04 focal with QGIS-Version 3.24.0-Tisler QGIS-Codeversion 6b44a42058. Repository: https://qgis.org/ubuntu-nightly-release

Aborted (core dumped)
dpkg: Fehler beim Bearbeiten des Paketes qgis-providers (--configure):
»installiertes qgis-providers-Skript des Paketes post-installation«-Unterprozes
s gab den Fehlerwert 134 zurück
libqgisgrass7-3.24.1 (1:3.24.1+git20220401+3172990da8+32focal) wird eingerichtet
...
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von qgis:
qgis hängt ab von qgis-providers (= 1:3.24.1+git20220401+3172990da8+32focal); a
ber:
Paket qgis-providers ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes qgis (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
libqgis-customwidgets (1:3.24.1+git20220401+3172990da8+32focal) wird eingerichte
t ...
libqgisgrass7-3.24.0 (1:3.24.0+git20220315+b806aab357+32focal) wird eingerichtet
...
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python3-qgis:
python3-qgis hängt ab von qgis-providers (= 1:3.24.1+git20220401+3172990da8+32f
ocal); aber:
Paket qgis-providers ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python3-qgis (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
python3-qgis-common (1:3.24.1+git20220401+3172990da8+32focal) wird eingerichtet
...
qgis-provider-grass (1:3.24.1+git20220401+3172990da8+32focal) wird eingerichtet
...
python-qgis-common (1:3.24.1+git20220401+3172990da8+32focal) wird eingerichtet .
..
Trigger für man-db (2.9.1-1) werden verarbeitet ...
Trigger für shared-mime-info (1.15-1) werden verarbeitet ...
Trigger für desktop-file-utils (0.24+linuxmint1) werden verarbeitet ...
Trigger für mime-support (3.64ubuntu1) werden verarbeitet ...
Trigger für hicolor-icon-theme (0.17-2) werden verarbeitet ...
Trigger für gnome-menus (3.36.0-1ubuntu1) werden verarbeitet ...
Trigger für libc-bin (2.31-0ubuntu9.7) werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
qgis-providers
qgis
python3-qgis
E: Sub-process /usr/bin/dpkg returned an error code (1)

What do I have to do to correct my installation?

1 reply
Byron Cochrane
@ByronCinNZ
Hello. Okay, I am having a weird error I hope someone can help me fix. It might be a GeoServer issue so will post there as well. First I load a Geoserver WFS point layer in QGIS and edit it. It all seems fine, save edits without issue and the edit appears in the table. But when I reload the wfs layer again, while the edit is still there, the x y coordinates have been swapped. Any ideas how I stop this?
The coordinate system is EPSG:2193
Byron Cochrane
@ByronCinNZ
image.png
Sorted. Just needed to check the right boxes and reload (refresh was not enough).
lsntdev
@lsntdev
Good morning, I am a new in pyqgis, I would like to ask if anyone can help me to write a code that verify if a geopackage contains a project or only layer?
Good morning, I am a new in pyqgis, I would like to ask if anyone can help me to write a code that verify if a geopackage contains a project or only layer?
Screenshot.png
In the picture I wanna do this inside a script that take the path of the gpkg and check if it has project name or not, in qgis the project will be empty if a gpkg doesnt have project.
what I did so far is to use prj = QgsProject.instance() prj.read('geopackage:/home/me/Downloads/test.gpkg') but it give me an *ogr error no more rows *
1 reply
mjh1424
@20Jayden
image.png
Hello, I am having a hard time due to a lot of errors while compiling QGIS. If you have any experience, please help me.
Ana Caroline Ferreira
@carolgit_gitlab
Hello I've been having some trouble when plublishing a plugin using the plataform at https://plugins.qgis.org/plugins/add/ it tries for a while then returns connection lost, can sombody help me with that?
Ana Caroline Ferreira
@carolgit_gitlab
Also can result in 413 Request Entity Too Large
So, Is it a the size limite for plugin zip ? What is it?
Ana Caroline Ferreira
@carolgit_gitlab
This plugin has no public version yet. - How to make it public
Maxime Collombin
@maxcollombin
Hi all,
I have a problem with the display of the leaflet map at the item level in the next instance of qgis server:
https://ogc.heig-vd.ch/qgis/wfs3/collections/Protective%20forests%20in%20the%20canton%20of%20Geneva/items.html
although the bbox is displayed correctly at the collection level:
https://ogc.heig-vd.ch/qgis/wfs3/collections/Protective%20forests%20in%20the%20canton%20of%20Geneva.html
Has anyone encountered a similar problem and could tell me how to solve it?
Best,
Florian Hoedt
@gannebamm
Hi, just a quick double check: https://plugins.qgis.org is currently not available, right?
1 reply
saravananperiyasamy
@saravanan-periyasamy03
Hi, I am trying to set up qgis server in k8s for routing use cases like plotting the routing path for truck with source and multiple destinations to deliver an order.. I'm new to this and is there any document which i can follow to install qgis server in k8s ? I tried installing "/camptocamp/qgis-server:3.14" in k8s and see pod is up but while trying to access the map through an project created in qgis desktop, i see empty response..
jph6366
@jph6366
Image Pasted at 2022-8-31 15-48.png
Looking to imitate this visualization in QGIS, any tips?
I like the look of this compared to the option for heatmap visualization in QGIS
Maybe I am better off using R Studio?
rafdesouza
@rafdesouza
Hello all, I have an application that uses qgis processed maps to run and generate multiple models. The application will be installed by a dockerfile and run in a separate server. I need to find a way to link the outputs from qgis to this application. anyone around with any experience doing something similar? thanks