I have a postgres table below with a field `coordinates` of type path:
CREATE TABLE geometry
(
id serial not null primary key,
coordinates path not null
)
Trying to add a Geometry into the table:
session.add(Geometry(id = 1, coordinates = "path('(15.234428926980286, 47.95865145177352)')"))
I am getting this error:
sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedFunction) function st_geomfromewkt(unknown) does not exist