Re: Overlay images from WMS servers (web mapping servers) on map projections [message #47426 is a reply to message #47425] |
Wed, 08 February 2006 09:33   |
James Kuyper
Messages: 425 Registered: March 2000
|
Senior Member |
|
|
Jan Kristian Jensen wrote:
...
> ; Limit = boundingBox coordinates to WMS server
> limit = [ 59.5, 3.5, 61.0, 5.2]
> map_set, 0, 0, /cylindrical, xmargin = 0, ymargin = 0, limit = limit
>
>
> wmsimage = read_png( filename, r, g, b)
> tvlct, r, g, b
> window, xsize = 1200, ysize = 1000
> tv, wmsimage
MAP_SET sets up a projection fitted to the current window, creating one
with default settings if there isn't one already current. Therefore,
you need to move your map_set call after your call to WINDOW, in order
for the map projection to be appropriate.
|
|
|