Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 2856

Notification messages shown when software fails. Try to use tags for more specific error messages whenever possible.

0 votes

ERROR unsupported operands type(s) for *:'int' and 'Results' in for cycle

As an alternative to calling GetRasterProperties, you can access the mean and standardDeviation properties directly. ws2 = r"C:\Users\Elisa\Model_Builder\passo_5_6_7_8\output\raster_tagliati_su_flowa …
user2856's user avatar
  • 69.5k
1 vote

Error while loading user-defined function in QGIS

NameError: name 'qgsfunction' is not defined Is likely because you have not imported qgsfunction. Try: from qgis.utils import qgsfunction @qgsfunction(args='auto', group='Custom'): def getHeight( …
user2856's user avatar
  • 69.5k
3 votes
Accepted

Can not make qgis.db private copy

Delete or change ownership of the .qgis2 folder. sudo rm -rf .qgis2 #or sudo chown -R yourusername:yourusername .qgis2
user2856's user avatar
  • 69.5k
1 vote

Failed to export vector file from OGR?

You are either trying to write the CSV to a path for which you don't have permission, or some other process is locking the CSV (you have it open in Excel etc...)
user2856's user avatar
  • 69.5k
6 votes
Accepted

From uploaded zipped shapefile to Geopandas DataFrame in Django Application

You can use fiona.io.ZipMemoryFile and gpd.GeoDataFrame.from_features. Example: import geopandas as gpd import io from fiona.io import ZipMemoryFile # Just to create a BytesIO object for the demo, # …
user2856's user avatar
  • 69.5k
3 votes

SRTM elevation data download error QGIS

There's no SRTM data available above 60°N. See below screenshot of the SRTM product coverage map from USGS.
user2856's user avatar
  • 69.5k
1 vote
Accepted

Unselectable features from former shapefile layer persist in file

You may have accidentally added your polygons to an annotation/graphics layer. Use the "Modify annotations" tool to select and delete them.
user2856's user avatar
  • 69.5k
3 votes
Accepted

New plugin is not working after add new packages that wasn't imported by Plugin Builder

QFileDialog and QMessageBox are in the QtWidgets module. So use: from qgis.PyQt.QtWidgets import QFileDialog, QMessageBox
user2856's user avatar
  • 69.5k