[QGIS-Developer] QGIS Server vs QGIS Desktop

2024-05-16 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
Does Server provide any analysis capabilities or is it just mainly to serve maps (WMS, WFS, etc.)? I read on the into page that it has plugin capabilities and uses QGIS as the back end. I have a plugin that I developed for QGIS Desktop and have been asked if we could eventually go completely

[QGIS-Developer] Drawing centerline in polygon as a symbol

2024-05-03 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
I have building with a ridgeline that I am creating in GooJSON format. I realize I can't combine a polygon footprint and a center line representing the rood ridgeline into one layer as there is no support for multiple geometries. My first thought for a workaround is just create a zero area

[QGIS-Developer] Using debugvs in QGIS 3.34.4

2024-04-03 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
I recently installed QGIS 3.34.4, but when I run the debugger I received the error below. DebugVS: Need install ptvsd: pip3 install ptvsd I checked using pip list and see I have installed ptvsd 4.3.2 installed. I checked the DebugVS plugin install and noted it stated: For use, run this plugin

Re: [QGIS-Developer] Access to shapeDigitizeToolBar menu's text

2024-03-15 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
on_widget_item.defaultWidget().menu().actions()): print (f"\t{j}: {action_item.data()}") # id like print (f"\t\ttranslated text: {action_item.text()}") Regards, Jacky Volpes Ingénieur SIG - Oslandia Le 27/02/2024 à 04:10, Catania, Luke A ERDC-RDE-GRL-VA

Re: [QGIS-Developer] Access to shapeDigitizeToolBar menu's text

2024-03-05 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
nt (f"\t\ttranslated text: {action_item.text()}") Regards, Jacky Volpes Ingénieur SIG - Oslandia Le 27/02/2024 à 04:10, Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer a écrit : Trying to get access to the button menus in shapeDigitizeToolBar. from qgis.utils import ifac

Re: [QGIS-Developer] Road Ahead Table is Confusing

2024-02-26 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
is forked/frozen/taken for the packaging. Packaging can take a couple of days. You just need to be patient. It will be available soon. Greetings, Andreas On 2024-02-27 01:44, Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer wrote: I find the Road Ahead Table confusing. So does the line

[QGIS-Developer] Access to shapeDigitizeToolBar menu's text

2024-02-26 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
Trying to get access to the button menus in shapeDigitizeToolBar. from qgis.utils import iface from PyQt5.QtWidgets import QWidgetAction sdtb = iface.shapeDigitizeToolBar() i=0 for action_item in sdtb.actions(): i=i+1 print (f"{i}: {action_item}") This prints: 1: 2: 3: 4: 5: I

[QGIS-Developer] Road Ahead Table is Confusing

2024-02-26 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
I find the Road Ahead Table confusing. So does the line LR/PR 3.36.0 3.34.4 2024-02-23 8 4 indicate that 3.34.4 is the latest LTR release available. Where is it? I only see 3.34.3 available for download. ___ QGIS-Developer mailing list

[QGIS-Developer] Is Continuous Legends the default?

2024-02-09 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
I am in process of upgrading my plugin to work in QGIS 3.28.15. I have layer styles that I created in 3.16.16. I noticed the update to the Properties Symbology setting includes Legend Settings... It seems that continuous legends are the default. I have layer styles files I have do not have

[QGIS-Developer] Edit Menu Items missing in 3.28.15

2024-02-09 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
I am upgrading my plugin from 3.16.16 to 3.28.15. I installed 3.28.15 and I don't see the options to Add Circle, Add Rectangle, and Add Ellipse option in the Edit Menu. I see in the documentation: https://docs.qgis.org/3.28/en/docs/user_manual/introduction/qgis_gui.html#edit that it is still

[QGIS-Developer] Form Annotation not working in QGIS 3.16.16 or 3.28.14

2024-01-22 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
I am using QGIS 3.16.16 as that is what my plugin fully works in but I am in the process of updating it to a new version of QGIS. I also tried the form annotation in 3.28.14 with no success. I followed the video in the help document. https://www.youtube.com/watch?v=0pDBuSbQ02o=145s which is

Re: [QGIS-Developer] pygdaltools library documentation sparce

2023-10-10 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
library documentation sparce On Wed, 11 Oct 2023 at 15:15, Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer wrote: > > Anyone use pygdaltools? You're better off asking this on the GDAL-Dev list, rather than QGIS-Dev. Nyall > > > > > > import gdaltools > >

[QGIS-Developer] pygdaltools library documentation sparce

2023-10-10 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
I am running simple code to convert dxf to gpkg and I get the error below. -am an trying to figure eout how to add a bunch of options ( -f GPKG -append -update --config DXF_ENCODING CP1252 --config DXF_INCLUDE_RAW_CODE_VALUES TRUE --config DXF_TRANSLATE_ESCAPE_SEQUENCES FALSE --config

[QGIS-Developer] Windows fatal exception: access violation running a processing tool

2023-10-10 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
I am executing processing.run("gdal:convertformat", {'INPUT':'D:/Site Selection/Data/MP/ezdxf/32111/dxf_out/32111.dxf','OPTIONS':'','OUTPUT': 'D:/Site Selection/Data/MP/ezdxf/32111/gpkg_out/32111.gpkg})' which I copied from the QGIS processing toolbox history and I get the error: Windows

[QGIS-Developer] QGIS 3D and Graphics Card Requirements

2023-09-20 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
Anyone out there working with QGIS 3D? I am looking to get a new Dell laptop with i9 processor and 64GB memory and wondering what the minimum requirements for working with QGIS 3D is. I had a coworker who could not run 3D on his laptop assume due to his lower end graphics card. I don't

[QGIS-Developer] core.QgsProcessingException: An error occurred while performing the calculation

2023-05-25 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
I am trying to run a rastercalculator through a call to its python method and I get the error message core.QgsProcessingException: An error occurred while performing the calculation. Not a very intuitive message. The variable _cutfill_nodata_file used in the code below is a path to a result

[QGIS-Developer] QtWebEngineView crashes QT Designer

2023-05-09 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
Every time I click on the widget to start dragging it to the widget canvas, QT Designer crashes. About menu says it uses QT 5.15.2. I am using it to support development in QGIS 3.16.16. I have to stick with 3.16.16 for our upcoming plugin release due to time limited time constraints for

[QGIS-Developer] Override mouse events in Shape Digitizing Toolbar

2023-05-04 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
I have made a few posts here, so this might sound a bit repetitive, but specifies the specific QGIS tool I am using. I want to override the right mouse click when using the Shape Digitizing Toolbar to end an edit session. I don't want it to end the session unless the shape is if of a specific

Re: [QGIS-Developer] RuntimeError: wrapped C/C++ object of type QgsVectorLayer has been deleted

2023-05-04 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
for completing an edit session. This is vert frustrating.  From: QGIS-Developer On Behalf Of Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer Sent: Thursday, May 4, 2023 2:05 PM To: Benjamin Jakimow ; qgis-developer@lists.osgeo.org Subject: Re: [QGIS-Developer] RuntimeError: wrapped C/C

Re: [QGIS-Developer] RuntimeError: wrapped C/C++ object of type QgsVectorLayer has been deleted

2023-05-04 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
3 um 04:46 schrieb Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer: I am trying to understand the general meaning of the message below. RuntimeError: wrapped C/C++ object of type QgsVectorLayer has been deleted I step through my code in the debugger and at some point my variable,

[QGIS-Developer] Digitizing with Edit Menu

2023-04-30 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
When you digitize a shape using the Edit menu in QGIS is the shape accessible? I am looking to get he area of the shape as it is drawn. I have added an event filter to my code to capture the coordinates and calculate it by creating a QgsGeometry, but my code is getting complicated as there

Re: [QGIS-Developer] Customizing Layer Panel

2023-04-27 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
ia, Luke A ERDC-RDE-GRL-VA CIV Cc: qgis-developer@lists.osgeo.org Subject: Re: [QGIS-Developer] Customizing Layer Panel Great, what if I want an icon too? Thanks in advance for any help Giulio Il 27/04/2023 00:06, Nyall Dawson via QGIS-Developer ha scritto: On Thu, 27 Apr 2023 at 07:42, Catan

[QGIS-Developer] Customizing Layer Panel

2023-04-26 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
Looking to add two icons to the QGIS Layer Panel that would access custom code to sort the layers. I already have the code. It's not a simple geometry type or alphabetical sort but I'm all set with that code anyway. I just want to add icons into the layer panel. I found this site that shows

[QGIS-Developer] QGIS Edit Menu detect selection

2023-04-24 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
Is there a way to detect the selection of the edit menu? I have a eventFilter on the map canvas that works great with a rectangle. It detects the left mouse press to get the start point and as the mouse is moved, it calculates the area of the rectangle and if within a certain range will

Re: [QGIS-Developer] Temporarily disable map canvas right click showing Copy Coordinates

2023-04-13 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
thinks of a better way feel free to answer, but this will work for now. I was hoping the setContextMenuPolicy methd would work. -Original Message- From: QGIS-Developer On Behalf Of Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer Sent: Thursday, April 13, 2023 1:29 AM To: Nyall

Re: [QGIS-Developer] Temporarily disable map canvas right click showing Copy Coordinates

2023-04-12 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
Copy Coordinates On Thu, 13 Apr 2023 at 10:47, Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer wrote: > > I have an event filter on the map canvas that performs a commit during > feature editing when right clicking on the canvas. While this performs the > commit, it then

[QGIS-Developer] Temporarily disable map canvas right click showing Copy Coordinates

2023-04-12 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
I have an event filter on the map canvas that performs a commit during feature editing when right clicking on the canvas. While this performs the commit, it then pops up Copy Coordinates. I don't want the user to see this. I want my mouse click event to be recognized and not have QGIS use it

[QGIS-Developer] Custom functions does not automatically load

2023-04-10 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
I wrote a custom function that accesses the area of the feature and adjusts the label accordingly. After I clicked on Save and Load Function I see my functions category and the functions and can use them in the expression tab, but when I close QGIS and start it again, the function is not

Re: [QGIS-Developer] Detect a Map Canvas Mouse Event

2023-04-05 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
Looking for something like canvas.xyCoordinates.connect( self.canvasMoveEvent ) but that's from a 7 year old post so looks like xyCoordinates is not in QGIS 3.x From: QGIS-Developer On Behalf Of Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer Sent: Wednesday, April 5, 2023 11:53 AM

Re: [QGIS-Developer] Detect a Map Canvas Mouse Event

2023-04-05 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
overridden. So looks like I need a different approach to get xy from the map canvas. From: QGIS-Developer On Behalf Of Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer Sent: Wednesday, April 5, 2023 11:27 AM To: qgis-developer@lists.osgeo.org Subject: [QGIS-Developer] Detect a Map Canvas Mouse

[QGIS-Developer] Detect a Map Canvas Mouse Event

2023-04-05 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
Trying to get a map canvas event when canvas is clicked and mouse is dragged. I have code that creates an empty layer, but I use the QGIS edit menu to add the actually layer. I want to be able to track the mouse movement so I can calculated the area of the feature being drawn in real time so

[QGIS-Developer] Getting Pan Cursor back after an edit session.

2023-04-04 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
My cursor displays as bullseye until I left click on the mouse. I called iface.actionPan().trigger() but it is only working when I initiate a left click. ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:

Re: [QGIS-Developer] Create layer, start edit session, commit and end edit session does not get me completely out of edit session and get my pan cursor back

2023-04-04 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
-GRL-VA CIV via QGIS-Developer Sent: Friday, March 17, 2023 7:44 PM To: qgis-developer@lists.osgeo.org Subject: [QGIS-Developer] Create layer, start edit session, commit and end edit session does not get me completely out of edit session and get my pan cursor back I have written code

[QGIS-Developer] Show selected tab in another color

2023-03-27 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
Trying to show the selected tab in another color. The way it works now, there is no indication the tab is selected other than that different text shows up. I found one site that mentions using QTabBar::tab:selected, but have not been ale to get it to work.

[QGIS-Developer] Create layer, start edit session, commit and end edit session does not get me completely out of edit session and get my pan cursor back

2023-03-17 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
I have written code that automatically creates an empty QgsVectorLayer, adds it to the layer panel; I add a call to vlayer.featureAdded.connect(self.check_size) on the created layer that starts an edit session as well as checks that my polygon is within a min and max size. The user can then

Re: [QGIS-Developer] Revert Previous Plugin, disable "Upgrade All" and "Upgrade Plugin" buttons

2023-01-11 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
Subject: Re: [QGIS-Developer] Revert Previous Plugin, disable "Upgrade All" and "Upgrade Plugin" buttons On Wed, 11 Jan 2023 at 12:49, Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer mailto:qgis-developer@lists.osgeo.org>> wrote: > > I had a user th

Re: [QGIS-Developer] Revert Previous Plugin, disable "Upgrade All" and "Upgrade Plugin" buttons

2023-01-11 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
Install from Zip One possible way to disable the Upgrade All or Upgrade Plugin is to disable all the plugin repositories (i.e. Plugins -> Settings -> disable all repositories). Hope this helps. On Wed, Jan 11, 2023 at 9:49 AM Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer mailto:qgis

[QGIS-Developer] Revert Previous Plugin, disable "Upgrade All" and "Upgrade Plugin" buttons

2023-01-10 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
I had a user that may have hit the "Upgrade All" button in the plugins window. Does that automatically upgrade all installed plugins to the newest version? If so is there a way to revert back to the previous versions. He may have just hit the Upgrade Plugin button for the specific plugin. Not

[QGIS-Developer] Pyinstaller to create stand alone app

2022-07-12 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
I have the need to launch QGIS from a python file due to some other checks I need to setup before it is running. I convert this python file to an exe but Windows Defender flags it as a virus. The exe is created from a batch (.cmd) file with the following calls: call "QGISenv.bat" call