[postgis-users] mlinefromtext problem
strk
strk at keybit.net
Wed Apr 7 03:27:20 PDT 2004
On Wed, Apr 07, 2004 at 11:21:55AM +0200, Stefan Donath wrote:
> hi,
>
> there is a problem occuring while trying to use mlinefromtext:
>
> this is my sql-command:
>
> INSERT INTO owt_staatsgrenze_sub (grenzen_id,id,the_geom,test)
> VALUES (470,44,
> mlinefromtext('multilinestring((5589287.1 4570062.5,5589288.0
> 4570069.0),
> (5589288.0
> 4570069.0,5589260.0 4570050.9))'
> ,20002),
> 'test');
>
> the error message is: couldnt parse objects in GEOMETRY
>
> what's wrong? thanks for help, stefan.
The numbers enclosed in the inner parens are rings. Must have at least
3 points (yours have 2) and the last one must be the same of the first
one.
--strk;
>
> --
> NEU : GMX Internet.FreeDSL
> Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/info
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
More information about the postgis-users
mailing list