Re: [sqlalchemy] postgresql geometry types

2020-07-09 Thread Mike Bayer
Hi - I think you want to be using geoalchemy2: https://geoalchemy-2.readthedocs.io/en/latest/ On Wed, Jul 8, 2020, at 3:37 PM, Роберт Шотланд wrote: > We are beginning to use the PostgreSQL (12) geometric types (initially the > 'point' datatype) in our SA model, and was disappointed to find

[sqlalchemy] postgresql geometry types

2020-07-08 Thread Роберт Шотланд
We are beginning to use the PostgreSQL (12) geometric types (initially the 'point' datatype) in our SA model, and was disappointed to find that the sqlalchemy postgresql dialect modules appear not to have these. So I wrote a function using schema.CreateColumn to generate the postgresql DDL