Okay, so I found out more information.  I reclassed the raster layer to give 
myself some categories; however, when I tried to run v.rast.stats I got an 
error saying "No categories found in raster map"

Your help is much appreciated.

Andrew

Andrew Lewin
[email protected]

Founder of Oceans and Coasts Blog

President 
Coastal/Marine Spatial Ecologist
Spatial-Conserve Incorporated

Associate 
C-FOAM (Canadian Fisheries, Oceans and Aquaculture Management Group)
Telfer School of Management, University of Ottawa






On 2010-08-26, at 2:56 PM, Andrew Lewin wrote:

> Hi Everyone,
> 
> I would like to create a raster map of temperature values using v.surf.idw 
> and calculate the median temperature value for each state/province in North 
> America.  I currently have a point shapefile of temperature values covering 
> all of North America, a North American area shapefile (both imported using 
> v.in.ogr).  I would like to use v.rast.stats to calculate the median value 
> for each state/province; however, I get an "Error: no categories found in 
> raster map".  I created the temperature value raster using v.surf.idw and 
> there are no categories associated with this file.
> 
> Can anyone tell me how I can assign categories to a raster file please?
> 
> I am running Grass 6.4 on a Mac OSX Snow Leopard.
> 
> Cheers,
> 
> Andrew
> 
> Andrew Lewin, M.Sc., Adv. Dipl. GIS
> President
> Spatial-Conserve Inc.
> Oceans and Coasts Blog at www.spatialconserve.com
> Email: [email protected]
> Tel: (905) 639-4646
> Mobile: (905) 630-8441
> Skype: andrew.lewin99
> Follow me on Twitter: www.twitter.com/arlewin
> 
> 
> 
> 
> 
> _______________________________________________
> grass-user mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/grass-user
> 

_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to