<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Okay, so I found out more information. &nbsp;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"<div><br></div><div>Your help is much appreciated.</div><div><br></div><div>Andrew</div><div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Andrew Lewin</div><div><a href="mailto:andrew.lewin@sympatico.ca">andrew.lewin@sympatico.ca</a></div><div><br></div><div>Founder of&nbsp;<a href="http://www.spatialconserve.com">Oceans and Coasts Blog</a></div><div><br></div><div>President&nbsp;</div><div>Coastal/Marine Spatial Ecologist</div><div><a href="http://www.spatialconserve.com">Spatial-Conserve Incorporated</a></div><div><br></div><div>Associate&nbsp;</div><div><a href="http://www.c-foam.management.uottawa.ca/index.html">C-FOAM</a>&nbsp;(Canadian Fisheries, Oceans and Aquaculture Management Group)</div><div>Telfer School of Management, University of Ottawa</div><div><br></div><div><font class="Apple-style-span" color="#808080" face="Arial"><span class="Apple-style-span" style="font-size: x-small; "><i><br></i></span></font></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On 2010-08-26, at 2:56 PM, Andrew Lewin wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Everyone,<br><br>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. &nbsp;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). &nbsp;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". &nbsp;I created the temperature value raster using v.surf.idw and there are no categories associated with this file.<br><br>Can anyone tell me how I can assign categories to a raster file please?<br><br>I am running Grass 6.4 on a Mac OSX Snow Leopard.<br><br>Cheers,<br><br>Andrew<br><br>Andrew Lewin, M.Sc., Adv. Dipl. GIS<br>President<br>Spatial-Conserve Inc.<br>Oceans and Coasts Blog at <a href="http://www.spatialconserve.com">www.spatialconserve.com</a><br>Email: <a href="mailto:alewin@spatialconserve.com">alewin@spatialconserve.com</a><br>Tel: (905) 639-4646<br>Mobile: (905) 630-8441<br>Skype: andrew.lewin99<br>Follow me on Twitter: <a href="http://www.twitter.com/arlewin">www.twitter.com/arlewin</a><br><br><br><br><br><br>_______________________________________________<br>grass-user mailing list<br><a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/grass-user<br><br></div></blockquote></div><br></div></body></html>