Re: [postgis-users] ST_UNION - Exception in LWGEOM2GEOS

2009-10-26 Thread Paragon Corporation
Mehmet, It sounds like your line string might have 0 or 1 points. Use ST_NPoints(linestring) < 2 to find all linestrings with fewer than 2 points Leo _ From: postgis-users-boun...@postgis.refractions.net [mailto:postgis-users-boun...@postgis.refractions.net] On Behalf Of Mehmet Sir

[postgis-users] ST_UNION - Exception in LWGEOM2GEOS

2009-10-26 Thread Mehmet Sirin
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

[postgis-users] Import of GML into PostgreSQL 8.4

2009-10-26 Thread OisinJK
Hi folks Newbie to postgres and database admin generally, so be gentle. I'm trying to set-up a postgres mapserver for Ordnance Survey Mastermap. So far I have installed postgreSQL 8..4 and PostGIS. I have imported a GML file into a postgres database, created using postgis_template, using ogr2ogr.

[postgis-users] Regarding calculating locations on a map

2009-10-26 Thread Thilani Imalka
I am currently developing a shortest path application for my MSc degree project. Road information are stored in the postgis table and there I can find geometries for all the roads. But I am having few issues when selecting from and to location from GUI (open layers). Where I have to provide a faci

[postgis-users] Regarding calculating locations on a map

2009-10-26 Thread Thilani Imalka
Hi, I am currently developing a shortest path application for my MSc degree project. Road information are stored in the postgis table and there I can find geometries for all the roads. But I am having few issues when selecting from and to location from GUI (open layers). Where I have to provide a