World Coastlines

Post any questions, ideas, or topics related to Jython and Python scripting.
Post Reply
User avatar
TJS
Posts: 90
Joined: Thu Mar 05, 2009 7:31 pm

World Coastlines

Post by TJS »

Hello,

My 'World Coastlines' aren't showing. Is there a way to turn this on in a script? Or to set in globally and hence doesn't need to be set in a script?

Thanks,
TJS
User avatar
jayh
Posts: 424
Joined: Thu Jan 15, 2009 10:34 pm

Re: World Coastlines

Post by jayh »

Hi Tim-

Currently map control from scripts is being developed in these inquiries:

http://mcidas.ssec.wisc.edu/inquiry-v/?inquiry=1691 (in programmer iteration, main functionality should be working in the nightly if you wanted to try it out)
http://mcidas.ssec.wisc.edu/inquiry-v/?inquiry=1741 (queued for quick development, a scripting command to turn on/off map layer visibility)

Also, I was working with the World Coastlines, and per my defaults, the World Coastlines are always drawn which appears to be the behavior if you haven't changed your map defaults. I created a Default Map Set which had the World Coastlines turned off. Then any subsequent display did not have the World Coastlines drawn. If you have set a Default Map Set previously, possibly this is overriding the map in your scripting. You can remove the Default Map Set from the Layer Control tab by choosing File->Default Maps->Remove Local Map Defaults to see if that is the cause of this behavior.

Thanks, Jay
User avatar
joleenf
Posts: 1123
Joined: Mon Jan 19, 2009 7:16 pm

Re: World Coastlines

Post by joleenf »

Hi Tim,

A quick function was outlined in this forum post
viewtopic.php?f=14&t=1393&hilit=World+Coastlines

panel=buildWindow(height=500, width=500)
panel[0].setMapVisibilityByDescription('World Coastlines',False


Hope this helps,
Joleen
Post Reply