<br><br><div><span class="gmail_quote">On 12/22/06, <b class="gmail_sendername">Kristian Thy</b> <<a href="mailto:thy@42.dk">thy@42.dk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, Dec 22, Martin Spott wrote:<br>> OGR is able to handle at least the common geometry types like POINT,<br>> LINE, MULTILINE, POLYGON, MULTIPOLYGON - these are the ones _I_ use OGR<br>> for, there may be some more.
<br><br>Yes, I know - sorry for not making myself clear.<br><br>A .osm file contains a lot of MULTILINEs. But in actual fact, some of<br>these MULTILINES are actually POLYGONs - lakes and parks and stuff. What<br>I'm unsure of is if one input file can contain both 2D geometries line
<br>lines and 3D geometries like polygons. I know shapefiles are either-or,<br>but I'm not aware whether this is a general limitation or something<br>specific to shapefiles.</blockquote><div><br><br>A TAB file can certainly contain mixed geometries, like LINESTRING, MULTILINESTRING, POLYGON in the same file, which is a bit of a pain when importing into databases.  An OGC POLYGON  isnt necesserily 3D and and linestring isnt necesserily 2D and so on.  If an exchange format should make it easy to shift data from one place to another, probably from one DB to another, then IMO it should constrain the geometry types, but not necesserily the Dimensions of the data.
<br><br>Nick<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">\\kristian<br>--<br>Cthulhu.call();<br><br>_______________________________________________
<br>talk mailing list<br><a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br><a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Nick Black<br>--------------------------------<br><a href="http://www.blairclock.com">http://www.blairclock.com</a><br>---------------------------------<br><a href="http://www.blacksworld.net">
http://www.blacksworld.net</a>