Tag Info

Hot answers tagged

19

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

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.


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.


8

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 ...


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

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


7

All plugins have to be rewritten to work with the new API. If the authors did not do that yet, the plugins do not appear in the current plugin list. Some authors have added plugins and don't care about them anymore, or didn't get the message about the necessary update. A kind request to the authors might help to get them back to the list.


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 ...


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

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

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

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

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


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

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 ...


2

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 ...


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

I used Google to find that there is an issue with using it as a plug-in to ArcGIS and AutoCAD at the moment: Temporary Notice Unfortunately, pending discussion with ESRI and Autodesk over use of sDNA within ArcMap and Autocad, plugin functionality is disabled for the moment. Fortunately, it is still possible to use sDNA Standalone to ...


2

You can try loading the dxf into QGIS with Add vector layer, and then rightclick on the layer and Save As ... into shapefile format. That way you might get better error messages, and a visual control on the data. For the shapefile, you must decide what coordinate refrenece system you are using (lat/long degrees or metres).


2

You could achieve this based on the QGIS Combo Manager Just create your own filter for the fields in a subclass of FieldCombo. The following code is untested (literally), so please bear with me if there's a typo or other minor problems, and think of it as a reference. from qgiscombomanager import * class MyFieldCombo( FieldCombo ): def __init__(self, ...


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

If you're doing server side code in Java, I'd recommend IntelliJ (also by JetBrains) or Netbeans. They both handle javascript pretty well. If you're not doing serverside code or serverside with node.js, I think Webstorm is a good option. I'd also consider a simpler tool, like Sublime Text, that has very good plug-ins supporting javascript development.


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 ...



Only top voted, non community-wiki answers of a minimum length are eligible