Igor,<br><br>the context is simple - we have a mirror of the planet, we update if with replication with minute diffs. <br><br>You may have a look at way 35966868 to see the problem by yourself. After creation of geom by osmosis it looks like LINESTRING(2.2321042 48.7767191,2.2321042 48.7767191) which is not good.<br>
<br><br><br>K.<br><br><div class="gmail_quote">2011/4/8 Igor Podolskiy <span dir="ltr"><<a href="mailto:igor.podolskiy@vwi-stuttgart.de">igor.podolskiy@vwi-stuttgart.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Kirill,<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
When a one node way is present in the database and osmosis creates a<br>
linestring geometry for it the resulting geometry is something like<br>
LINESTRING(139.386972 37.095865)<br>
<br>
When we process this linestring with any postgis function it gives us<br>
an error - the linestring must contain 0 or > 1 nodes.<br>
</blockquote>
<br></div>
I think I understand the problem but I'm having a hard time understanding the context :) Could you maybe provide a simple example and/or a step-by-step guide to reproduce this? Like the osmosis command line you're using, the kind of data you're trying to put in the database - that would be very helpful.<br>
<br>
Regards<br><font color="#888888">
Igor<br>
</font></blockquote></div><br>