<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Verdana",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'>Hello all,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'>I'm quite new to GRASS (coming from ESRI and MicroStation) and have two questions concerning the vector data model. I've read GRASS Wikis, manuals and other docs from the web, but I could not find comprehensive answers yet. Sorry for the long text ... :-)<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'>First question: how are the different type determinations for geometry objects saved in GRASS? What makes a boundary a boundary and separates it from a line? The same for points and centroids.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'>I've read about the theoretical differences (eg., boundaries are split at intersections and they make up closed rings). But those criteria can apply to lines as well.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'>Command v.type is able to convert those types of geometry objects. That is, lines can be converted to boundaries and vice versa. But how does the system determine if an object is a line or a boundary? Where is that property saved? Is there an invisible attribute column or flag that contains the information? And how and when is that determination changed (if not by v.type)?<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'>Eg. when importing linestrings from DXF to GRASS with import option set to "centroid, boundary", the importer will produce lines as well (it will do this where linestrings have dangling errors). That means that there must be an automated way (running in the background) of determining the geometry type. What are the rules it follows?? As you can see, it does not do what the user chooses in the import options that were set. If that was the case, no lines would come out, just boundaries.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'>Second: Up to now, I was not able to understand the concept of layers in GRASS. I've read a lot of explanations, most of them telling that a layer is a set of category values making up a different view to the underlying geometry objects. Using layers, the geometries can be aggregated or individually marked in a different, yet parallel manner at the same time.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'>But everything described in the manual or Wiki seems to me like one can do this using different attribute columns as well. IMHO, that applies even to the Wiki example that was just produced to show the advantage of the layer concept over attribute columns (example with field borders that are paths at the same time).<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'>So question Nr. 2 is: what is the real advantage of the layer concept over a sophisticated set of attribute columns? And where is that layer structure saved physically? Can I make it visible? In the end, is it just a set of (most of the time invisible) columns??<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'>Thanks and regards, Uwe<o:p></o:p></span></p></div></body></html>