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

Home » Public Forums » archive » Re: Map contour data in only the USA
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Map contour data in only the USA [message #38225] Fri, 27 February 2004 10:26
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Brent Griffith writes:

> I am plotting irregular data for locations across the continental USA.
> I would like mask out regions off the coasts and over the borders
> with Canada and Mexico. It is like all those weather maps on US
> television that cut off Canada. I have been trying the approach by
> David at
>
> http://www.dfanning.com/tip_examples/map_on_land.pro
>
> which works great but only for land vs. sea. It would be simple if
> the command 'Map_continents, /fill, /USA, color=0' filled just the
> states. Has anyone dealt with this before? Screen resolution is
> fine. Perhaps a way to fill inside the state lines pulled from the
> z-buffer?

Oh, oh. This looks like a job. :-(

I think you are going to have to do something with MAP_INIT
and shape files. I've started articles about this on several
occasions, but always run out of gas before I obtain perfect
understanding. It's really the kind of thing you need to
be paid to do. :-)

In any case, I can't think of any slight of hand that
might work with MAP_SET. At least not off the top of my
head.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Map contour data in only the USA
Next Topic: Extracting strings from an array

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

Current Time: Sun Oct 12 22:19:18 PDT 2025

Total time taken to generate the page: 1.19550 seconds