OtherTagsReformatError

class pydriosm.errors.OtherTagsReformatError(other_tags)

Exception raised when errors occur in the process of parsing other_tags in a PBF data file.

Parameters

other_tags (str or None) – data of 'other_tags' of a single feature in a PBF data file

Variables
  • other_tags (str or None) – data of 'other_tags' of a single feature in a PBF data file

  • message (str) – error message

Examples:

>>> from pydriosm.errors import OtherTagsReformatError

>>> raise OtherTagsReformatError(other_tags='abc')
Traceback (most recent call last):
  ...
pydriosm.errors.OtherTagsReformatError:
  `other_tags='abc'` -> Failed to reformat the ...