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

Home » Public Forums » archive » Re: how to initialize a projection from its specification?
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: how to initialize a projection from its specification? [message #83947] Wed, 17 April 2013 10:24 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
nata writes:

>
> Hi David,
>
> I will take a look to your routine cgWarpToMap, it could be a solution to my problem. On the other hand, I would like to be able to initialize the map structure from the information I provided in the link. Is it possible? If so, I will be able to use MAP_PROJ_IMAGE and get the analytical solution.

Sure it is possible. I don't know what Latin1 and Latin2 mean in that
link, but possibly they are related to the standard parallels you need
for the Lambert Conformal projection. To set the limits of the map
projection, you are going to need to know values (either in XY projected
meters or lat/lon) of the sides of the grid, and they give you the
corners of the grid, so you will have to do some work there.

I'd probably project the corners of the grid to XY meters and work with
those values to find the values I need. You can calculate the values
from the grid spacing and the size of the image.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: how to initialize a projection from its specification?
Next Topic: custom x axis

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

Current Time: Fri Oct 10 22:03:29 PDT 2025

Total time taken to generate the page: 0.16016 seconds