insert SRID on the_geom field using shapely

Viewed 1225

I have a column in my db, called the_geom a geometry type and i set the srid as 4326 of sql alchemy,

when i try to insert a wkt Polygon in this field, they give me this error :

DataError: (psycopg2.DataError) Geometry SRID (0) does not match column SRID (4326)

i using shapely to get a polygon.

1 Answers
Related