<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"><div style="color: black; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">Hello Howard</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><br></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">1. display a regular graph to decide the dimension of shapefile</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">2. query the shapefile with 'q dbf <your_shapefile>', the first element is the record number for filling plot</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">3. choose
the the fill color via 'set shpopts <color>' </font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">4. 'draw shp <your_shapefile> <record_number>'</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><br></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><span><a target="_blank" href="http://www.wishingwork.com/grads/graphics-controls/shapefile-graphics.html">http://www.wishingwork.com/grads/graphics-controls/shapefile-graphics.html</a></span></font><br><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><br></font></div><div style="color: black; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">John</div><div style="color: black; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br><br></div><div
style="color: black; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; color: black; "><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Jennifer Adams <jma@cola.iges.org><br><b><span style="font-weight: bold;">To:</span></b> GrADS Users Forum <gradsusr@gradsusr.org><br><b><span style="font-weight: bold;">Sent:</span></b> Tue, March 15, 2011 6:55:31 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [gradsusr] Shapefile<br></font><br>Have a look at <a rel="nofollow" target="_blank" href="ftp://iges.org/grads/scripts/shp_demo1.gs">ftp://iges.org/grads/scripts/shp_demo1.gs</a><div><br></div><div>What you need to do is use the 'q dbf' output to loop over each shape in your
file, decide on the fill color to use based on the data base value for that shape, then draw it individually. It's a little slow, but effective. </div><div>--Jennifer</div><div><br></div><div><br><div><div>On Mar 15, 2011, at 12:44 AM, Metris Limited Forecaster wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="EN-NZ" style="font-family: Helvetica; font-size: medium; "><div class="WordSection1" style=""><div style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;font-size:11pt;font-family:Calibri, sans-serif;"><span style="font-size:10pt;font-family:sans-serif;">Good evening fellow users of Grads</span></div><div style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;font-size:11pt;font-family:Calibri, sans-serif;"><span style="font-size:10pt;font-family:sans-serif;"> </span></div><div
style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;font-size:11pt;font-family:Calibri, sans-serif;"><span style="font-size:10pt;font-family:sans-serif;">I have a shapefile set with topography data , and 5 or so contour levels</span></div><div style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;font-size:11pt;font-family:Calibri, sans-serif;"><span style="font-size:10pt;font-family:sans-serif;">I was wanting the methodology for drawing the shapefile in Grads as various grey shaded topography</span></div><div style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;font-size:11pt;font-family:Calibri, sans-serif;"><span style="font-size:10pt;font-family:sans-serif;">as a map background essentially.</span></div><div style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;font-size:11pt;font-family:Calibri, sans-serif;"><span
style="font-size:10pt;font-family:sans-serif;"> </span></div><div style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;font-size:11pt;font-family:Calibri, sans-serif;"><span style="font-size:10pt;font-family:sans-serif;">I was wanting clarification on how to use the set shpopts and how to set the ccols for the various levels.</span></div><div style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;font-size:11pt;font-family:Calibri, sans-serif;"><span style="font-size:10pt;font-family:sans-serif;"> </span></div><div style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;font-size:11pt;font-family:Calibri, sans-serif;"><span style="font-size:10pt;font-family:Arial, sans-serif;">Howard Staines</span><span style="font-size:12pt;font-family:serif;"></span></div><div
style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;font-size:11pt;font-family:Calibri, sans-serif;"><span style="font-size:12pt;font-family:serif;"> </span></div><div style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;font-size:11pt;font-family:Calibri, sans-serif;"><span style="font-size:10pt;font-family:Arial, sans-serif;">Forecaster Metris Limited</span><span style="font-size:12pt;font-family:serif;"></span></div><div style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;font-size:11pt;font-family:Calibri, sans-serif;"><span style="font-size:7.5pt;font-family:Arial, sans-serif;">websited -<span class="Apple-converted-space"> </span></span><span style="font-size:10pt;font-family:serif;"><a rel="nofollow" target="_blank" href="http://www.metris.co.nz" style="color:blue;text-decoration:underline;"><span style="font-size:7.5pt;font-family:Arial,
sans-serif;color:blue;">www.metris.co.nz</span></a></span><span style="font-size:7.5pt;font-family:Arial, sans-serif;"> - phone 06 8441042</span><span style="font-size:10pt;font-family:Arial, sans-serif;"><span class="Apple-converted-space"> </span></span><span style="font-size:7.5pt;font-family:Arial, sans-serif;">- fax 06 8441046</span><span style="font-size:12pt;font-family:serif;"></span></div><div style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;font-size:11pt;font-family:Calibri, sans-serif;"><span style="font-size:12pt;font-family:serif;"> </span></div></div> _______________________________________________<br>gradsusr mailing list<br><a rel="nofollow" ymailto="mailto:gradsusr@gradsusr.org" target="_blank" href="mailto:gradsusr@gradsusr.org" style="color:blue;text-decoration:underline;">gradsusr@gradsusr.org</a><br><a rel="nofollow" target="_blank" href="http://gradsusr.org/mailman/listinfo/gradsusr"
style="color:blue;text-decoration:underline;">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse:separate;border-spacing:0px 0px;color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;orphans:2;white-space:normal;widows:2;word-spacing:0px;"><div style="word-wrap:break-word;"><span class="Apple-style-span" style="border-collapse:separate;border-spacing:0px 0px;color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;orphans:2;white-space:normal;widows:2;word-spacing:0px;"><span class="Apple-style-span" style="border-collapse:separate;border-spacing:0px 0px;color:rgb(0,
0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;orphans:2;white-space:normal;widows:2;word-spacing:0px;"><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a rel="nofollow" ymailto="mailto:jma@cola.iges.org" target="_blank" href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></div></div></div><div style="position: fixed; color: black; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "></div>
</div><br>
</body></html>