<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 10.5pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Please check the previous answer at: <span style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt; line-height: 1.5;"></span><a href="http://gradsusr.org/pipermail/gradsusr/2015-April/038251.html" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">http://gradsusr.org/pipermail/gradsusr/2015-April/038251.html</a><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);"> </span></div><div><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);"><br></span></div><div><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">In your case, </span><span style="line-height: normal; font-size: 10.5pt; background-color: window;">you have to re-construct your shapefile with a radial slice through the donut. Or use other tools.</span></div><div><span style="line-height: normal; font-size: 10.5pt; background-color: window;"><br></span></div><div><img src="cid:_Foxmail.1@92db555a-ad66-6752-fe39-57a40f9eea29" border="0"></div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"></span>
<div><br></div><div>Regards</div><div>Yaqiang</div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><span style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;">*************************************************</span><br style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;"><span style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;">Dr. Yaqiang Wang</span><br style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;"><span style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;">Chinese Academy of Meteorological Sciences (CAMS)</span><br style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;"><span style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;">46, Zhong-Guan-Cun South Avenue</span><br style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;"><span style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;">Beijing, 100081</span><br style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;"><span style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;">China</span><br style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;"><span style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;"> </span><br style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;"><a href="mailto:yaqiang.wang@gmail.com" target="_blank" style="font-family: 微软雅黑; font-size: 14px; line-height: 21px;">yaqiang.wang@gmail.com</a><br style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;"><br style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;"><a href="http://www.meteothinker.com" target="_blank" style="font-family: 微软雅黑; font-size: 14px; line-height: 21px;">http://www.meteothinker.com</a><br style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;"><span style="color: rgb(136, 136, 136); font-family: 微软雅黑; font-size: 14px; line-height: 21px;">**************************************************</span></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:David.Mocko@nasa.gov">David Mocko</a></div><div><b>Date:</b> 2015-04-25 04:24</div><div><b>To:</b> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a></div><div><b>Subject:</b> [gradsusr] Shapefiles drawing over each other</div></div></div><div><div> </div>
<div>Hello,</div>
<div> </div>
<div>I'm trying to draw the U.S. Drought Monitor on 27 Jan 2004,</div>
<div>but I can't quite replicate this map using GrADS:</div>
<div> http://droughtmonitor.unl.edu/data/pngs/20040127/20040127_conus_trd.png</div>
<div> </div>
<div>I am using this shapefile available in the USDM archive:</div>
<div> http://droughtmonitor.unl.edu/data/shapefiles_m/USDM_20040127_M.zip</div>
<div> </div>
<div>What happens is that, depending on which order I draw the</div>
<div>individual polygons, some colors are overwritten by later</div>
<div>polygons that I draw.</div>
<div> </div>
<div>If I draw the "yellow" drought category first, then the</div>
<div>yellow/light orange drought categories in Colorado are</div>
<div>overwritten with dark orange (grads_yellow-first.png).</div>
<div> </div>
<div>If I draw the "red" drought category first, then the</div>
<div>light red/dark orange drought categories in Minnesota</div>
<div>are overwritten with light orange (grads_red-first.png).</div>
<div> </div>
<div>I am attaching sample figures, as well as the GrADS scripts</div>
<div>that produce dthem. Below, I list the result of "q shp" on</div>
<div>this shapefile, and my GrADS configuration.</div>
<div> </div>
<div>Any help would be welcome,</div>
<div> </div>
<div>David</div>
<div> </div>
<div>---------</div>
<div>ga-> q shp USDM_20040127.shp</div>
<div> </div>
<div>Shapefile Type=Polygon #Shapes=5 XBounds=-157.306:-88.7898 YBounds=19.1511:65.0444</div>
<div>0: Polygon parts=32 vertices=4022 XBounds=-157.306:-88.7898 </div>
<div>YBounds=19.1511:65.0444 ZBounds=0:0 MBounds=0:0</div>
<div>1: Polygon parts=8 vertices=2145 XBounds=-121.284:-89.1468 </div>
<div>YBounds=29.3411:49.3846 ZBounds=0:0 MBounds=0:0</div>
<div>2: Polygon parts=8 vertices=2057 XBounds=-120.725:-89.7628 </div>
<div>YBounds=30.1637:48.8752 ZBounds=0:0 MBounds=0:0</div>
<div>3: Polygon parts=8 vertices=1545 XBounds=-119.669:-91.0982 </div>
<div>YBounds=30.9017:48.4509 ZBounds=0:0 MBounds=0:0</div>
<div>4: Polygon parts=5 vertices=409 XBounds=-114.85:-102.183 YBounds=31.3319:47.3992 </div>
<div> ZBounds=0:0 MBounds=0:0</div>
<div> </div>
<div>---------</div>
<div>ga-> q config</div>
<div>Config: v2.1.a2.oga.2 little-endian readline grib2 netcdf hdf4-sds hdf5 </div>
<div>opendap-grids,stn athena geotiff shapefile cairo</div>
<div>Grid Analysis and Display System (GrADS) Version 2.1.a2.oga.2</div>
<div>Copyright (c) 1988-2013 by the Institute for Global Environment and Society (IGES)</div>
<div>This program is distributed WITHOUT ANY WARRANTY</div>
<div>See file COPYRIGHT for more information.</div>
<div> </div>
<div>Built Wed Nov 12 22:59:49 EST 2014 for x86_64-unknown-linux-gnu</div>
<div> </div>
<div>This version of GrADS has been configured with the following options:</div>
<div> o Built on a LITTLE ENDIAN machine</div>
<div> o Athena Widget GUI ENABLED</div>
<div> o Command line editing ENABLED</div>
<div> http://tiswww.case.edu/php/chet/readline/rltop.html</div>
<div> o GRIB2 interface ENABLED</div>
<div> http://www.ijg.org</div>
<div> http://www.ece.uvic.ca/~mdadams/jasper</div>
<div> http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2</div>
<div> g2clib-1.4.0</div>
<div> o NetCDF interface ENABLED</div>
<div> http://www.unidata.ucar.edu/software/netcdf</div>
<div> netcdf 4.3.2 of May 1 2014 23:24:51 $</div>
<div> o OPeNDAP gridded data interface ENABLED</div>
<div> o OPeNDAP station data interface ENABLED</div>
<div> http://iges.org/grads/gadoc/supplibs.html</div>
<div> libgadap 2.0.oga.1</div>
<div> o HDF4 and HDF5 interfaces ENABLED</div>
<div> http://hdfgroup.org</div>
<div> HDF 4.2r5</div>
<div> HDF5 1.8.12</div>
<div> o GeoTIFF and KML/TIFF output ENABLED</div>
<div> http://www.libtiff.org</div>
<div> http://geotiff.osgeo.org</div>
<div> o KML contour output ENABLED</div>
<div> o Shapefile interface ENABLED</div>
<div> http://shapelib.maptools.org</div>
<div> o Cairo graphics interface ENABLED</div>
<div> http://cairographics.org</div>
<div> http://cgit.freedesktop.org/pixman</div>
<div> http://www.freetype.org/index2.html</div>
<div> http://www.freedesktop.org/wiki/Software/fontconfig</div>
<div> Cairo 1.12.16</div>
<div> Pixman 0.28.0</div>
<div> Freetype 2.3.8</div>
<div> Fontconfig 2.11.1</div>
<div> </div>
<div> </div>
<div>-- </div>
<div>--------------------------------------------------------------------------</div>
<div>David M. Mocko, Building 33, Room G108 David.Mocko@nasa.gov</div>
<div>NASA Goddard Space Flight Center Voice: (301)-614-6222</div>
<div>Code 610.1, Greenbelt MD 20771 Fax: (301)-614-6246</div>
<div>SAIC (Science Applications International Corporation)</div>
<div>with the Global Modeling and Assimilation Office</div>
<div> and the Hydrological Sciences Laboratory</div>
<div> http://neptune.gsfc.nasa.gov/hsb/personnel/?dmocko</div>
<div>--------------------------------------------------------------------------</div>
<div> </div>
<div> </div>
<div> </div>
<div>_______________________________________________</div>
<div>gradsusr mailing list</div>
<div>gradsusr@gradsusr.org</div>
<div>http://gradsusr.org/mailman/listinfo/gradsusr</div>
</div></blockquote>
</body></html>