[postgis-users] pointfromtext

strk at refractions.net strk at refractions.net
Sun Dec 11 04:29:10 PST 2005


On Sun, Dec 11, 2005 at 01:04:20PM +0100, Luca wrote:
> im tring to update a column in this way:
> UPDATE sites SET geom = pointfromtext('POINT('||latitudine||' 
> '||longitudine||' '||quota||')',26591);
> where pointfromtext is a function and latitudine, longitudine and quota 
> are others columns... but this dont work
> psql said:
> 
> WARNING:  OGC WKT expected, EWKT provided - use GeomFromEWKT() for this
> CONTEXT:  funzione SQL "geomfromtext" istruzione 1
> funzione SQL "pointfromtext" istruzione 1
> 
> but the function  GeomFromEWKT() doesnt exist..
> any idea?

Might be a screwed postgis installation (the missing GeomFromEWKT())
What does postgis_full_version() say ?

--strk;

 /"\    ASCII Ribbon Campaign
 \ /    Respect for low technology.
  X     Keep e-mail messages readable by any computer system.
 / \    Keep it ASCII. 




More information about the postgis-users mailing list