comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » extract raster statistics from vector
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
extract raster statistics from vector [message #82127] Mon, 19 November 2012 14:48 Go to previous message
Danxia is currently offline  Danxia
Messages: 10
Registered: September 2012
Junior Member
Dear all,

I'm looking for a simple/efficient way to extract raster statistics from vector file in IDL/ENVI+IDL. Here's my question:

I have a raster image, say temperature, for a country and an administrative boundary shapefile, say state level, with the same projection.
I want to get state's mean temperature from the raster image.

I know I can extract raster image based on vector file and save to another file, and then get stats. However, considering the large number of states, I prefer a more efficient and less space-consuming way rather than saving states' raster image to the disk. For example, get an array of each state based on the query of the state's name?

So anybody has any idea or inspiration to pursue this in IDL/ENVI+IDL?

Thanks a lot.

Danxia
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Device Coordinates vs Normalized Coordinates
Next Topic: Re: cgplot and eps

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:31:40 PDT 2025

Total time taken to generate the page: 0.00411 seconds