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

Home » Public Forums » archive » Re: Apply a shapefile to raster images in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Apply a shapefile to raster images in IDL [message #41255] Mon, 04 October 2004 15:38 Go to previous message
envi35 is currently offline  envi35
Messages: 8
Registered: October 2004
Junior Member
Hi David,
Thank you very much for your reply. I've taken a quick look at Jim
Pendleton's code. you are right, as an IDL novice, I don't think I can
do it within the timeline. I guess I have to try something else, like
rasterize the shapefile in ENVI and then interpolate it to my raster
image grid...

Regards, Jenny


David Fanning <david@dfanning.com> wrote in message news:<MPG.1bcae028e3b99943989692@news.frii.com>...
> Jenny writes:
>
>> I'm a novice in IDL, not sure if my questions are totally improper. I
>> want to use an Arcview format shapefile as a mask, to a huge number of
>> raster images, which are in a polar stereographic grid format with
>> separate image data files and lat/lon files. I would really appreciate
>> if you could give me any hint about the following questions:
>>
>> 1. How to read the shapefile into an IDL variable?
>> 2. How to tailor the shapefile to my raster image grid?
>> 3. If the above questions are not proper or impossible in IDL, would
>> you give me some suggestions to do the work?
>
> It's not that it is impossible to do 1 and 2 in IDL, it
> certainly is possible. The problem is that it is impossible
> to tell a novice IDL user how to do it. :-(
>
> Here is a suggestion. Go to the RSI User Contribution site
> and search on "shapefile". There is a shapefile viewer there
> written my Jim Pendleton. I'd study that code a bit, and see if
> it doesn't at least go a little ways towards answering some
> of your questions.
>
> We need a good shapefile example somewhere. Does anyone
> have anything I could clean up a bit and make available
> on my web page?
>
> Cheers,
>
> David
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Illegal variable name
Next Topic: How can I restore many files

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

Current Time: Wed Oct 08 13:29:19 PDT 2025

Total time taken to generate the page: 0.78180 seconds