[postgis-users] ST_UNION - Exception in LWGEOM2GEOS

Mehmet Sirin m.sirin07 at googlemail.com
Mon Oct 26 16:24:07 PDT 2009


Hi,
I just tried to create a mutlilinestring out of a set of linestrings via
SELECT AsText( ST_UNION(linestring) )

FROM ways w, way_tags wt WHERE w.id=wt.way_id
AND wt.v='Dörnter Weg'

(it lies in Osnabrück, lower saxony)
but I'm getting this strange error:
HINWEIS: IllegalArgumentException: point array must contain 0 or >1 elements


FEHLER: Exception in LWGEOM2GEOS

********** Fehler **********

FEHLER: Exception in LWGEOM2GEOS
SQL Status:XX000


Replacing wt.v='Dörnter Weg' with wt.v='Some other Streets' it works
properly.
So it is because of this street 'Dörnter Weg' (i got a few other ones of
this kind in my database).
Anybody can tell me why these sort of ways leads to a problem?
thank you
kind regards
mehmet sirin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20091027/f72e07e9/attachment.html>


More information about the postgis-users mailing list