Разбор почтовых адресов

 
 страна:
 субъект:
 регион:
 город:
 район города:
 улица:
 дом:
 квартира:
 почтовый индекс:
 GUID элемента ФИАС:
 код ФИАС:
 код КЛАДР:

 Например: Спб, Марш. Жукова, 44 128 - синоним "Спб" для Санкт-Петербург, сокращение "Марш."
Арзамас-16, Репина, д.1, кв. 34 - история переименований городов
Спб, Салтыкова-щедрина, 44 128 - история переименования улиц
Московская обл., г. Ногинск-9, ул. Юбилейная, д.4, кв. 34 - исправление типа элемента - "пгт" вместо "г"
ул Xоламская , 3 - восстановление пропущеных элементов
москва, льва толсотого , 12 - исправление опечаток
балашиа, некраова 4 59 - исправление опечаток
г москва ,пр 60 лет октября, , , 23/-137 - распознавание варианта написания

{
    "1": {
        "address_id": "1",
        "guid": "00000000-0000-0000-0000-000000000000",
        "fias_code": 0,
        "kladr_code": 0,
        "address_line": "Спб, Салтыкова-щедрина, 44 128",
        "russian": true,
        "USSR": true,
        "OKSM": 643,
        "fields": [
            {
                "name": "Спб",
                "type": "Address:Part_City"
            },
            {
                "name": "Салтыкова-щедрина",
                "type": "Address:Part_Street"
            },
            {
                "name": "44",
                "type": "Address:Part_House"
            },
            {
                "name": "128",
                "type": "Address:Part_Apartment"
            }
        ],
        "fields_norm": [
            {
                "name": "СПБ",
                "type": "Address:Part_City"
            },
            {
                "name": "САЛТЫКОВА-ЩЕДРИНА",
                "type": "Address:Part_Street"
            },
            {
                "name": "44",
                "type": "Address:Part_House"
            },
            {
                "name": "128",
                "type": "Address:Part_Apartment"
            }
        ],
        "norm_parts_line": "СПБ, САЛТЫКОВА-ЩЕДРИНА, ДОМ 44, КВ 128",
        "variants": [
            {
                "norm_line": "Г САНКТ-ПЕТЕРБУРГ, УЛ КИРОЧНАЯ, ДОМ 44, КВ 128",
                "norm_line_lev_dist": 54,
                "PART_MATCHES": "0,1h",
                "FIAS_Parts": [
                    {
                        "FIAS_Name": "САНКТ-ПЕТЕРБУРГ",
                        "FIAS_Socr": "Г",
                        "FIAS_Level": 1,
                        "FIAS_Code": 7800000000000000000
                    },
                    {
                        "FIAS_Name": "КИРОЧНАЯ",
                        "FIAS_Socr": "УЛ",
                        "FIAS_Level": 7,
                        "FIAS_Code": 7800000000000001778
                    }
                ],
                "FIAS_GUID": "134dac66-8f44-49b1-aa97-d4ef8d1337e7",
                "FIAS_Code": 7800000000000001778,
                "FIAS_Level": 7,
                "KLADR_Code": 780000000001778,
                "KLADR_Level": 6,
                "OKATO": 40000000000,
                "OKTMO": 40000000,
                "house_variants": [
                    {
                        "house_line": "ДОМ 44",
                        "post_index": 191123,
                        "HOUSE_GUID": "5a3d6515-02ce-43fe-868f-7a7b74469284",
                        "appartment": "КВ 128",
                        "appartment_matched": false
                    },
                    {
                        "house_line": "ДОМ 44 ЛИТЕР А",
                        "post_index": 191123,
                        "HOUSE_GUID": "dcdc59d8-07f7-4247-876b-c9f10c9c0a6e",
                        "appartment": "КВ 128",
                        "appartment_matched": false
                    },
                    {
                        "house_line": "ДОМ 44 ЛИТЕР Б",
                        "post_index": 191123,
                        "HOUSE_GUID": "8572b307-4ffa-46c5-9fda-9081ba9bd3be",
                        "appartment": "КВ 128",
                        "appartment_matched": false
                    }
                ],
                "address_post_index": 191123,
                "house_match": "multiple",
                "flat_match": "unmatched"
            }
        ]
    }
}
{
  "address_id": "1",
  "try_fuzzy": true,
  "is_birth_address": false,
  "address_line": "Спб, Салтыкова-щедрина, 44 128"
}
{
    "1": {
        "address_id": "1",
        "guid": "00000000-0000-0000-0000-000000000000",
        "fias_code": 0,
        "kladr_code": 0,
        "address_line": "Спб, Салтыкова-щедрина, 44 128",
        "russian": true,
        "USSR": true,
        "OKSM": 643,
        "fields": [
            {
                "name": "Спб",
                "type": "Address:Part_City"
            },
            {
                "name": "Салтыкова-щедрина",
                "type": "Address:Part_Street"
            },
            {
                "name": "44",
                "type": "Address:Part_House"
            },
            {
                "name": "128",
                "type": "Address:Part_Apartment"
            }
        ],
        "fields_norm": [
            {
                "name": "СПБ",
                "type": "Address:Part_City"
            },
            {
                "name": "САЛТЫКОВА-ЩЕДРИНА",
                "type": "Address:Part_Street"
            },
            {
                "name": "44",
                "type": "Address:Part_House"
            },
            {
                "name": "128",
                "type": "Address:Part_Apartment"
            }
        ],
        "norm_parts_line": "СПБ, САЛТЫКОВА-ЩЕДРИНА, ДОМ 44, КВ 128",
        "variants": [
            {
                "norm_line": "Г САНКТ-ПЕТЕРБУРГ, УЛ КИРОЧНАЯ, ДОМ 44, КВ 128",
                "norm_line_lev_dist": 54,
                "PART_MATCHES": "0,1h",
                "FIAS_Parts": [
                    {
                        "FIAS_Name": "САНКТ-ПЕТЕРБУРГ",
                        "FIAS_Socr": "Г",
                        "FIAS_Level": 1,
                        "FIAS_Code": 7800000000000000000
                    },
                    {
                        "FIAS_Name": "КИРОЧНАЯ",
                        "FIAS_Socr": "УЛ",
                        "FIAS_Level": 7,
                        "FIAS_Code": 7800000000000001778
                    }
                ],
                "FIAS_GUID": "134dac66-8f44-49b1-aa97-d4ef8d1337e7",
                "FIAS_Code": 7800000000000001778,
                "FIAS_Level": 7,
                "KLADR_Code": 780000000001778,
                "KLADR_Level": 6,
                "OKATO": 40000000000,
                "OKTMO": 40000000,
                "house_variants": [
                    {
                        "house_line": "ДОМ 44",
                        "post_index": 191123,
                        "HOUSE_GUID": "5a3d6515-02ce-43fe-868f-7a7b74469284",
                        "appartment": "КВ 128",
                        "appartment_matched": false
                    },
                    {
                        "house_line": "ДОМ 44 ЛИТЕР А",
                        "post_index": 191123,
                        "HOUSE_GUID": "dcdc59d8-07f7-4247-876b-c9f10c9c0a6e",
                        "appartment": "КВ 128",
                        "appartment_matched": false
                    },
                    {
                        "house_line": "ДОМ 44 ЛИТЕР Б",
                        "post_index": 191123,
                        "HOUSE_GUID": "8572b307-4ffa-46c5-9fda-9081ba9bd3be",
                        "appartment": "КВ 128",
                        "appartment_matched": false
                    }
                ],
                "address_post_index": 191123,
                "house_match": "multiple",
                "flat_match": "unmatched"
            }
        ]
    }
}
<?xml version="1.0" encoding="utf-16"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Body>
    <GetSummary xmlns="http://sega.rco.ru/Stub/">
      <GetSummaryRequest>
        <InputText>ew0KICAiYWRkcmVzc19pZCI6ICIxIiwNCiAgInRyeV9mdXp6eSI6IHRydWUsDQogICJpc19iaXJ0
aF9hZGRyZXNzIjogZmFsc2UsDQogICJhZGRyZXNzX2xpbmUiOiAi0KHQv9CxLCDQodCw0LvRgtGL
0LrQvtCy0LAt0YnQtdC00YDQuNC90LAsIDQ0IDEyOCINCn0=</InputText>
        <ModuleName>FIAS</ModuleName>
      </GetSummaryRequest>
    </GetSummary>
  </soap:Body>
</soap:Envelope>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:fxs="http://sega.rco.ru/Stub/">
  <SOAP-ENV:Body>
    <fxs:GetSummaryResponse>
      <fxs:GetSummaryResult>
        ewogICAgIjEiOiB7CiAgICAgICAgImFkZHJlc3NfaWQiOiAiMSIsCiAgICAgICAgImd1aWQiOiAi
MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwKICAgICAgICAiZmlhc19jb2Rl
IjogMCwKICAgICAgICAia2xhZHJfY29kZSI6IDAsCiAgICAgICAgImFkZHJlc3NfbGluZSI6ICLQ
odC/0LEsINCh0LDQu9GC0YvQutC+0LLQsC3RidC10LTRgNC40L3QsCwgNDQgMTI4IiwKICAgICAg
ICAicnVzc2lhbiI6IHRydWUsCiAgICAgICAgIlVTU1IiOiB0cnVlLAogICAgICAgICJPS1NNIjog
NjQzLAogICAgICAgICJmaWVsZHMiOiBbCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICJu
YW1lIjogItCh0L/QsSIsCiAgICAgICAgICAgICAgICAidHlwZSI6ICJBZGRyZXNzOlBhcnRfQ2l0
eSIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgewogICAgICAgICAgICAgICAgIm5hbWUiOiAi
0KHQsNC70YLRi9C60L7QstCwLdGJ0LXQtNGA0LjQvdCwIiwKICAgICAgICAgICAgICAgICJ0eXBl
IjogIkFkZHJlc3M6UGFydF9TdHJlZXQiCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHsKICAg
ICAgICAgICAgICAgICJuYW1lIjogIjQ0IiwKICAgICAgICAgICAgICAgICJ0eXBlIjogIkFkZHJl
c3M6UGFydF9Ib3VzZSIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgewogICAgICAgICAgICAg
ICAgIm5hbWUiOiAiMTI4IiwKICAgICAgICAgICAgICAgICJ0eXBlIjogIkFkZHJlc3M6UGFydF9B
cGFydG1lbnQiCiAgICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJmaWVsZHNfbm9ybSI6
IFsKICAgICAgICAgICAgewogICAgICAgICAgICAgICAgIm5hbWUiOiAi0KHQn9CRIiwKICAgICAg
ICAgICAgICAgICJ0eXBlIjogIkFkZHJlc3M6UGFydF9DaXR5IgogICAgICAgICAgICB9LAogICAg
ICAgICAgICB7CiAgICAgICAgICAgICAgICAibmFtZSI6ICLQodCQ0JvQotCr0JrQntCS0JAt0KnQ
ldCU0KDQmNCd0JAiLAogICAgICAgICAgICAgICAgInR5cGUiOiAiQWRkcmVzczpQYXJ0X1N0cmVl
dCIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgewogICAgICAgICAgICAgICAgIm5hbWUiOiAi
NDQiLAogICAgICAgICAgICAgICAgInR5cGUiOiAiQWRkcmVzczpQYXJ0X0hvdXNlIgogICAgICAg
ICAgICB9LAogICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAibmFtZSI6ICIxMjgiLAogICAg
ICAgICAgICAgICAgInR5cGUiOiAiQWRkcmVzczpQYXJ0X0FwYXJ0bWVudCIKICAgICAgICAgICAg
fQogICAgICAgIF0sCiAgICAgICAgIm5vcm1fcGFydHNfbGluZSI6ICLQodCf0JEsINCh0JDQm9Ci
0KvQmtCe0JLQkC3QqdCV0JTQoNCY0J3QkCwg0JTQntCcIDQ0LCDQmtCSIDEyOCIsCiAgICAgICAg
InZhcmlhbnRzIjogWwogICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAibm9ybV9saW5lIjog
ItCTINCh0JDQndCa0KIt0J/QldCi0JXQoNCR0KPQoNCTLCDQo9CbINCa0JjQoNCe0KfQndCQ0K8s
INCU0J7QnCA0NCwg0JrQkiAxMjgiLAogICAgICAgICAgICAgICAgIm5vcm1fbGluZV9sZXZfZGlz
dCI6IDU0LAogICAgICAgICAgICAgICAgIlBBUlRfTUFUQ0hFUyI6ICIwLDFoIiwKICAgICAgICAg
ICAgICAgICJGSUFTX1BhcnRzIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAg
ICAgICAgICAgICAgIkZJQVNfTmFtZSI6ICLQodCQ0J3QmtCiLdCf0JXQotCV0KDQkdCj0KDQkyIs
CiAgICAgICAgICAgICAgICAgICAgICAgICJGSUFTX1NvY3IiOiAi0JMiLAogICAgICAgICAgICAg
ICAgICAgICAgICAiRklBU19MZXZlbCI6IDEsCiAgICAgICAgICAgICAgICAgICAgICAgICJGSUFT
X0NvZGUiOiA3ODAwMDAwMDAwMDAwMDAwMDAwCiAgICAgICAgICAgICAgICAgICAgfSwKICAgICAg
ICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJGSUFTX05hbWUiOiAi0JrQ
mNCg0J7Qp9Cd0JDQryIsCiAgICAgICAgICAgICAgICAgICAgICAgICJGSUFTX1NvY3IiOiAi0KPQ
myIsCiAgICAgICAgICAgICAgICAgICAgICAgICJGSUFTX0xldmVsIjogNywKICAgICAgICAgICAg
ICAgICAgICAgICAgIkZJQVNfQ29kZSI6IDc4MDAwMDAwMDAwMDAwMDE3NzgKICAgICAgICAgICAg
ICAgICAgICB9CiAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgIkZJQVNfR1VJRCI6
ICIxMzRkYWM2Ni04ZjQ0LTQ5YjEtYWE5Ny1kNGVmOGQxMzM3ZTciLAogICAgICAgICAgICAgICAg
IkZJQVNfQ29kZSI6IDc4MDAwMDAwMDAwMDAwMDE3NzgsCiAgICAgICAgICAgICAgICAiRklBU19M
ZXZlbCI6IDcsCiAgICAgICAgICAgICAgICAiS0xBRFJfQ29kZSI6IDc4MDAwMDAwMDAwMTc3OCwK
ICAgICAgICAgICAgICAgICJLTEFEUl9MZXZlbCI6IDYsCiAgICAgICAgICAgICAgICAiT0tBVE8i
OiA0MDAwMDAwMDAwMCwKICAgICAgICAgICAgICAgICJPS1RNTyI6IDQwMDAwMDAwLAogICAgICAg
ICAgICAgICAgImhvdXNlX3ZhcmlhbnRzIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAg
ICAgICAgICAgICAgICAgICAgImhvdXNlX2xpbmUiOiAi0JTQntCcIDQ0IiwKICAgICAgICAgICAg
ICAgICAgICAgICAgInBvc3RfaW5kZXgiOiAxOTExMjMsCiAgICAgICAgICAgICAgICAgICAgICAg
ICJIT1VTRV9HVUlEIjogIjVhM2Q2NTE1LTAyY2UtNDNmZS04NjhmLTdhN2I3NDQ2OTI4NCIsCiAg
ICAgICAgICAgICAgICAgICAgICAgICJhcHBhcnRtZW50IjogItCa0JIgMTI4IiwKICAgICAgICAg
ICAgICAgICAgICAgICAgImFwcGFydG1lbnRfbWF0Y2hlZCI6IGZhbHNlCiAgICAgICAgICAgICAg
ICAgICAgfSwKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJo
b3VzZV9saW5lIjogItCU0J7QnCA0NCDQm9CY0KLQldCgINCQIiwKICAgICAgICAgICAgICAgICAg
ICAgICAgInBvc3RfaW5kZXgiOiAxOTExMjMsCiAgICAgICAgICAgICAgICAgICAgICAgICJIT1VT
RV9HVUlEIjogImRjZGM1OWQ4LTA3ZjctNDI0Ny04NzZiLWM5ZjEwYzljMGE2ZSIsCiAgICAgICAg
ICAgICAgICAgICAgICAgICJhcHBhcnRtZW50IjogItCa0JIgMTI4IiwKICAgICAgICAgICAgICAg
ICAgICAgICAgImFwcGFydG1lbnRfbWF0Y2hlZCI6IGZhbHNlCiAgICAgICAgICAgICAgICAgICAg
fSwKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJob3VzZV9s
aW5lIjogItCU0J7QnCA0NCDQm9CY0KLQldCgINCRIiwKICAgICAgICAgICAgICAgICAgICAgICAg
InBvc3RfaW5kZXgiOiAxOTExMjMsCiAgICAgICAgICAgICAgICAgICAgICAgICJIT1VTRV9HVUlE
IjogIjg1NzJiMzA3LTRmZmEtNDZjNS05ZmRhLTkwODFiYTliZDNiZSIsCiAgICAgICAgICAgICAg
ICAgICAgICAgICJhcHBhcnRtZW50IjogItCa0JIgMTI4IiwKICAgICAgICAgICAgICAgICAgICAg
ICAgImFwcGFydG1lbnRfbWF0Y2hlZCI6IGZhbHNlCiAgICAgICAgICAgICAgICAgICAgfQogICAg
ICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJhZGRyZXNzX3Bvc3RfaW5kZXgiOiAxOTEx
MjMsCiAgICAgICAgICAgICAgICAiaG91c2VfbWF0Y2giOiAibXVsdGlwbGUiLAogICAgICAgICAg
ICAgICAgImZsYXRfbWF0Y2giOiAidW5tYXRjaGVkIgogICAgICAgICAgICB9CiAgICAgICAgXQog
ICAgfQp9</fxs:Text>
      </fxs:GetSummaryResult>
    </fxs:GetSummaryResponse>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

e-mail: info@rco.ru
© 2022 www.rco.ru