Interpolate points to rasters with kriging in QGIS using the Smart-Map plugin

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ม.ค. 2025

ความคิดเห็น • 43

  • @caty863
    @caty863 4 หลายเดือนก่อน

    Woow. This is the last operation that was making me fall back to ArcGIS. Now that it is covered in QGIS, there is no going back!

  • @teamshare7558
    @teamshare7558 ปีที่แล้ว +1

    Thanks for sharing. Short video but powerful!

  • @azzeddinereghais7494
    @azzeddinereghais7494 3 ปีที่แล้ว

    A lot thanks Pro; I hope will be later the courses by Creating algorithms with R for QGIS.

  • @dzulfansyah09
    @dzulfansyah09 3 ปีที่แล้ว

    Thanks for sharing..very useful👍👍

  • @vijayal.pusuluri3715
    @vijayal.pusuluri3715 2 ปีที่แล้ว

    Hi, I am mapping road accident spots in QGIS and created heat maps. Now I want to compare kriging method for validation. Is this the right plugin to use?

  • @abbasnajmi6196
    @abbasnajmi6196 3 ปีที่แล้ว

    Hi hans,
    Thanks for the video. Could you please tell me how we can add multiple z values at the same location in smart map plugin?

    • @HansvanderKwast
      @HansvanderKwast  3 ปีที่แล้ว

      It will construct the semivariogram based on all points in your points layer. So if there are points with different values at the same location it will take that into account to calculate the semivariance. Did you try it already?

    • @abbasnajmi6196
      @abbasnajmi6196 3 ปีที่แล้ว

      @@HansvanderKwast
      Thank you for your response.
      I have two columns that I need to interpolate to generate a single map, but we can just import only one column from the point layer for kriging, right?
      So like this, I will get two different maps instead of one.

    • @HansvanderKwast
      @HansvanderKwast  3 ปีที่แล้ว

      @@abbasnajmi6196 Yes, but you can have 2 or more rows at the same location. For a shapefile it doesn't matter. Not sure how the plugin deals with it.

  • @muhammadharissiddiqui3230
    @muhammadharissiddiqui3230 3 ปีที่แล้ว

    Hi, Thank you for the video.
    I am doing interpolation of rain gauge stations having annual average rainfall. I want to use elevation as an external variable. Is there any way in QGIS to do that?

    • @HansvanderKwast
      @HansvanderKwast  3 ปีที่แล้ว +1

      Co-kriging is not easily possible in QGIS as far as I know. Better to use R for these kind of interpolations or add your R script to QGIS with the R processing provider plugin.

  • @spvogue100
    @spvogue100 3 ปีที่แล้ว

    Thanks Hans. I wonder, if i have more than one z value at same coordinates and i want to mapping all values, is it possible to mapping to automaticly with using IDW, of course all legend will be different. And in atlas feature i want to see all different z values map.

    • @spvogue100
      @spvogue100 3 ปีที่แล้ว

      may be qgis developers create a plugin for this

    • @HansvanderKwast
      @HansvanderKwast  3 ปีที่แล้ว +1

      With IDW or Nearest Neighbour (Thiessen) interpolation you need a unique value at a location, that's simply how the method works. If you have multiple points at exactly the same location you need to take the average, max, min, etc. first before applying the interpolation. The kriging method explained in this video can deal with multiple Z values at the same location, because the method uses the semi-variogram fit through the points at lag distances.

  • @schneis
    @schneis ปีที่แล้ว

    I tried to install the plugin using QGIS 3.28.11 and python version 3.9.5. The installation of C:\Users\schneis>python -m pip install scikit-learn was succesful but I still get an error "AttributeError: module 'numpy' has no attribute 'float'" after installation of the plugin.

    • @HansvanderKwast
      @HansvanderKwast  ปีที่แล้ว

      Please get in touch with the developers and file an issue at github.com/gustavowillam/SmartMapPlugin

  • @augustbjerken1375
    @augustbjerken1375 3 ปีที่แล้ว

    Hi Hans,
    First and foremost, thanks for the video. I've already had great success using the Smart-Map plugin along with many other QGIS-functions surrounding catchment modelling, and it is all down to your excellent walk throughs.
    One question that has emerged though is how to handle NULL values when working with the Smart-Map plugin? I've lately been working on some long precipitation datasets, where occasionally some stations lack a value. This creates a problem, I keep getting the following error message when importing the layer: "ValueError: range() arg 3 must not be zero".
    While the plugin is clearly identifying the missing values, I don't know to approach this? Is the something obvious that I'm not seeing?
    Kind regrads and once again, thanks for your excellent videos!
    // August Bjerkén

    • @HansvanderKwast
      @HansvanderKwast  3 ปีที่แล้ว +1

      Hi August. Great that the videos are useful!
      I've not encountered that problem yet. Maybe you can post the issue on the GitHub page of the plugin, so the developer can respond. If you find a solution, please post it back here too. Here's the link to the GitHub page of the plugin: github.com/gustavowillam/SmartMapPlugin.

    • @augustbjerken1375
      @augustbjerken1375 3 ปีที่แล้ว

      @@HansvanderKwast Ok, I see!
      Well, I'll have a look at it and see if there's something that need to be adjusted. I'll keep you posted here in case I stumble across any solution.
      Thanks for the quick reply!
      //August Bjerkén

  • @harrybarcia3177
    @harrybarcia3177 2 ปีที่แล้ว

    Great content, thank you :)

  • @urszulazawadzka-pawlewska4056
    @urszulazawadzka-pawlewska4056 2 ปีที่แล้ว

    Are there any specific requirements for the attribute that will be interpolated? I have the layer with integer values and the Smart-Map doesn't see the Z (I can't select anything, as I don't see there any attribute to choose).

    • @HansvanderKwast
      @HansvanderKwast  2 ปีที่แล้ว

      I think you need to have a field with decimal numbers.

    • @urszulazawadzka-pawlewska4056
      @urszulazawadzka-pawlewska4056 2 ปีที่แล้ว

      I've found layer with decimals (Real) and it is still not working (plugin sees the layer, but doesn't see any variables that it can interpolate) :(.

    • @HansvanderKwast
      @HansvanderKwast  2 ปีที่แล้ว +1

      @@urszulazawadzka-pawlewska4056 Please file the issue at the GitHub repository of the developers of the plugin: github.com/gustavowillam/SmartMapPlugin

    • @urszulazawadzka-pawlewska4056
      @urszulazawadzka-pawlewska4056 2 ปีที่แล้ว

      @@HansvanderKwast I've wrote there, but for now I mainly have support from other users (writing that they have simmilar problem). I used the plugin on osgeo4w on Windows and it worked. I have maybe strange question but how to mimic the OSGeo4W on linux, maybe there are some problems with dependencies when I install everything sepparately.

  • @marikaaspland7370
    @marikaaspland7370 2 ปีที่แล้ว

    nightmare - Hans, love your work but I am not savvy enough to work around version incompatibility with the python3 environment and pip versions - so my install fell over. - py3_env not recognised even tho python3 was installed. :( Marika

  • @muharifromadlon3993
    @muharifromadlon3993 2 ปีที่แล้ว +1

    unable to get setup.ini from webs :(

    • @vash05
      @vash05 2 ปีที่แล้ว

      I encountered the same problem. Have you solved this one?

  • @serhatkoroglu6708
    @serhatkoroglu6708 2 ปีที่แล้ว

    that's great!

  • @drorigudes8428
    @drorigudes8428 2 ปีที่แล้ว

    Yes, I was also getting errors despite following installation steps

    • @HansvanderKwast
      @HansvanderKwast  2 ปีที่แล้ว +1

      File an issue at the GitHub page or get in touch with the developers: github.com/gustavowillam/SmartMapPlugin

  • @simoncool1209
    @simoncool1209 3 ปีที่แล้ว

    Hi Hans, thanks for the video, I see that the number of points is limited to 1000, would that be extended in the final plugin?

    • @HansvanderKwast
      @HansvanderKwast  3 ปีที่แล้ว

      Hi Simom. The developers have chosen the limit of 1000 points because of their interest in precision agriculture. They could change that, but not sure if it's in the next version. Also check this video from the developers: th-cam.com/video/dzDDNxnwVkI/w-d-xo.html

  • @watitemjen2328
    @watitemjen2328 2 หลายเดือนก่อน

    The moment i press import, the plugin crashses. any idea why this is?

    • @HansvanderKwast
      @HansvanderKwast  2 หลายเดือนก่อน

      I don't have enough information to answer your question. You can report issues to the plugin developers here: github.com/gustavowillam/SmartMapPlugin

  • @azmatraja5767
    @azmatraja5767 3 ปีที่แล้ว

    why i am getting this error
    ValueError: range() arg 3 must not be zero

    • @nsn242
      @nsn242 3 ปีที่แล้ว

      I'm also getting this error. Running QGIS 3.16.
      Any solution?

    • @azmatraja5767
      @azmatraja5767 3 ปีที่แล้ว +1

      @@nsn242 USE IDW INTERPOLATION

    • @ayskriim
      @ayskriim 3 ปีที่แล้ว

      I'm also getting the same error. Running 3.22

  • @Trujimap
    @Trujimap 2 ปีที่แล้ว

    it requires 64 bit, I´m still in the underworld of the 32 bit

  • @danielpovedamartinez4170
    @danielpovedamartinez4170 3 ปีที่แล้ว

    Another error with other variables (Genetic_diversity) that I had is: IndexError: list index out of range
    Traceback (most recent call last):
    File "/home/daniel/.local/share/QGIS/QGIS3/profiles/default/python/plugins/Smart_Map/Smart_Map.py", line 3693, in pushButton_Krigagem_clicked
    self.export_raster_to_qgis(Input_Table, Output_Layer_File_tiff, Output_Layer_Name, z_field)
    File "/home/daniel/.local/share/QGIS/QGIS3/profiles/default/python/plugins/Smart_Map/Smart_Map.py", line 7957, in export_raster_to_qgis
    crs = crs[1] #segundo elemento da lista: '32723'
    IndexError: list index out of range,
    DO you know what cause this error?

    • @HansvanderKwast
      @HansvanderKwast  3 ปีที่แล้ว +1

      Please check with the developers: github.com/gustavowillam/SmartMapPlugin