noc.gis.parsers.address.fias

Module Contents

class noc.gis.parsers.address.fias.FIASParser(config, opts)

Bases: noc.gis.parsers.address.base.AddressParser

name = FIAS
TOP_NAME = Российская Федерация
rx_letter
rx_letter2
download(self)
load_oktmo(self)
get_addrobj(self, oktmo=None, okato=None, aoguid=None, unique=True)
create_division(self, oktmo)

Create division by OKATO object :returns: Division

create_division2(self, ao)

Create division by ADDROBJ, used when OKATO is empty :returns: Division

create_street(self, aoguid)
check_oktmo(self, oktmo)
refine_oktmo(self, oktmo, okato)

Refine OKTMO by OKATO

sync_buildings(self)
get_fias_code(self, r)

Return FIAS code

load_addrobj(self)
update_levels(self)
sync(self)
noc.gis.parsers.address.fias.OKTMO