[postgis-users] INSERT geom Problem

strk at refractions.net strk at refractions.net
Mon Jun 13 04:08:31 PDT 2005


On Mon, Jun 13, 2005 at 11:07:23AM +0200, Levert Donovan wrote:
> Hello,
> I don't understand why this INSERT doesn't works, I am
> using postgis 1.0 :
> 
> INSERT INTO "popplace"
> ("unique_key","name","the_geom") VALUES
> ('128','test','SRID=27582;0101000000000000A053984241000000C0789A3141'::geometry);
> ERROR:  couldnt parse objects in GEOMETRY

SELECT postgis_version() ?
1.x uses HEXEWKB (what I see in your query) as canonical input,
0.x uses EWKT instead.
--strk;



More information about the postgis-users mailing list