<!--Copyright (C) 1988-2005 by the Institute of Global Environment and Society (IGES). See file COPYRIGHT for more information.--> <html> <head> <title>GrADS command: query shpopts</title> </head> <body bgcolor="e0f0ff" text="#000000"> <H2><B>q shpopts</B></H2> <P> <code>q shpopts<i> </i></code> <p> Lists the current settings for drawing and writing out shapefiles.<br> <codoe> <br> <h3>Usage Notes</h3> <p>This command is available with GrADS version 2.0.a9 or later.</p> <p>The <code><a href="gradcomdclear.html">clear shp</a></code> command releases all user-defined shapefile attributes from memory, and resets the output filename root and shapefile type to their default values. The <code><a href="gradcomdreset.html">reset</a></code> and <code><a href="gradcomdreinit.html">reinit</a></code> commands will do the same thing -- use <code><a href="gradcomdclear.html">clear shp</a></code> if you do not want to reset all the other user settings. </p> <p>Please see the documentation page on <a href="shapefiles.html">shapefiles</a> for more details. </p> <p> </p> <h3>Examples </h3> <p>This example shows the default values: <br> <pre>ga-> <a href="gradcomdreinit.html">reinit</a> ga-> <a href="gradcomdqshpopts.html">q shpopts</a> Settings for drawing shapefiles: polygon fill color: -1 mark type: 3 mark size: 0.05 Settings for writing shapefiles: output filename root: grads output type: line format string: %12.6f </pre> <p>This example shows how to set and query shapefile options: <br> <pre>ga-> <a href="gradcomdsetshpopts.html">set shpopts</a> 15 ga-> <a href="gradcomdsetshp.html">set shp</a> -pt -fmt 8 4 pointshp ga-> <a href="gradcomdsetshpattr.html">set shpattr</a> Author string JMA ga-> <a href="gradcomdsetshpattr.html">set shpattr</a> Date string 2010-05-23 ga-> <a href="gradcomdsetshpattr.html">set shpattr</a> pi double 3.14159 ga-> <a href="gradcomdqshpopts.html">q shpopts</a> Settings for drawing shapefiles: polygon fill color: 15 mark type: 3 mark size: 0.05 Settings for writing shapefiles: output filename root: pointshp output type: point format string: %8.4f attributes: Author: JMA Date: 2010-05-23 pi: 3.1416 </pre> </body> </html>