parse_osm_pbf_layer

pydriosm.reader.parse_osm_pbf_layer(pbf_layer_data, geo_typ, transform_geom, transform_other_tags)[source]

Parse data of a layer of PBF data.

Parameters
  • pbf_layer_data (pandas.DataFrame) – data of a specific layer of PBF data.

  • geo_typ (str) – geometric type

  • transform_geom (bool) – whether to transform a single coordinate (or a collection of coordinates) into a geometric object

  • transform_other_tags (bool) – whether to transform a 'other_tags' into a dictionary

Returns

parsed data of the geo_typ layer of a given .pbf file

Return type

pandas.DataFrame

See the examples for the function parse_osm_pbf().