Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I know this question is similar to some out there, but I have tried all the 'solutions' and none of them are working for me. I am using the latest version of Qgis.

I have a raster layer with lat/long/ARI attributes (average recurrence intervals) I have a vector layer with country boundaries

I want to count/collect all the raster points within each country and then export this data in to a text file so I can then calculate min/max/mean values of ARI within each country.

PLEASE help, thesis due in in 2 days!!

Thank you.

share|improve this question
1  
What have you tried and what didn't work for you? What do you mean with "raster points"? There are only vector points or raster cells. –  underdark Sep 8 '13 at 12:53
    
raster "points"? Do you have a xyz-data layer or is it just a normal grid? Etherway have a look at zonal-statistics –  Curlew Sep 8 '13 at 21:22
add comment

1 Answer

Convert your raster cells to points (assuming that the "raster points" are single cells). Then it's a very simple spatial query of points within a region.

I would install SAGA GIS & use the QGIS Processing framework to access SAGA:

  1. Load raster with ARI data
  2. SAGA - Shapes - Grid
    1. Grid Values to Points
  3. Use QGIS Spatial Query toolbar to perform your spatial intersection
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.