Re: beginner postgis question lat/lon - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: beginner postgis question lat/lon
Date
Msg-id 20080228145011.GB27658@svana.org
Whole thread Raw
In response to beginner postgis question lat/lon  (shadrack <shadkeene@hotmail.com>)
List pgsql-general
On Wed, Feb 27, 2008 at 04:59:07PM -0800, shadrack wrote:
> postgis=# insert into routes_geom values(1, 'J084',
> GeomFromText('LINESTRING(38.20 -121.00, 38.20, -118.00)', 4326));
>
> I receive this error:
> ERROR:  parse error - invalid geometry
> CONTEXT:  SQL function "geomfromtext" statement 1

You have an extraneous comma after the 38.20.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Those who make peaceful revolution impossible will make violent revolution inevitable.
>  -- John F Kennedy

Attachment

pgsql-general by date:

Previous
From: "A B"
Date:
Subject: what happens if something goes wrong in transaction?
Next
From: Alvaro Herrera
Date:
Subject: Re: what happens if something goes wrong in transaction?