Tag Info

New answers tagged

0

One of the plugin frameworks (the Processing framework) that's used by a lot of plugins, including Buffer by Percentage, changed the structure of its files slightly starting with QGIS 2.5. Most of the plugins using this framework have to be adapted to work correctly with QGIS 2.5 and 2.6. A new version (0.2.1) of the Buffer by Percentage plugin was released ...


4

You can use QGIS' Delimited Text Layer support to add the layer to the map, at which point you can right-click the layer and select 'Save As...' to convert to Shapefile or other supported formats.


0

loaded plugins and their instance are available in the dict qgis.utils.plugins you can manage load and unload with other methods in qgis.utils (do help(qgis.utils) in pythonconsole to show static methods available) this is only the base to solve you problem, you should manage check if running or not using some method in your plugin, or you can check if ...


0

I'm not sure but maybe you have to disconnect the signal layersWillBeRemoved from the default slot removeMapLayers.


2

I had the same problem. This should solve the bug (QGIS 2.6 under Windows): close QGIS using regedit.exe, search for "Plugin-GeoReferencer". This should point to a folder under \HKEY_CURRENT_USER\Software\QGIS\QGIS2\Plugins (optional: export a .reg version of the folder for back-up) delete the folder "Plugin-Georeferencer" restart QGIS. Georeferencer ...


1

I had the same problem. This should solve the bug (QGIS 2.6 under Windows): close QGIS using regedit.exe, search for "Plugin-GeoReferencer". This should point to a folder under \HKEY_CURRENT_USER\Software\QGIS\QGIS2\Plugins (optional: export a .reg version of the fodler for back-up) delete the folder "Plugin-Georeferencer" restart QGIS. Georeferencer ...


0

Merhaba Başak Hanım, You could try manual installation if you are experiencing issues with automatic installation by using QGIS Plugin Manager. FlowMapper is designed to be compatible with Windows, MacOS* and Linux platforms. It other words it has cross platform support. (*filtering options do not work under macos unless gdal/ogr dependencies are ...


1

Note that you are using documentation from 2011. Since then QGIS has advanced to version 2.x and there was a Python API break between 1.7 and 2.0. You can find an up to date description of the plugin creation process as http://anitagraser.com/2014/04/26/getting-started-writing-qgis-2-x-plugins/


1

Thanks for your suggestions, all considered yesterday, before I filed the question. Solved: something silly, but finally paid attention: I had not changed the object name for the dialog object in QT. I assumed in error, that the name was generic/default, and carried as such over to the plugin builder. Once I changed the dialog object name, it worked. ...


0

After a bit of asking around, this information came back to me: Point sampling tool (QGIS) does exactly that: samples a raster. If the sampling point is distant from the center of the raster cell, the value it returns does not represent the 'real' surface. Surfer (Grid residuals function) actually returns value interpolated between raster cell centres. To ...


1

You need to highlight all the attributes you want to appear in the output from the "Layers with fields/bands to get values from" list. If you have not clicked on 'EUD_CP_DEMS_3500015000-AA-86 : Band 1 (raster)' so that it is highlighted then you will get nothing. This is what the message: Complete the input fields and press OK... means (I think ...


1

You can create help files via Scripts -> Tools -> Create New Script and in editing window hit Edit script help button. There you will find all the fields to fill. If your script is script.py the name of the help-file must be script.py.help and it should be placed next to the script itself (in the same folder). For example in Linux the path to the ...


3

You can manually download your Ordnance Survey Translator plugin from the repository and extract the folder to the following directory: C:\Users\(your user name)\.qgis2\python\plugins\ Restart QGIS and from the toolbar, go to Plugins > Manage and Install Plugins... Your plugin should be listed, check the box next to the plugin name to enable it.


2

This may not apply to your situation as it may depend on the attributes of the points but I have a point layer where I use their unique ID attribute and created 10 classes of equal count (quantile): You can create unique attributes if you don't already have one by using the Field Calculator and adding $rownum in the expression. Hope this helps.


2

Not using the interface no, however you can write a Python script to do it which I have done in a project of mine. Here is a an extract: def get_plugins(qgisversion='2.4'): """ Fetch the plugins from plugin repo :return: name, url, filename """ plugin_request = ...


1

fixed problem: unninstall older versions, i had an 1.8 version


1

Since QGIS 2.4 Chugiak, the OpenLayers plugin has moved in the QGIS Gui to Web->OpenLayers plugin, hence the first method described above won't work anymore. I updated it to match the new menu structure, see my answer here. Still, it would be interesting to know how to adapt the second method to QGIS 2.4 and above.


3

Using the direct way as you tried in your example looks much cleaner, however, I did not find out either how to achieve this in QGIS 2.4. So long, as a workaround, you can navigate through the menu interface manually to open the desired map from the OpenLayers plugin. In the following code, set the variables mapProvider and openLayersMap to your desired ...


2

QGIS Openlayers is not Google Maps! What you trying to do is also known as geocoding. Can be for instance accomplished with the MMQGIS plugin -> geocode The OSM place search plugin The Geocode plugin and likely many more... Or you could just use google maps and copy/paste the resulting longitude and latitude values into the address-bar in QGIS for a ...


2

You can edit the style of your output line layer (Layer Properties > Style) and change the Symbol layer type from "Simple line" to "Marker line" to automatically add more symbol layers: You can choose the shapes you want the line to consist of (in this case, arrows) along with other options such as intervals, widths and angles of the symbol. Hope this ...


0

PointConnector is now updated to support integers as input, which should solve this issue. Please let me know if it doesn't!


2

I just tested the script and works fine also by ScriptRunner. The only thing that I had to change to the above code was initializing the QgsFillSymbolV2 class ;-): redsym = QgsFillSymbolV2() redsym.createSimple(red) Anyway, we are going to get another great release on 31th :)


2

It's caused by a bug in QGIS 2.4 (fixed for 2.6). The crash is caused when python cleans up the redsym symbol. To workaround it, make sure redsym is stored somewhere where python won't automatically clean it (eg, store it in a global variable).



Top 50 recent answers are included