<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>Its curious that you're able to draw from 2 of the shapefiles, but not the 3rd. Would you mind posting or emailing your script?</div><div><br></div><div>Rick</div><div><br><div><div>On Aug 24, 2011, at 8:34 AM, Vanesa Bdm wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: 'lucida console', sans-serif; font-size: 10pt; position: static; z-index: auto; "><div>Hi Adam, thanks for the answer.</div><div>I can't make this work.</div><div>I have 3 shapefiles, a map, a poligon and points of interest.</div><div>I can draw map and poligon but I can't add the points of interest.</div><div>If you see the shapefile script MAry worte a function there that I call from aeronavegacion, I load the 2 shapefiles and draw them ok, but how can I add the points also?</div><div>I attach an image of the map and poligon so you can see that.</div><div><br></div><div>Cheers<br></div><div><br></div>&gt; Date: Fri, 19 Aug 2011 14:49:42 -0600<br>&gt; From: <a href="mailto:asphilli@ucar.edu">asphilli@ucar.edu</a><br>&gt; To: <a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>&gt; Subject: Re: [ncl-talk] Add points of interes to a background map<br>&gt; <br>&gt; You're having trouble with shapefiles_point.ncl, correct?<br>&gt; <br>&gt; If so, then I think I know what the problem is. You
 need to add:<br>&gt; res@gsnDraw = False    ; do not draw the plot<br>&gt; res@gsnFrame = False   ; do not advance the frame (=flip the page)<br>&gt; <br>&gt; You correctly call draw(map) and frame(wks) after the polymarkers are <br>&gt; drawn, but you need to tell NCL to not draw the plot or advance the <br>&gt; frame until the polymarkers are drawn. Without that, any polymarkers <br>&gt; will not be added properly.<br>&gt; <br>&gt; Note that in your aeornavegacion_300.ncl script, you set <br>&gt; pltres@PanelPlot = True. What this does (behind the scenes) is to set <br>&gt; gsnDraw = False and gsnFrame = False when you call the WRF plotting <br>&gt; function wrf_map_overlays, which again is a necessary precondition to <br>&gt; using any of the gsn_add_*  functions..<br>&gt; <br>&gt; Hope that helps! Adam<br>&gt; <br>&gt; On 08/19/2011 02:14 PM, Vanesa Bdm wrote:<br>&gt; &gt; Hello a few months ago, Mary and Dennis help me to add a backgrond
 map<br>&gt; &gt; to my scripts.<br>&gt; &gt; Now I need to add towns (points of interest).<br>&gt; &gt; I can do exactly that but separetly, I edit shapiles_6.ncl and I can see<br>&gt; &gt; all my points, and I try, but with no success to add those points to my<br>&gt; &gt; script so I can see all together.<br>&gt; &gt;<br>&gt; &gt; Any ideas?<br>&gt; &gt;<br>&gt; &gt; Cheers<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; ncl-talk mailing list<br>&gt; &gt; List instructions, subscriber options, unsubscribe:<br>&gt; &gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>&gt; <br>&gt; -- <br>&gt; ______________________________________________________________<br>&gt; Adam Phillips                                <a href="mailto:asphilli@ucar.edu">asphilli@ucar.edu</a><br>&gt; NCAR/Climate and Global Dynamics Division       (303) 497-1726<br>&gt; P.O. Box 3000                                <br>&gt; Boulder, CO 80307-3000   
 <a href="http://www.cgd.ucar.edu/cas/asphilli">http://www.cgd.ucar.edu/cas/asphilli</a><br>&gt; _______________________________________________<br>&gt; ncl-talk mailing list<br>&gt; List instructions, subscriber options, unsubscribe:<br>&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></div></div><span>&lt;aeronavegacion_300-0.png&gt;</span>_______________________________________________<br>ncl-talk mailing list<br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br></blockquote></div><br></div></body></html>