geodjango gdal 3 coordinates order changes

Viewed 322

Ive been setting an existing geodjango project in ubuntu 20.04, and the existing databases, fixture created, are all read backwards, (lat, long) (long,lat), I finally found the change and its the gdal verison, I was working with the 2.4 version, in ubuntu 20 I have the gdal version 3, and the change seems to be intended:

GDAL 3.0 Coordinate transformation (backwards compatibility (?))

as a workaround there is a SetAxisMappingStrategy(OAMS_TRADITIONAL_GIS_ORDER) method

my question is, how do I setup my project for existing and new models being read correctly?, since the backwards reading exist in the admin, pages, serializers, etc

thanks

1 Answers
Related