jazzband / geojson

Python bindings and utilities for GeoJSON
https://pypi.python.org/pypi/geojson/
BSD 3-Clause "New" or "Revised" License
898 stars 120 forks source link

Allow NULL properties on GeoJSON features #180

Closed vijaynallagatla closed 2 years ago

vijaynallagatla commented 2 years ago

This is regarding the Issue

Fix is to allow null for the GeoJSON Feature properties tag (GeoJSON Spec)

{
  "type": "FeatureCollection",
  "features": [
    {
      "geometry": {
        "coordinates": [
          180,
          90
        ],
        "type": "Point"
      },
      "type": "Feature",
      "properties": null
    }
  ]
}
rayrrr commented 2 years ago

Closing without merge as per discussion on #179