I have several raster files (raster_1, raster_2, [...], raster_n) and a point shapefile. The point shapefile (point.shp) was created using "generatepointspixelcentroidsinsidepolygons" so my points are located at the center of each raster pixel.
My goal is to extract raster_n value to each point. This is possible using the point sampling tool plugin. However I want to use the python command on QGIS.
There must be a solution similar to: