[osmosis-dev] one node ways

Kirill Bestoujev bestoujev at gmail.com
Fri Apr 8 17:55:43 BST 2011


Igor,

the context is simple - we have a mirror of the planet, we update if with
replication with minute diffs.

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.



K.

2011/4/8 Igor Podolskiy <igor.podolskiy at vwi-stuttgart.de>

> Hi Kirill,
>
>
>  When a one node way is present in the database and osmosis creates a
>> linestring geometry for it the resulting geometry is something like
>> LINESTRING(139.386972 37.095865)
>>
>> When we process this linestring with any postgis function it gives us
>> an error - the linestring must contain 0 or > 1 nodes.
>>
>
> 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.
>
> Regards
> Igor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20110408/99c0ef87/attachment.html>


More information about the osmosis-dev mailing list