iduedu.snapshot_time¶
- iduedu.snapshot_time(path)[source]¶
Return the moment an OSM file reflects, from its header, as an aware UTC
datetime.Geofabrik and other replication-based extracts store it as
osmosis_replication_timestamp. ReturnsNonewhen the header carries none.- Raises:
FileNotFoundError – When
pathdoes not exist.ValueError – When the file is not an OSM
.pbffile.
- Return type:
- Parameters: