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 #41271 is a reply to message #41260] Mon, 04 October 2004 04:21 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http:/www.dfanning.com/
Phone: 970-221-0438, IDL Book Orders: 1-888-461-0155
[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: Sat Oct 11 12:26:58 PDT 2025

Total time taken to generate the page: 1.76235 seconds