Package: django-geojson
django-geojsonSee thedocumentationfor more information.django-geojsonis a set of tools to manipulate GeoJSON with Django >= 3.2:(De)Serializer for (Geo)Django objects, querysets and listsBase views to serve GeoJSON map layers from modelsGeoJSON model and form fields to avoid spatial database backends
(compatible withdjango-leafletfor map widgets)AUTHORSMathieu Leplatre <mathieu.leplatre@makina-corpus.com>Glen Robertson author of django-geojson-tiles at:https://github.com/glenrobertson/django-geojson-tiles/@jeffkistler’s author of geojson serializer at:https://gist.github.com/967274Ben Welsh and Lukasz Dziedzia forquick test scriptFlorent Lebretonhttp://github.com/fleJulien Le Sechhttp://www.idreammicro.comKevin Cooper @kevcooperAchille Ash @AchilleAshYann Fouillat (alias Gagaro) <yann.fouillat@makina-corpus.com>Version 1.X:Daniel Sokolowski, serializer snippetozzmo, python 2.6 compatibilityLICENSELesser GNU Public LicenseCHANGELOG4.0.0 (2022-10-17)Drop support for Python < 3.7 / Django < 3.2Remove jsonfield dependency in favor of django.db.models.JSONField3.2.1 (2022-02-21)Set default initial value to form field #1163.2.0 (2021-04-15)Support Django 3.2.3.1.0 (2020-10-27)Drop support for Python 2 and Django < 2.2Fix warnings in Django 3.1Use explicit srid in get_queryset #106Add support for crs_type using the view options #1073.0.0 (2020-03-02)Fix with_modelname option after first iterationDrop Django 1.11 supportjsonfield 3.0 support, drop 2.x support2.12.0 (2018-12-05)Change media type to ‘application/geo+json’Make with_modelname option available in viewsDrop Django 1.8 support.Fixed unnecessary GDAL dependency. (#100, thanks @coredumperror)2.11.0 (2017-12-05)Django 2.0 support.Fix setup.py encoding error.2.10.0 (2017-02-28)python 3.5 support.2.9.1 (2016-08-22)** Bug fixes **Remove deprecation warnings with Django 1.8 (#78, thanks @AchilleAsh)2.9.0 (2016-02-08)** New features **handle natural keys in views (#74, thanks Achille Ash!)** Bug fixes **Add Django 1.9 compatibility (#69, thanks Julien Le Sech!)Fix imports in view.py to work without GEOS (#62, thanks Kevin Cooper!)2.8.1 (2015-06-17)** Bug fixes**Fixed detection of GEOS (thanks Kevin Cooper!)2.8.0 (2015-04-17)** New features **Support GeoJSON specification for named crs (thanks Alvin Lindstam)** Bug fixes **Add python 3.2 compatibility (thanks Nikolay Korotkiy, fixes #55)Fix tests on Django >= 1.7 (thanks Manel Clos)2.7.0 (2015-02-21)** New features **Add a with_modelname option to serializer** Bug fixes **change ‘fields’ to ‘properties’ in code exampleAdds a warning for “Module version, as defined in PEP-03962.6.0 (2014-07-21)** New features **Django GeoJSON fields without libgeos installed (thanks Florent Lebreton)Properties can be a tuple (fixes #34)2.5.0 (2014-06-03)** New features **Add vector tiles viewImprovedgeojsonfeaturetemplate tag (fixes #15, #16)Add various GeoJSON fields, for each geometry type** Bug fixes **Fix (de)serializers not being usable from command-line (fixes #28)Fix import attempt fordjango-leaflet(fixes #27), by Seyi OgunyemiFix missed SRID after copying a geometry in_handle_geom, by Biel Frontera** Internal changes **Specify django-leaflet minimal version for GeoJSON model fieldGot rid of shapely for deserialization2.4.0 (2014-03-22)Add GeoJSON fields2.3.0 (2014-02-08)Python 3 support (thanks @amarandon)Add bbox at feature level (thanks @7wonders)2.2.0 (2013-12-18)Deserialization: add ability to specify model name as option (thanks @Vross)Deserialization: look-upìdvalue in properties whe missing at feature level: (thanks @Vross)2.1.1 (2013-08-21)Set default SRID to 4326 in generic GeoJSON views.2.1.0 (2013-08-19)Serialize reversed relations using natural keys (fixes #8)Support empty geometries (None or NULL in Db)Fix serializing property in upper class2.0.1 (2013-07-10)Fix usage of simplify.Exposeforce2doption in viewAllow to havepkoridin properties if explicitly listed2.0.0 (2013-07-09)Complete rewrite using @jeffkistler and @glenrobertson codeCRS is added to GeoJSON ouput by defaultAbility to buildpkdynamically by passing a lambdaAbility to provide abboxAbility to use Django natural keysSupport ofValuesQuerySetSupport ofForeignKeyandManyToManyAddedforce2doption** Backwards incompatible changes **Geom field is not guessed automatically : Usegeometry_fieldoption, default is'geom'.no morepkin properties : use featureid, or listpkin properties explicitly.fieldslist inGeoJSONLayerwas renamedproperties.1.2.0 (2013-05-22)Shapely is now optional (used for deserialization only)Add Django to requirementsSkip a step in GeoJSON conversion of geometries (fixes #6)1.1.0 (2013-03-06)Django 1.5 supportFix template tag geojsonfeature on empty geometries1.0.0 (2012-08-03)Initial working version.