parse_geojson_xz

pydriosm.reader.parse_geojson_xz(path_to_geojson_xz, fmt_geom=False)[source]

Parse a compressed Osmium GeoJSON (.geojson.xz) data file.

Parameters
  • path_to_geojson_xz (str) – absolute path to a .geojson.xz data file

  • fmt_geom (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 the example for the method BBBikeReader.read_geojson_xz().