TobsenB
  • Member for 5 years, 10 months
  • Last seen more than 1 year ago
QGIS: what is the difference between heatmaps and interpolation plugins?
Accepted answer
9 votes

Heatmaps and interpolations are completely different things though they might look similar. A heatmap visualizes "hotspots" in the distribution of features on the map i.e. dense areas will be ...

View answer
Can I set the Project in QGIS to display data at Zoom Full on startup?
Accepted answer
7 votes

In QGIS you can specify macros that will be executed on project startup. To do so go to Project > Project Properties > Macros and enable the checkbox at the top. Then modify the openProject() ...

View answer
QGIS credentials storage - security issue?
5 votes

In QGIS 2.14 an authentication system support for the plugin manager has been addded, maybe that's what you're looking for. You can access the feature by going to Plugins > Manage and install ...

View answer
Not getting correct result from for loop
Accepted answer
5 votes

You said that the datatype of the DB column is a number, but in your if and elif statements you compare that number to a string (e.g. 4 == '4') which will return False. Maybe you get the desired ...

View answer
How to avoid hangup when clipping a large polygon in QGIS
4 votes

In the menu bar go to Vector > Geoprocessing Tools > Clipper... . Then select as input layer the orange polygon and as clip layer the other one. This should generate a new territory layer which has ...

View answer
Embedding qgis2web exports into WordPress?
4 votes

Instead of embedding the folder into your wordpress structure you should try to copy the relevant code snippets from the .html and .js files to an empty wordpress page. The javascript code should ...

View answer
Enable groupbox only when checkbox is checked - pyqgis
Accepted answer
3 votes

This works for me: from PyQt4.QtGui import QGroupBox, QCheckBox, QDialog, QHBoxLayout d = QDialog() gb = QGroupBox("Groupbox") gb.setEnabled(False) cb = QCheckBox("Set active") l = QHBoxLayout(d) l....

View answer
Filter data with PostgreSQL or geoserver?
Accepted answer
3 votes

I would strongly recommend to do tasks like the one you mentioned (at least for large datasets) in the database. The DB is designed to work with large amounts of data and will be much more performant ...

View answer
Find coordinates of point on map
3 votes

Due to the warping of the paper on which the map is printed and the scan procedure itself a scanned map will always contain distortions to some extent. That's why methods like georeferencing have ...

View answer
Distributing QGIS plugin which depends on certain Python packages
2 votes

I had a similar issue since I also developed a plugin for my company which has to be portable. Since it also relies on other modules I just included them in my plugin directory and then just imported ...

View answer
Access actions of ToolbarMenu/PanelMenu using PyQGIS
Accepted answer
2 votes

I now found a solution to my problem, although it's not the most elegant one. I got access to the elements by calling the actions() method of the view menu: vm = iface.viewMenu() panels = [i for i in ...

View answer
Optimise Search within the QGIS API
Accepted answer
2 votes

Instead of elif you could use a dictionary with the paths as keys and the strings you want to print as values, for example: results = { dir(iface): "THE CLASS/FUNCTION/METHOD ", "'",your_search,"'...

View answer
QGIS python error using qgis2leaf and qgis2web
2 votes

It seems that the data you qant to export uses special characters that can't be encoded into the ascii characters. If your dataset uses characters like 'ä', 'ö', 'ü', 'ß' and so on you could try to ...

View answer
Drawing box arround text in OpenLayers 3?
1 votes

Actually I do not know how to add a rectangle to a label in OL, but if it's just for readability purposes maybe a stroke around the labels like shown in this OpenLayers Example could fit your needs.

View answer
AttributeError: 'NoneType' object has no attribute 'length'
1 votes

The error is thrown because you try to call the length() function for an object which doesn't exist. It could either be that the geometry() function of the current feature does not return anything or ...

View answer
TIFFs with Worldfiles to GeoTIFFs
1 votes

I would recommend you to georeference the images with ArcGIS or QGIS in order to avoid distortions. If you save the outcome a world file will automatically produced next to the corrected TIFF image

View answer
QGIS 2.14 Plugin Encoding Error
Accepted answer
1 votes

Ok, I just found a workaround by explicitly prevent python from using the ascii coding as standard: import sys reload(sys) sys.setdefaultencoding('utf-8') It might not be very elegant, but the ...

View answer
Change xy to lat long and vice versa
1 votes

A similar problem is described here, maybe it helps you to get started, though it presumes a given direction and distance: How to create points based on the distance and bearing from a survey point?

View answer
Plotting lat long on World Map
1 votes

If it has to be online you could use javascript mapping libraries such as OpenLayers or Leaflet. You could then load all the data from your database and plot the coordinates on the map. Another ...

View answer
aerial photo to georeferenced mosaic with X,Y, Z, omega, phi, kappa
1 votes

I guess you not only want to georeference the images but you also want to orthorectify them, meaning the elimintation of distortions. However if you only want to georeference them you could use QGIS. ...

View answer
Return several layers from listwidget
Accepted answer
0 votes

You can set the selection behaviour of the listwidget using it's setSelectionMode() method. A description of the different modes is given in the QAbstractItemView Reference. In your case something ...

View answer
Seeking Openlayers and GeoServer tutorials?
-1 votes

If you want to get some first impressions I'd recommend to have a look on the official OL Documentation. Particularly the quick start section as well as the tutorials should be a good starting point,...

View answer