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
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
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.
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
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