Hot answers tagged plugins
18
C++ plugins are less and less common these days. Most likely because they are more difficult to develop. Most documentation effort has been put into Python plugins. C++ still has it's place for performance critical things and functionality that is supposed to be merged into QGIS core (like new renderers for example).
This workshop is a pretty good resource ...
8
Add
http://plugins.qgis.org/plugins/plugins.xml
to the list of repositories in plugin installer 2nd tab. (If it should be missing.)
In Options tab, check if you have selected one of the "Show all plugins ..." options.
You can also add a lot of 3rd party plugins automatically to get a really long plugin list.
7
EDIT (May 21): This has been fixed with version 0.91 of the plugin.
Previous answer...
This has been discussed recently here: http://gis.stackexchange.com/a/20608/6725
As per the suggestion there, you can edit the Open Layers plugin to hide the white box.
Edit [path to your user plugins]\openlayers\html\google.css
Linux and other unices: ...
7
Basically you need to know 3 things:
1) Python : http://www.python.org/
2) PyQT (to make the user interface, if you want one) : http://www.riverbankcomputing.co.uk/software/pyqt/intro
3) Qgis API : http://doc.qgis.org/head/
They are all very well documented, to get started I recommend you to browse through the modules of the Qgis API and play with the ...
6
UPDATE:
Did some digging around on the QGIS site. Apparently you need to install the python-gis package if you want to use the python plugins.
sudo apt-get install python-qgis
You should now be able to add new plugins :)
If I'm not mistaken, you need to enable the Plugins Installer. Just activate it in Plugins Manager.
6
I installed QGis 1.9 with adding repositories to source list:
deb http://qgis.org/debian-nightly precise main
deb-src http://qgis.org/debian-nightly precise main
And public key:
gpg --keyserver keyserver.ubuntu.com --recv 1F9ADD375CA44993
gpg --export --armor 1F9ADD375CA44993 | sudo apt-key add -
So far works fine and no problems with getting ...
5
You just need to give yourself ownership of the the /.qgis directory where the plugins will be install. Use the change owner command in the terminal:
sudo chown "your username" ~/.qgis
You may also need to make the chown command recursive to cover the folders and files within the ~/.qgis folder:
sudo chown -R "your username" ~/.qgis
4
You can still add any repository you know using the "Add ..." button.
Hosting external repositories is now discouraged. Plugin authors should add their plugins to the official repository which will serve as a central hub where users can find plugins and report bugs. Work on a rating system is also on the todo list.
4
Sure thing. There are two options here:
One is that you can start QGIS with the --configpath arg so that all the configuration including plugins are stored at a custom path. Like so:
qgis.bat --configpath "D:\{somepath}"
You can put that in a .bat file and get the students to launch that.
This also has the advantage of being able to run QGIS, set it ...
4
How to compile latest QuantumGIS on a non-Debian/Ubuntu Linux-system with Python-plugin-support and GRASS-integration? I finally did it!
Download and prepare dependencies. Most of them I could find in repositories, sometimes package names vary. Dependencies from INSTALL read-me file:
CMake >= 2.6.2
Flex
Bison >= 2.4
Qt >= 4.4.0
Proj >= 4.4.x
GEOS >= 3.0
...
4
I've not used Sabayon before, but assuming it is the same as with Gentoo:
You need to enable some additional USE flags for GRASS and QGIS. In /etc/portage/package.use add the following:
sci-geosciences/qgis python grass
sci-geosciences/grass python
Then recompile using the new USE flags:
emerge --newuse sci-geosciences/qgis sci-geosciences/grass
3
A tool created for ArcGIS has been done by the University of Queensland and Norsys : (this is a bit dated as was using ArcGIS 9.2)
This is a simple example for a model of land surface stability. The BN
classification tool categorizes nodes as: background, classification
and observation variables. In the figure above, the three BN variables
for ...
3
You can add icons to the toolbar or menus. There is no toolbox. For more info check the pyqgis Cookbook http://www.qgis.org/pyqgis-cookbook/plugins.html
def initGui(self):
# create action that will start plugin configuration
self.action = QAction(QIcon(":/plugins/testplug/icon.png"), "Test plugin", self.iface.mainWindow())
...
3
It seems QGIS is removed from Debian and Ubuntu Precise repositories:
Ubuntu-Package-Search: QGIS
UbuntuUpdates Info about QGIS
Debian Bug Report
The PPAs from UbuntuGis do not provide packages for Ubuntu Precise at the moment:
ubuntugis
ubuntugis-unstable
Update:
ubuntugis-unstable starts providing aQGIS package for Ubuntu Precise..
3
I suppose you have the current standard version Wroclaw 1.74
Please read this post by underdark (in the comments) http://underdark.wordpress.com/2012/03/04/mapping-density-with-hexagonal-grids/ she writes:
"Yes, if you have current QGIS Trunk installed, you can activate a “Heatmap” plugin. It will show up in Raster menu."
2
OK, looking at this logically, I would say you are missing a dll, or one is not registered. From our good friends over at stackoverflow, I have found using Dependency Walker as good a utility as you can find for working out precisely what your project is using, and, more importantly, what it wants to use and cannot find.
Run it and look at the outputs. If ...
2
You can't.
I'm seeing the same issue since yesterday, with QGIS 1.7.4 and Open Layers Plugin 0.9 on Linux. I had those versions installed for a while already, and they used to not display the watermark.
Maybe Google recently changed their backend and the tiles they send to the plugin.
2
Your simplest option is to use the "Rectangles, Ovals and Diamonds" plugin as suggested. You will need to download and install it as I don't think it comes out-of-the-box. To find it this plugin go to Plugins->Fetch Python Plugins.
A dialog box will open and automatically connect to a number of repositories. When it has finished connecting, type ...
2
Allan,
One way of doing this in MapInfo Pro is by using the MapBasic Window:
1: Open the MapBasic window thru Options > Show MapBasic window
2: Change the order of the column of one of your tables thru Table > Maintenance > Table Structure
Now notice that the MapBasic statement for reordering your columns has been added to the MapBasic window.
3a. Change ...
2
I was trying to load the Faunalia Repository specifically because it has a plugin to handle OS MasterMap data. I have received a reply to this question that I posted to Lutraconsulting to whom I am grateful for this answer.
In the latest version of QGIS, 'Add 3rd Party Plugins' button has been removed.
To add Faunalia repository:
From the main menu, select ...
2
In the Python console in QGIS you can see what system paths are available to the interpreter:
>>> import sys
>>> sys.path
Any package or module located on one of those paths will be available to import. Here are some solutions to a shared module library approach:
Adding packages to /home/username/.qgis/python, though this requires you ...
1
It looks like it could be possible if you modify the existing OpenLayers Plugin for QGIS to do this
You can get the source code for it at github to get an editable version: https://github.com/sourcepole/qgis-openlayers-plugin
You don't have to fork or clone with git account, they offer the source code in a zip/tarball for anyone to download.
You can see ...
1
One approach is to load the .ui file dynamically:
# load the form
path = os.path.dirname( os.path.abspath( __file__ ) )
self.optionsDialog = uic.loadUi(os.path.join(path,"options.ui"))
# restore some options
self.optionsDialog.spinBoxFrameLength.setValue(2)
self.optionsDialog.checkBoxBackwards.setChecked(True)
# show dialog
...
1
While @Kurt came up with the basis of the answer, I think it is worth having the process for obtaining the QGIS Developer Trunk shown explicitly to directly answer @Nick's question of how to install.
This is copied from my comment above:
The easiest way to install the QGIS Trunk, along with standard QGIS, is likely using the OSGeo4W Installer.
Run the ...
1
Assuming Hot-spot is a synonym for heat-map then this has been asked (and answered) a few times before:
How to generate heatmaps with QGIS1.9 plugin automatically?
and
How to build effective heat-maps?
1
Don't put your sqlite database into a resource file, that's a really bad idea. You are converting the database into readonly binary data in your resource.py.
EDIT: Seems Qt resources are not meant just for storing strings. Use QSettings instead.
You should store the connection string (if needed) then just connect using something like sqlite3 in the ...
1
Zonal statistics comes readily installed in the current developer version of QGIS.
Maybe it will be included in the 1.8 release which should come out quite soon.
If you have to use 1.7.4, maybe try ZonalStats plugin instead.
As "semi-computer illiterate" (as you stated), chances to succeed with compiling QGIS on Mac OS are low.
1
I had the same problem on Ubuntu 11.10 (oneiric). To get the python plugin installer back, I uninstalled all qgis packages, added the unstable ubuntu-gis repositories (https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable):
deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu oneiric main
deb-src ...
1
Moderately easy :) The ZoomToPoint plugin can show you how to do half of this - you basically call mapCanvas.setExtent(rect) where rect is a QgsRectangle of the area to zoom to.
To get the area, just do a Postgis query and get back the result... Easier said than done... probably need to use psycopg2 for this bit unless there's a database-independent ...
1
You can check this manual how to set a repository, it is an automatic translation, but it should be understandable.
http://translate.google.com/translate?sl=auto&tl=en&js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&u=http%3A%2F%2Fgis-lab.info%2Fqa%2Fqgis-repo.html
Only top voted, non community-wiki answers of a minimum length are eligible


