Open henri-hulski opened 2 years ago
BTW are you planning to implement the todo
from the above code?
The documentation is pointing to the view: https://github.com/makinacorpus/django-geojson/blob/master/djgeojson/views.py#L60
Did you have an issue with the default value in the serializer?
BTW are you planning to implement the todo from the above code?
This is a very old TODO and I'm not sure of the consequences. Feel free to open a PR if you have a better idea about what is needed here.
I'm using just the serializer for a geojson response. And when I don't set crs["type"]
it uses link.
Beside that the serializer works great. Especially the field mapping is for me the main advantage to the native Django GeoJSON serializer.
Despite the docs
link
is still the default for thecrs_type
option.You need to fix
def get_crs(self)
: