I'm trying to convert an Esri JSON file to a GeoJSON format using ogr2ogr. For some reason, in the objects returned, the geometry field is constantly null.
Here's the script I'm running:
ogr2ogr -f GeoJSON output.geojson input.json
Here's the input file: https://pastebin.com/RSx4L1vT
Here's the output file: https://pastebin.com/9tHnm2ZH
Here's the original source of the data which I have cleaned up: https://bexleycouncil.maps.arcgis.com/sharing/rest/content/items/95a6e51df1734a859a502109a188790a/data?f=json
I'm fairly new to OGR/GDAL, and know it's something to do with the rings format, but I can't figure it out.
ogr2ogr -f GeoJSON output.geojson ESRIJSON:input.json