Re: Overlay images from WMS servers (web mapping servers) on map projections [message #47432 is a reply to message #47430] |
Wed, 08 February 2006 07:31   |
liamgumley
Messages: 74 Registered: June 2005
|
Member |
|
|
Jan,
I encourage you to pursue the MAP_PROJ_INIT solution, since it is much
more robust than MAP_SET. I'm not familiar with the projection you
mention, but here is how I create a UTM projection to match up with a
GeoTIFF image:
; Create graphics window
window, /free, xsize=600, ysize=800
; Define map projection
map = map_proj_init('UTM', limit=[10.15, -78.77, 29.87, -95.29],
zone=16)
; Configure direct graphics data coordinates to match map projection
plot, map.uv_box[[0, 2]], map.uv_box[[1, 3]], position=[0.0, 0.0, 1.0,
1.0], $
/nodata, /isotropic, xstyle=5, ystyle=5, /noerase
;- Plot continent outlines
map_continents, map=map
Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
|
|
|