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

Home » Public Forums » archive » Re: Find out which area is covered in a map plot
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: Find out which area is covered in a map plot [message #70162 is a reply to message #70087] Mon, 15 March 2010 00:37 Go to previous message
M. Suklitsch is currently offline  M. Suklitsch
Messages: 12
Registered: August 2008
Junior Member
> This will depend on how you are setting up your
> map projection (not with MAP_SET, I hope!!).
>
> You can *probably* find the range in the map structure's
> uv_box field. I only ever use my MapCoord object to
> set up map projections, and with that you can just
> get the data range directly:
>
>    mapCoord -> GetProperty, XRANGE=xr, YRANGE=yr
>
> These coordinates will be in XY (or UV) space, which is
> where *you* want to be, too, although it is more likely
> you are working in lat/lon space. If so, you will have
> to convert your lat/lon values to XY values using (for
> example) MAP_PROJ_FORWARD before you can perform the
> proper clipping.
>
> Windbarb is *very* old. It could probably do with some
> work to bring it into the 21st century. :-)
>
> Cheers,
>
> David
>

Thanks, David. Though I must admit it seems I have missed the spot
where it says "using MAP_SET is bad". ;-)

Anyway, there's obviously *no* easy way to get the information I need,
that's the main message I get from your reply.


Cheers,
Martin
[Message index]
 
Read Message
Read Message
Previous Topic: Re: How to read data with format codes?
Next Topic: IDL out of range error

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

Current Time: Sun Oct 12 05:05:25 PDT 2025

Total time taken to generate the page: 1.92149 seconds