Thank's for your reply.<div><br></div><div>I think we'll go same ways as you describe - use two main tables `polygons` and `points` and couple supporting tables which handle relationships and additional content.</div>
<div><br></div><div>Michal K.<br><br><div class="gmail_quote">On Mon, Apr 9, 2012 at 3:05 PM, Andrea Peri <span dir="ltr"><<a href="mailto:aperi2007@gmail.com">aperi2007@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<pre>>My question is how to design database for this system? I was thinking of 2
>tables polygons and points, but I'm not sure if it's good way of thinking.</pre><br>Hi,<br>we chhose by desing to use two table for the geometries (lines and polygons).<br>And many tables to link the geometries inside these two tables.<br>

The two tables with geometries was called ""elementary_lines" (arcs) and "soil" (polygons).<br><br>The main rule is that every element of the "elementary lines" is a linear object and it is also a segment on the boundary of one or two element polygons of the "soil" .<br>

Another rule is that the "soil" will give a "full cover of the soil". And every point has one and only one polygon to cover it.<br><br>Every object of the "elementary lines" and of the "soil" as an unique alphanumeric universal identifier.<br>

It allow to have others table without geometry that allow to have distinct and specific attributes for every specific kind of object.<br><br>This choice was need to grant a full topology for all the objects of the db.<br>

<br>Also we develope a profile of "GML topological" to allow the exchange of out database.<span class="HOEnZb"><font color="#888888"><br><br>-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty àèìòù<br>
-----------------<br><br>
</font></span><br>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
<br></blockquote></div><br></div>