<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>Many thanks to you both.</DIV><DIV><BR></DIV><DIV>v.rast.stats looks perfect -- it's churning away as I write...</DIV><DIV><BR></DIV><DIV>G</DIV><BR><DIV><DIV>On 2 Aug 2007, at 09:52, Daniel McInerney wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV>George,</DIV><DIV>you could also use v.rast.stats to compute</DIV><DIV>pollution statistics for the administrative</DIV><DIV>areas. See [1] for more details.</DIV><DIV><BR></DIV><DIV>Daniel.</DIV><DIV><BR></DIV><DIV>[1] <A href="http://grass.itc.it/gdp/html_grass63/v.rast.stats.html">http://grass.itc.it/gdp/html_grass63/v.rast.stats.html</A></DIV><DIV><BR></DIV><DIV><BR></DIV><DIV><BR></DIV><DIV>Moritz Lennert wrote:</DIV> <BLOCKQUOTE type="cite"><DIV>On 02/08/07 06:59, David Finlayson wrote:</DIV> <BLOCKQUOTE type="cite"><DIV>Forgot to CC grass list</DIV><DIV><BR></DIV><DIV>On 8/1/07, David Finlayson <<A href="mailto:dfinlayson@usgs.gov">dfinlayson@usgs.gov</A>> wrote:</DIV> <BLOCKQUOTE type="cite"><DIV>I think you want the command r.statistics. You will need to convert</DIV><DIV>your administrative areas vector map into a raster map where each area</DIV><DIV>has a unique ID. Then run r.statistics on the pollution map using the</DIV><DIV>administrative areas raster as the cover. This tool builds a database</DIV><DIV>table with the min,max avg, etc statistics of pollution for each area</DIV><DIV>id.</DIV> </BLOCKQUOTE></BLOCKQUOTE><DIV><BR></DIV><DIV>How difficult would it be to create a module 'v.statistics' which would skip the step of converting the cover to raster ?</DIV><DIV><BR></DIV><DIV>Moritz</DIV><DIV><BR></DIV><DIV>_______________________________________________</DIV><DIV>grassuser mailing list</DIV><DIV><A href="mailto:grassuser@grass.itc.it">grassuser@grass.itc.it</A></DIV><DIV><A href="http://grass.itc.it/mailman/listinfo/grassuser">http://grass.itc.it/mailman/listinfo/grassuser</A></DIV> </BLOCKQUOTE><DIV><BR></DIV> </BLOCKQUOTE></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Palatino; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Palatino; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Palatino; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Palatino; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Palatino; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>--</DIV><DIV>George MacKerron / 020 7870 7509</DIV><BR class="Apple-interchange-newline"></SPAN></SPAN></SPAN></SPAN></SPAN> </DIV><BR></BODY></HTML>