Andrew,
I think your problem is associated to the cats in vector, not the raster
map.
Do you have a cat column in the polygon map?
Ing. Jonathan Agüero Valverde, Ph.D.
Profesor e Investigador
Programa de Investigación en Desarrollo Urbano Sostenible (ProDUS)
Escuela de Ingeniería Civil
Universidad de Costa Rica
El 26/08/2010 01:31 p.m., Andrew Lewin escribió:
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] <mailto:[email protected]>
Founder of Oceans and Coasts Blog <http://www.spatialconserve.com>
President
Coastal/Marine Spatial Ecologist
Spatial-Conserve Incorporated <http://www.spatialconserve.com>
Associate
C-FOAM <http://www.c-foam.management.uottawa.ca/index.html> (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
<http://www.spatialconserve.com>
Email: [email protected] <mailto:[email protected]>
Tel: (905) 639-4646
Mobile: (905) 630-8441
Skype: andrew.lewin99
Follow me on Twitter: www.twitter.com/arlewin
<http://www.twitter.com/arlewin>
_______________________________________________
grass-user mailing list
[email protected] <mailto:[email protected]>
http://lists.osgeo.org/mailman/listinfo/grass-user
_______________________________________________
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