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

Home » Public Forums » archive » Re: MAP_SET vs MAP_PROJ_*
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: MAP_SET vs MAP_PROJ_* [message #41668 is a reply to message #41665] Wed, 10 November 2004 10:05 Go to previous messageGo to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
Liam Gumley wrote:
...
> For example, how do do you define a Lambert Azimuthal Equal Area
> Projection in direct graphics centered at a given lat/lon with a
> specified resolution, such as 1000 meters per pixel?

Since the pixels per centimeter can be different for the x and y axis,
you'll have to decide which axis it is that you want to be at 1000
meters per pixel. Assuming that it's the Y-axis, this should do it:

lat = 22
lon = 90
resolution = 1000.0
MAP_SET,lat,lon,/LAMBERT,scale=resolution*100*!D.Y_PX_CM,/hi res,/grid,/label

You didn't ask for the coastlines, the grid, or the labels, but I
thought it would be good to have something to tell whether the MAP_SET
was correct.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Convert pixel values
Next Topic: dissapearing breakpoints

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

Current Time: Wed Oct 08 16:47:37 PDT 2025

Total time taken to generate the page: 0.02278 seconds