Re: [sqlalchemy] programming error (psycopg2.ProgrammingError) can't adapt type 'Point'

2019-07-08 Thread Mike Bayer
On Mon, Jul 8, 2019, at 4:45 AM, Mauro Mussin wrote: > I have a postgres-postgis dB with a geometry:point field: if I insert the > values directly > INSERT INTO points(coordinates) VALUES (ST_GeomFromText('POINT(10.809003 > 54.097834)',4326)); > > no issue, but if I use this sequence

[sqlalchemy] programming error (psycopg2.ProgrammingError) can't adapt type 'Point'

2019-07-08 Thread Mauro Mussin
I have a postgres-postgis dB with a geometry:point field: if I insert the values directly INSERT INTO points(coordinates) VALUES (ST_GeomFromText('POINT(10.809003 54.097834)',4326)); no issue, but if I use this sequence (Python) *->import data in a dataframe: data contains lat and long