[gradsusr] Remove lakes from maps
Jennifer M Adams
jadams21 at gmu.edu
Mon Jun 25 20:54:46 EDT 2018
Hi, Emily —
You can query the database that goes with the shapefile and maybe the lakes have a different tag than the coastlines. Then you can loop over all the shapes, check the output from ‘q dbf’ and decide whether to draw it or not. It might take a bit longer to draw because you have to draw the elements of the shapefile one at a time, but that is how you would filter the shape to decide which ones to draw. The doc page on shapefiles has an example at the bottom that shows you how to do this.
http://cola.gmu.edu/grads/gadoc/shapefiles.html
ftp://cola.gmu.edu/grads/scripts/shp_demo1.gs
—Jennifer
> On Jun 25, 2018, at 2:11 PM, Saunders, Emily (GSFC-610.1)[SCIENCE SYSTEMS AND APPLICATIONS INC] <emily.saunders at nasa.gov> wrote:
>
> Hi,
>
> I wanted to know if there is a command in GrADs that can be used to remove the lakes from the maps. Thanks.
>
> Emily Saunders
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://secure-web.cisco.com/1cdbhO0Xy7K4HXP1ntH3kDNSkiDqiRRl5ysAoqiIq5wvzT4R1k54h2F4Te07GMDZEQGzM7GhmX8I_EQs4M0vEN-D5qfdAsfrGBJIbR3qvTQ9_H4c1Up1LdLVQiNPBVgT7PYVKoiujFCEei0Yle2ErasBLh7xznbYwlZUUIKKZapI6ISp8_DrfJ9XrFK1FIuOIoYpc50UgP1zeEiEtEi9RmfABcGK5rQrLOjjKrM1hKQTUQfWPid8h9MbGBCJD29ZMUpvbBYwMrNhRaKl2BUC_8g2HRAutozv_RxngLNLxQ42sScOcClRqtsD2_P6co3mMY1Ml-A7oVpj5ongi1kMqS-a4tjXgMDqzx69KhTTfC2nbGM6FjPCRvL36E848cWe1/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr
--
Jennifer Miletta Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
George Mason University
More information about the gradsusr
mailing list