Hi -
Is there a method that allows me to add a background image to a panel (Display > Add Backgorund Image from the Toolbar)?
HP
adding a background image
Re: adding a background image
Hi HP.
Are you planning to put a jpg/gif/png image in the background?
I am attaching snapshots that show how to set a such an image in panel.
IDV docs give more details.
https://www.unidata.ucar.edu/software/i ... Image.html
Or am I misunderstanding your query.
Ghansham
Are you planning to put a jpg/gif/png image in the background?
I am attaching snapshots that show how to set a such an image in panel.
IDV docs give more details.
https://www.unidata.ucar.edu/software/i ... Image.html
Or am I misunderstanding your query.
Ghansham
Re: adding a background image
Sorry Gansham, you misunderstood my request (and I may have not been very clear, either). I am familiar with adding flat image files. My request is for a method that loads a background image from the web (e.g. Blue Marble) in a Jython script.
HP
HP
Re: adding a background image
I think this sample script should be the starting point. It adds the image provided by the user as argument.
You can also specify bounding box coordinates. If you dont, it will take default values of (90,-180,-90,180).
Just it is a point to start off.
You can also specify bounding box coordinates. If you dont, it will take default values of (90,-180,-90,180).
Just it is a point to start off.
- Attachments
-
- test.py
- (437 Bytes) Downloaded 326 times
Re: adding a background image
Hi Sir...
I have uploaded the land_shallow_topo_2048.jpg on SSEC ftp server. Just invoke the sent jython script as:
addImage("ftp://ftp.ssec.wisc.edu/pub/incoming/land_shallow_topo_2048.jpg")
So this script should work for remote as well as local images.
Ghansham
I have uploaded the land_shallow_topo_2048.jpg on SSEC ftp server. Just invoke the sent jython script as:
addImage("ftp://ftp.ssec.wisc.edu/pub/incoming/land_shallow_topo_2048.jpg")
So this script should work for remote as well as local images.
Ghansham
Re: adding a background image
Hi Gansham -
Thanks a lot. Works fine.
HP
Thanks a lot. Works fine.
HP
Re: adding a background image
Oh, I still have a problem. How can I load images from WMS as background images?
HP
HP
Re: adding a background image
Oh I was just expecting you to post this question.
I was just thinking why you are not asking me this question.
I have to dig in to find a script that does it for you.
Give me sometime.
Ghansham
I was just thinking why you are not asking me this question.
I have to dig in to find a script that does it for you.
Give me sometime.
Ghansham
- cycoshashank
- Posts: 4
- Joined: Thu Sep 26, 2013 11:48 am