Hey all,

 

I'm trying to insert into my MultiLineString Geometry field in my
PostGIS databse and am getting the following error:

 

ERROR: parse error - invalid geometry

 

When I do a toString() on my MultiLineString I have the following output

 

MULTILINESTRING((-74.65061950683594 39.87829780578613,-74.65056610107422
39.878252029418945))

 

Anyone know why it doesn't like this?

 

Note: 

 - I'm using postgis 1.1.7 as it was the default with my Postgres
database

   - I tried upgrading but the installer for 1.2.1 had an error

 - My MultiLineString is made from a LineString[] made from a Point[]
with two points in it

 - I have successfully added non Geometry fields into my database

 - I'm using Hibernate to insert into my database

 

_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to