Re: Map contour data in only the USA [message #38225] |
Fri, 27 February 2004 10:26 |
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/
|
|
|