Re: UTM map [message #40291 is a reply to message #6894] |
Wed, 28 July 2004 07:41  |
btt
Messages: 345 Registered: December 2000
|
Senior Member |
|
|
Sverre Solberg wrote:
> Is there any possibility to draw a rectangular grid (with typically
> 30x40 grid cells in XxY direction) on a standard UTM map in idl? What
> I'm looking for is a standard plot presenting numerical model results
> with the grid cells coloured according to the values. The map itself
> is easy enough to make but when overplotting squares with fixed
> distance (in meters) the grid lines get "zig-zaged" when converted to
> lat/lon. Do I e.g. have to split the grid lines into an extremely dens
> row of UTM coordinates and then convert to lat/lon? A bit awkward. As
> far as I know, idl hasn't any functionality for UTM map coordinates,
> or am I wrong?
>
Hi,
Starting with IDL 5.6, the handy MAP_PROJ_**** routines have made life a lot
easier to deal with map coordinate conversions. These should help you with the
forward and backward coordinate transformations. I'm not sure if this will help
answer your question... which is ... well, what is your question again?
Someday I'm gonna write a guide to mapping in IDL and throw in a nice GUI
interface to the MAP_PROJ_INIT function. Just as soon as I figure it all out.
Considering that I have frequently fussed with mapping in IDL for a long time
and still have to start from scratch each time, it could be a while.
Ben
|
|
|