VAR.read_geojson_xz¶
- classmethod VAR.read_geojson_xz(path_to_file, engine=None, parse_geometry=False)[source]¶
Read/parse a compressed Osmium GeoJSON (.geojson.xz) data file.
- Parameters:
path_to_file (str) – path to a .geojson.xz data file
engine (str | None) – an open-source Python package for JSON serialization, defaults to
None; whenengine=None, it refers to the built-in json module; otherwise options include:'ujson'(for UltraJSON),'orjson'(for orjson) and'rapidjson'(for python-rapidjson)parse_geometry (bool) – whether to reformat coordinates into a geometric object, defaults to
False
- Returns:
tabular data of the Osmium GeoJSON file
- Return type:
pandas.DataFrame
See also
Examples for the method
BBBikeReader.read_geojson_xz().