[postgis-users] LinestringZ not valid

ps.tiara ps.tiara at yahoo.com
Mon Oct 22 09:40:46 PDT 2012


Hello,

I've tried to make a linestring with z value as below

select st_isvalid(a.p), st_isvalid(b.q)
from (select st_geomfromtext ('LINESTRING Z(0 0 0, 1 0 0)') as p) as a,
(select st_geomfromtext('LINESTRING Z(0 0 0, 0 0 1)') as q) as b

the result shows that linestring from table b is not valid,,it's caused too
few points..
is it impossible to make linestring (0 0 0, 0 0 1) ? how to make it valid?

thanks..

--t



--
View this message in context: http://postgis.17.n6.nabble.com/LinestringZ-not-valid-tp5000695.html
Sent from the PostGIS - User mailing list archive at Nabble.com.



More information about the postgis-users mailing list