BUG: load_file() GeoJSON containing "": .* fails
See original GitHub issueHi,
using geoJSON with an entry “”: “” does not work:
{ "type": "Feature", "geometry": { "type": "Point", "coordinates": [ 8.694291999999999, 49.409639999999996 ] }, "properties": { "": "", "@osmId": "node/568461834", "@validFrom": "2009-11-22T15:47:35Z", "@validTo": "2009-11-22T15:49:21Z", "amenity": "cafe", "created_by": "iLOE 1.6", "name": "St. Anna Chocolaterie" } }
samplecafe_halfhalfhalfhalfhalfEmpty2.txt
https://tools.ietf.org/html/rfc7946 It is valid GeoJSON to have an empty property key
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Python json.load(file) error with valid JSON - Stack Overflow
There is no JSON data in it to parse. This is why the exception tells you that parsing failed at the very start...
Read more >BUG: Loading in geojson through read_file misses certain ...
When reading in a specific kind of GeoJSON (output of an osmium-tool export to be exact) the read_file function skips over specific elements....
Read more >Get error when I try to display a GeoJson file with Openlayers 3
And I get another error : XMLHttpRequest cannot load http://localhost/Web%20Mapping/fond.geojson. No 'Access-Control-Allow ...
Read more >Python JSONDecodeError Explanation and Solution | CK
The Python JSONDecodeError indicates there is an issue with how a JSON object is formatted. To fix this error, you should read the...
Read more >json — JSON encoder and decoder — Python 3.11.1 ...
Deserialize s (a str , bytes or bytearray instance containing a JSON document) to a Python object using this conversion table. The other...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
With the fix here: https://github.com/Toblerity/Fiona/pull/955
The fix has been merged in upstream, so this issue can be closed.