borysiasty / pointsamplingtool Goto Github PK
View Code? Open in Web Editor NEWQGIS plugin: Samples polygon attributes and raster values from multiple layers at specified sampling points
QGIS plugin: Samples polygon attributes and raster values from multiple layers at specified sampling points
Thanks for the useful tool! Do you have a DOI (e.g., zonodo) to cite the use of this plugin? I used this plugin for a chapter of my dissertation (about to submit for publication) and I would like to cite you properly if possible.
Migrated from http://hub.qgis.org/issues/9766
Feature request #9766, added by d d on 2014-03-11.
An improvement in speed would be nice. I've found similar performance issues when extracting 1000s of points from a combination of vectors and rasters over large areas.
Similar issue detailed here:
http://lists.osgeo.org/pipermail/qgis-user/2014-January/025646.html
Hi,
I've used the plugin several times in the past, but now, I doesn't seem to work. The window opens but it does not show any layer, not from points neither from layer to extract info from. I assume it's related to the newer version of QGIS.
I hope something can be done about it. Thanks!
Hi! I cannot choose input field ("layer containing sampling points"). Clicking it does nothing.
Qgis 3.26
mac os 11.7.
How does it work the "Point sampling tool" order mechanism? how to change it in the first step without opening table manager?
https://goo.gl/photos/iTAd3QAAEBwqZTmAA
Could this code be used to create a processing toolbox algorithm to sample points on a raster? Then it could also be integrated into the graphical modeler.
provide an error message ''Échec de l'installation:La poignée de main SSL a échoué ''
Issue when installing and enabling PointSamplingTool, it flags this up:
Couldn't load plugin 'pointsamplingtool' due to an error when calling its classFactory() method **NameError: name 'QDialog' is not defined**
QGIS 3.1 (Nightly Build) on Windows 10 machine.
Full log:
Traceback (most recent call last): File "C:/OSGEO4~1/apps/qgis-dev/./python\qgis\utils.py", line 336, in startPlugin plugins[packageName] = package.classFactory(iface) File "C:/Users/skipp/AppData/Roaming/QGIS/QGIS3\profiles\Skipper/python/plugins\pointsamplingtool\__init__.py", line 31, in classFactory from .pointSamplingTool import pointSamplingTool File "C:/OSGEO4~1/apps/qgis-dev/./python\qgis\utils.py", line 664, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:/Users/skipp/AppData/Roaming/QGIS/QGIS3\profiles\Skipper/python/plugins\pointsamplingtool\pointSamplingTool.py", line 27, in from . import doPointSamplingTool File "C:/OSGEO4~1/apps/qgis-dev/./python\qgis\utils.py", line 664, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:/Users/skipp/AppData/Roaming/QGIS/QGIS3\profiles\Skipper/python/plugins\pointsamplingtool\doPointSamplingTool.py", line 32, in class Dialog(QDialog, Ui_Dialog): NameError: name 'QDialog' is not defined
With the support of GeoPackage, the limitation of 10 chars in the name of the attributes is outdated.
I'm trying to resample a very large elevation grid, but am unable to load layers into the tool. The "Layer containing sampling points" menu does not populate or offer a drop-down list.
I have tried uninstalling & reinstalling the plugin, updated my QGIS to the latest stable build, created a new project with just the DEM I want to resample, and tried resampling other DEMs, but the menu still does not populate. I haven't found any indication of this problem on any forums.
QGIS version
2.14.21-Essen
QGIS code revision
ea983fa869
Compiled against Qt
4.8.5
Running against Qt
4.8.5
Compiled against GDAL/OGR
2.2.3
Running against GDAL/OGR
2.2.3
Compiled against GEOS
3.5.0-CAPI-1.9.0
Running against GEOS
3.5.0-CAPI-1.9.0 r4084
PostgreSQL Client Version
9.2.4
SpatiaLite Version
4.3.0
QWT Version
5.2.3
PROJ.4 Version
493
QScintilla2 Version
2.7.2
Hi!
How do you assign a value from the cell to the point? Do you use an interpolation method?
Thanks
Would be great if point sampling tool worked with QGIS Mesh type layers. Similar to Profile Tool changes added in 4.1.6
Dear, thank you for your plugin, it is very useful for my work. I would like to ask you, when creating the output point vector layer, is it possible that the output is a temporal type layer? to be able to test several times different parameters without the creation of layers (.shp, .gpkg or .cvs).
Thanks again
Hi, great thanks for this invaluable plugin. However I have a question, when I try to get data from my DSM model to point (in shp) which is located at the edge of two DSM pixels (or at the corner of 4 pixels), value of which pixel will be implemented to my point ?? it will be an interpolation of those two (four) values in vicinity? How can I change this - I am not a programist :( Can I for example get the highest value from pixels which contiguous (touch) my shp. point?? How can I do this ?? Thank you ina advance!
Great tool but the need to save to a permanent shapefile can leave a lot of cleaning up to do - are there any plans afoot to allow saving to scratch later, or to incorporate the plugin as a Processing Toolbox function?
The Point Sampling Tool does not appear to work if the Coordinate Reference Systems of the layers do not match. However, the tool will run without error, appearing to have worked successfully. It may be helpful to either (a) prevent the Point Sampling Tool from executing if there is a CRS mismatch or (b) at least provide an error/warning prior to executing the Point Sampling Tool analysis if there is a CRS mismatch between any of the layers.
I tried to run point sampling tool as a script in the processing menu. It crashed and I am still trying to figure out how to get the processing plugin to load without crashing qgis - even though I removed the files from pointsamplingtool. Any suggestions? Do you have a method to modify pointsamplingtool so that it will run under the processing menu? I tried some of the simple changes recommended in the qgis user manual to no avail. Thank you. Eme Furlong [email protected]
Hi, first thank you for this awesome tool. I am current using it for my research and it has made my life a lot easier.
I am wondering whether a functionality can be added that will create points along vector lines first before extracting data at these points. I realize that there is a tool available for this on QGIS (Points Along Geometry); however, I am hoping to have these combined in one sleek tool. As of right now, your tool is the best for adding data to these points once they are created. A slower approach requires using multiple tools if you have different types of data (Add polygon attributes, Sample raster values, etc.)
Thanks! I look forward to hearing back from the community.
The documentation says the generated sampling points layer will contain data from all polygons that are beneath each point. However, I only see data from the uppermost polygon in the points layer.
Migrated from http://hub.qgis.org/issues/9765
Feature request #9765, added by d d on 2014-03-11.
A pop up window appears to inform the user when adding a vector and/or raster with attribute/band/layer names that are too long.
While this is a good warning, it can be tedious when the vector/raster has many layers with the same issue, as the user has to acknowledge each pop up window (i.e., click OK each time).
If possible, provide the ability to ignore future warnings (e.g., an "ignore future warnings" check box on the pop up window)
If the the layer containing sampling points is a MultiPoint vector layer and the output point vector layer is a shapefile layer, an empty shape file (with no features) is create and several errors are throwed:
WARNING Feature creation error (OGR error: Attempt to write non-point (MULTIPOINT) geometry to point shapefile.)
WARNING Feature creation error (OGR error: Attempt to write non-point (MULTIPOINT) geometry to point shapefile.)
WARNING Feature creation error (OGR error: Attempt to write non-point (MULTIPOINT) geometry to point shapefile.)
WARNING Feature creation error (OGR error: Attempt to write non-point (MULTIPOINT) geometry to point shapefile.)
WARNING Feature creation error (OGR error: Attempt to write non-point (MULTIPOINT) geometry to point shapefile.)
WARNING Feature creation error (OGR error: Attempt to write non-point (MULTIPOINT) geometry to point shapefile.)
WARNING Feature creation error (OGR error: Attempt to write non-point (MULTIPOINT) geometry to point shapefile.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.