We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello everyone, It would be great if someone could help me with getting native data from GeoJSONs with fiona.
fiona
I expected to be able to read NATIVE_DATA from a GeoJSON file but didn't find a way to do so.
NATIVE_DATA
import fiona with fiona.open( 'test.geojson', 'w', driver='GeoJSON', schema={'geometry': 'MultiPolygon'}, native_data={'foo': 'bar'}, native_media_type='application/vnd.geo+json', ) as dst: pass
$ cat test.geojson { "type": "FeatureCollection", "foo": "bar", "features": [ ] }
with fiona.open('test.geojson', 'r', native_data=True) as src: 'No idea how to get the native data.'
Ubuntu 20.04
1.8.18 installed with Pipenv
GDAL 3.0.4
The text was updated successfully, but these errors were encountered:
@Jamim the fiona API will let you access native data of features but not native data of the next level up, the feature collection.
Sorry, something went wrong.
Deferring to 2.0.
No branches or pull requests
Hello everyone,
It would be great if someone could help me with getting native data from GeoJSONs with
fiona
.Expected behavior and actual behavior.
I expected to be able to read
NATIVE_DATA
from a GeoJSON file but didn't find a way to do so.Steps to reproduce the problem.
Operating system
Ubuntu 20.04
Fiona and GDAL version and provenance
1.8.18 installed with Pipenv
GDAL 3.0.4
The text was updated successfully, but these errors were encountered: