<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!--Converted with LaTeX2HTML 2002-2-1 (1.71) original version by: Nikos Drakos, CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>K.2 Format required by GMT</TITLE> <META NAME="description" CONTENT="K.2 Format required by GMT"> <META NAME="keywords" CONTENT="GMT_Docs"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> <LINK REL="STYLESHEET" HREF="GMT_Docs.css"> <LINK REL="next" HREF="node220.html"> <LINK REL="previous" HREF="node218.html"> <LINK REL="up" HREF="node217.html"> <LINK REL="next" HREF="node220.html"> </HEAD> <BODY bgcolor="#ffffff"> <!--Navigation Panel--> <A NAME="tex2html5775" HREF="node220.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html5769" HREF="node217.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html5763" HREF="node218.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html5771" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html5773" HREF="node256.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html5776" HREF="node220.html">K.3 The long and</A> <B> Up:</B> <A NAME="tex2html5770" HREF="node217.html">K. The GMT High-Resolution</A> <B> Previous:</B> <A NAME="tex2html5764" HREF="node218.html">K.1 Selecting the right</A> <B> <A NAME="tex2html5772" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html5774" HREF="node256.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H1><A NAME="SECTION002820000000000000000"> K.2 Format required by </A><A NAME="tex2html1834" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> </H1> <P> In order to paint continents or oceans it is necessary that the coastline data be organized in polygons that may be filled. Simple line segments can be used to draw the coastline, but for painting polygons are required. Both the WVS and WDB data consists of unsorted line segments: there is no information included that tells you which segments belong to the same polygon (e.g., Australia should be one large polygon). In addition, polygons enclosing land must be differentiated from polygons enclosing lakes since they will need different paint. Finally, we want <A NAME="tex2html1835" HREF="../man/pscoast.html"><I><B>pscoast</B></I></A><A NAME="32336"></A> to be flexible enough that it can paint the land <I>or</I> the oceans <I>or</I> both. If just land (or oceans) is selected we do not want to paint those areas that are not land (or oceans) since previous plot programs may have drawn in those areas. Thus, we will need to combine polygons into new polygons that lend themselves to fill land (or oceans) only (Note that older versions of <A NAME="tex2html1836" HREF="../man/pscoast.html"><I><B>pscoast</B></I></A><A NAME="32341"></A> always painted lakes and wiped out whatever was plotted beneath). <P> <HR> <!--Navigation Panel--> <A NAME="tex2html5775" HREF="node220.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html5769" HREF="node217.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html5763" HREF="node218.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html5771" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html5773" HREF="node256.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html5776" HREF="node220.html">K.3 The long and</A> <B> Up:</B> <A NAME="tex2html5770" HREF="node217.html">K. The GMT High-Resolution</A> <B> Previous:</B> <A NAME="tex2html5764" HREF="node218.html">K.1 Selecting the right</A> <B> <A NAME="tex2html5772" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html5774" HREF="node256.html">Index</A></B> <!--End of Navigation Panel--> <ADDRESS> Paul Wessel 2010-07-14 </ADDRESS> </BODY> </HTML>