Closed KostasTok closed 3 years ago
So I changed the way I import the data in the database and now the serialiser works correctly, but the lat/long are flipped in the admin of the django. This seams to be a bug with the django admin after all, so I will close this issue.
Thanks for updating the issue @KostasTok :+1:
Hello,
I want to use
GeoFeatureModelSerializer
to return a GeoJson. The format of the response (see view below) is correct, however the coordinates are flipped, i.e. the latitude is longitude and visa versa.In the django admin app the polygons appear correctly stored in the database, hence I think the issue is with the serialiser.
Do you think that this is a bug, or a mistake from my side?
My setup is the following: