Re: Customizable model field (such as SRID for geometries) and migrations

2021-06-05 Thread Chetan Ganji
I dont understand your requirements :P But this will certainly help. https://docs.djangoproject.com/en/3.2/ref/contrib/gis/tutorial/#geodjango-tutorial https://docs.djangoproject.com/en/3.2/ref/contrib/gis/model-api/ IN the below link, it says about setting the SRID field :P

Customizable model field (such as SRID for geometries) and migrations

2021-06-02 Thread Olivier Dalang
Dear List, I'm working on a Django app whose models have geometry fields and that will be deployed in several geographic locations. Using a globally available reference system (WGS84) and reprojecting on the fly will not work due to performance and accuracy implications for geometric queries.