I am trying to open Identify Results docked window using qgis plugin. How can i open the identify results window using feature id?  I am iterating through active layer, get a specific feature and then open the identify results window automatically within that plugin.
121948
If I select a feature and run self.iface.actionIdentify().trigger() it will open the identify window but won't open the selected feature's data, how can I make it open the data of the selected feature?
31683
A while ago I made a plugin for QGIS for myself.  This worked until version 2.18. Now I have version 3.0 and would like to use this plugin here too. But I get some error messages. I have been able to solve most of them fairly easily. Only I can not do this. Perhaps there is someone among you who can help me in this.   This is the code that I used before.   def initGui(self):     """Create menu entries and toolbar icons inside the QGIS GUI."""      icon_path = ":/plugins/BFVWtools/"      """Create the menu entrie Configuratie and toolbar icon inside the QGIS GUI."""     self.add_action(icon_path + "/icon.png", text=self.tr(u'Configuratie'),      callback=self.run, parent=self.iface.mainWindow())     self.action = QAction( QIcon( os.path.dirname(os.path.realpath(__file__)) + "/icon.png" ), "Configuratie",      self.iface.mainWindow() )     QObject.connect(self.action, SIGNAL("triggered()"), self.run)   The error message I get is the following  AttributeError: type object 'QObject' has no attribute 'connect'  Traceback (most recent call last):   File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 345, in startPlugin plugins[packageName].initGui()   File "C:/Users/Automatisering/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\BFVWtools\bfvw_tools.py", line 212, in initGui QObject.connect(self.action, SIGNAL("triggered()"), self.run) AttributeError: type object 'QObject' has no attribute 'connect'   Apparently there is no attribute 'Connect' in QObject    After your explanation, I have converted everything to PyQt5 and changed the connect to slot. The strange thing is that I now get all the entrys from the menu one after the other.
119102
Is there something similar to the "Open Command Window Here" Windows Powertoy for Mac OS? I've found a couple plugins through a google search but wanted to see what works best for developers out there.
37804
I have recently migrated from ArcGIS to QGIS.  Is there any way to identify a feature having multiple layers? I am currently working with about 400 shape files and need to know which is the one I'm currently working on. When I click the polygon I want to identify with the identify tool nothing happens unless I have the layer selected in the layer panel. The same happens with the selection tool.  How can I fix this? In ArcGis I could identify any feature without having it selected on the layer list and I've looked through the settings of QGis and found nothing.
30588
I am trying to talk to the PyQGIS API for use in a 3rd party application using the offical .dmg image provided on the QGIS homepage.  After setting PYTHONPATH to /Applications/QGIS3.4.app/Contents/Resources/python and initializing everything as stated in , I am facing the following error when running from PyQt5.QtGui import or from qgis import *:    ImportError: dlopen(/Applications/QGIS3.4.app/Contents/Resources/python/PyQt5/QtGui.so, 2): Library not loaded: @executable_path/../Frameworks/QtGui.framework/QtGui   Referenced from: /Applications/QGIS3.4.app/Contents/Resources/python/PyQt5/QtGui.so   Reason: image not found   Looks like I need to set some linkers or similar?   Side facts: - I have no problems when using the homebrew version of QGIS). - I am on macOS 10.14.6 (Mojave)
72632
I am using QGIS. I have two exports of vector data created some 6 months apart. How do I find any new objects added in the 6 months, and any attribute changes in the original objects? An asset_id field exists in both tables as a unique identifier, and will carry through both tables. I can use the &quot;Difference&quot; tool to get geometry changes but can't get the attribute table changes too.
124261
I'm trying to make an edit form in QGIS (Python code) ,and i want after feature drawing to get the id, and the feature to be selected. Do you have any ideas to do that?  Tried so far:  self.iface.activeLayer().featureAdded.connect(self.myfonction)  def myfonction(self):      for feat in self.iface.activeLayer().getFeatures():         self.iface.activeLayer().setSelectedFeatures([feat.id()])
119569
On a shared computer, I have a QGIS project which links up to a PostGIS database that contains my data. If a user wants to access layers from the db, they have to enter the db credentials, so that's OK.   However, I have previously logged on and imported layers from my db into QGIS, and manipulated them in QGIS (styling options based on meta-data, etc.)... Anybody who opens my QGIS project can view these layers in QGIS, and can therefore see the data I wish to be protected in my db.  Is there a way to password protect my QGIS project?
41999
I'm using Ubuntu 17.10 with GNOME 3. How can I show all open windows of a certain application using the sidebar (aka Ubuntu Dock)? Right now I have to right-click and select "all windows" to see my other open windows.   Is there a quicker way to do this?
59071
I have a bunch of points on a QGIS map. Each point is a unique sampling event. However, some of these points have been sampled multiple times but there is no common identifier in the attribute data to determine this. The only way we can see this is by looking at the map and seeing points very close to each other.   I am wondering if anyone has a method to assign points within a 150 meters of each other a common identifier?
53578
I want to append some data to a layer in my PostGIS DB using a shapefile, but when I use the Import layer/file tool in QGIS, it doesn't allow me to choose the append option.  Why is this and how do I get it to allow me to append?
32746
I have a plugin with a function (triggered by a button) that selects a specific layer by name, then shows its attribute table. When I close the plugin and open it again, the attribute table pops up twice, and repeating this keeps adding another table popup. What's wrong?  Code:  def showTable(self):     for lyrs in QgsMapLayerRegistry.instance().mapLayers().values():         if lyrs.name() == "TestFeatures":             lyrTest = lyrs     self.iface.showAttributeTable(lyrTest)
94358
When I open illustrator and move it to my secondary monitor in Mavericks and try and open anything... for example a new document, it will appear in my laptop screen as opposed to my second monitor. Is there any way for me to make windows open in the screen that is actively running the program or do I just have to drag one by one?  I appreciate the help!
26872
I am trying to learn GRASS and QGIS using the instructions here: . I am running on Windows and open the version of QGIS with GRASS. When I enable the GRASS plugin, however, I see only two buttons on the toolbar. The panel is telling me to open a GRASS mapset but the button to create a new mapset is not visible in the toolbar. What am I missing here?  I'm using QGIS 2.14.3 with GRASS 7.0.4
101660
I'm working with several layer stacks that have 100+ bands in QGIS. The stacks are ENVI files, all band names are properly stored in the headers. Unfortunately, QGIS will not diplay them when choosing the style or when extracting info by clicking on the map. However, QGIS will show all the names Properties->Metadata.  Isn't there any way to get the band names to show properly?
83170
I want to ask how to get id of element which was clicked by right clicking in open menu. I must know ID of this element to show only that history the element what was clicked fom open menu:
9558
Although I have installed the OpenLayers plugin in QGIS 2.4, I cannot see it in the list when I click on Plugins.    Does anyone else have this issue?