noc.gis.models.address

Module Contents

class noc.gis.models.address.Address

Bases: mongoengine.document.Document

meta
building
street
num
num2
num_letter
build
build_letter
struct
struct2
struct_letter
estate
estate2
estate_letter
data
is_primary
classmethod update_primary(cls, sender, document, **kwargs)

Reset other primary addresses from building

display_ru(self, levels=0, to_level=None, sep=', ')

Russian-style short display :param levels: Number of division levels above street to show

noc.gis.models.address.RU_SHORT_AFTER