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

 
 страна:
 субъект:
 регион:
 город:
 район города:
 улица:
 дом:
 квартира:
 почтовый индекс:
 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": "Московская обл., г. Ногинск-9, ул. Юбилейная, д.4, кв. 34",
        "russian": true,
        "USSR": true,
        "OKSM": 643,
        "fields": [
            {
                "name": "МОСКОВСКАЯ",
                "key": "обл",
                "type": "Address:Part_Subject"
            },
            {
                "name": "Ногинск-9",
                "key": "г",
                "type": "Address:Part_City"
            },
            {
                "name": "Юбилейная",
                "key": "ул",
                "type": "Address:Part_Street"
            },
            {
                "name": "4",
                "key": "д",
                "type": "Address:Part_House"
            },
            {
                "name": "34",
                "key": "кв",
                "type": "Address:Part_Apartment"
            }
        ],
        "fields_norm": [
            {
                "name": "МОСКОВСКАЯ",
                "key": "ОБЛ",
                "type": "Address:Part_Subject"
            },
            {
                "name": "НОГИНСК-9",
                "key": "Г",
                "type": "Address:Part_City"
            },
            {
                "name": "ЮБИЛЕЙНАЯ",
                "key": "УЛ",
                "type": "Address:Part_Street"
            },
            {
                "name": "4",
                "key": "Д",
                "type": "Address:Part_House"
            },
            {
                "name": "34",
                "key": "КВ",
                "type": "Address:Part_Apartment"
            }
        ],
        "norm_parts_line": "ОБЛ МОСКОВСКАЯ, Г НОГИНСК-9, УЛ ЮБИЛЕЙНАЯ, ДОМ 4, КВ 34",
        "variants": [
            {
                "norm_line": "ОБЛ МОСКОВСКАЯ, Г НОГИНСК, ПГТ НОГИНСК-9, УЛ ЮБИЛЕЙНАЯ, ДОМ 4, КВ 34",
                "norm_line_lev_dist": 19,
                "PART_MATCHES": "0,_,1,2",
                "FIAS_Parts": [
                    {
                        "FIAS_Name": "МОСКОВСКАЯ",
                        "FIAS_Socr": "ОБЛ",
                        "FIAS_Level": 1,
                        "FIAS_Code": 5000000000000000000
                    },
                    {
                        "FIAS_Name": "НОГИНСК",
                        "FIAS_Socr": "Г",
                        "FIAS_Level": 3,
                        "FIAS_Code": 5004300000000000000
                    },
                    {
                        "FIAS_Name": "НОГИНСК-9",
                        "FIAS_Socr": "ПГТ",
                        "FIAS_Level": 6,
                        "FIAS_Code": 5004300024000000000
                    },
                    {
                        "FIAS_Name": "ЮБИЛЕЙНАЯ",
                        "FIAS_Socr": "УЛ",
                        "FIAS_Level": 7,
                        "FIAS_Code": 5004300024000000019
                    }
                ],
                "FIAS_GUID": "f4e2161e-718c-468f-8448-5fbcfc99fe3f",
                "FIAS_Code": 5004300024000000019,
                "FIAS_Level": 7,
                "KLADR_Code": 500430002400019,
                "KLADR_Level": 6,
                "OKATO": 46451000000,
                "OKTMO": 46639101,
                "house_variants": [
                    {
                        "house_line": "ДОМ 4",
                        "post_index": 142409,
                        "HOUSE_GUID": "0efe2ff1-cb1f-4a3e-8566-8a3d2381ce37",
                        "appartment": "КВ 34",
                        "appartment_matched": true
                    }
                ],
                "address_post_index": 142409,
                "house_match": "exact",
                "flat_match": "exact"
            }
        ]
    }
}
{
  "address_id": "1",
  "try_fuzzy": true,
  "is_birth_address": false,
  "address_line": "Московская обл., г. Ногинск-9, ул. Юбилейная, д.4, кв. 34"
}
{
    "1": {
        "address_id": "1",
        "guid": "00000000-0000-0000-0000-000000000000",
        "fias_code": 0,
        "kladr_code": 0,
        "address_line": "Московская обл., г. Ногинск-9, ул. Юбилейная, д.4, кв. 34",
        "russian": true,
        "USSR": true,
        "OKSM": 643,
        "fields": [
            {
                "name": "МОСКОВСКАЯ",
                "key": "обл",
                "type": "Address:Part_Subject"
            },
            {
                "name": "Ногинск-9",
                "key": "г",
                "type": "Address:Part_City"
            },
            {
                "name": "Юбилейная",
                "key": "ул",
                "type": "Address:Part_Street"
            },
            {
                "name": "4",
                "key": "д",
                "type": "Address:Part_House"
            },
            {
                "name": "34",
                "key": "кв",
                "type": "Address:Part_Apartment"
            }
        ],
        "fields_norm": [
            {
                "name": "МОСКОВСКАЯ",
                "key": "ОБЛ",
                "type": "Address:Part_Subject"
            },
            {
                "name": "НОГИНСК-9",
                "key": "Г",
                "type": "Address:Part_City"
            },
            {
                "name": "ЮБИЛЕЙНАЯ",
                "key": "УЛ",
                "type": "Address:Part_Street"
            },
            {
                "name": "4",
                "key": "Д",
                "type": "Address:Part_House"
            },
            {
                "name": "34",
                "key": "КВ",
                "type": "Address:Part_Apartment"
            }
        ],
        "norm_parts_line": "ОБЛ МОСКОВСКАЯ, Г НОГИНСК-9, УЛ ЮБИЛЕЙНАЯ, ДОМ 4, КВ 34",
        "variants": [
            {
                "norm_line": "ОБЛ МОСКОВСКАЯ, Г НОГИНСК, ПГТ НОГИНСК-9, УЛ ЮБИЛЕЙНАЯ, ДОМ 4, КВ 34",
                "norm_line_lev_dist": 19,
                "PART_MATCHES": "0,_,1,2",
                "FIAS_Parts": [
                    {
                        "FIAS_Name": "МОСКОВСКАЯ",
                        "FIAS_Socr": "ОБЛ",
                        "FIAS_Level": 1,
                        "FIAS_Code": 5000000000000000000
                    },
                    {
                        "FIAS_Name": "НОГИНСК",
                        "FIAS_Socr": "Г",
                        "FIAS_Level": 3,
                        "FIAS_Code": 5004300000000000000
                    },
                    {
                        "FIAS_Name": "НОГИНСК-9",
                        "FIAS_Socr": "ПГТ",
                        "FIAS_Level": 6,
                        "FIAS_Code": 5004300024000000000
                    },
                    {
                        "FIAS_Name": "ЮБИЛЕЙНАЯ",
                        "FIAS_Socr": "УЛ",
                        "FIAS_Level": 7,
                        "FIAS_Code": 5004300024000000019
                    }
                ],
                "FIAS_GUID": "f4e2161e-718c-468f-8448-5fbcfc99fe3f",
                "FIAS_Code": 5004300024000000019,
                "FIAS_Level": 7,
                "KLADR_Code": 500430002400019,
                "KLADR_Level": 6,
                "OKATO": 46451000000,
                "OKTMO": 46639101,
                "house_variants": [
                    {
                        "house_line": "ДОМ 4",
                        "post_index": 142409,
                        "HOUSE_GUID": "0efe2ff1-cb1f-4a3e-8566-8a3d2381ce37",
                        "appartment": "КВ 34",
                        "appartment_matched": true
                    }
                ],
                "address_post_index": 142409,
                "house_match": "exact",
                "flat_match": "exact"
            }
        ]
    }
}
<?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
aF9hZGRyZXNzIjogZmFsc2UsDQogICJhZGRyZXNzX2xpbmUiOiAi0JzQvtGB0LrQvtCy0YHQutCw
0Y8g0L7QsdC7Liwg0LMuINCd0L7Qs9C40L3RgdC6LTksINGD0LsuINCu0LHQuNC70LXQudC90LDR
jywg0LQuNCwg0LrQsi4gMzQiDQp9</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
nNC+0YHQutC+0LLRgdC60LDRjyDQvtCx0LsuLCDQsy4g0J3QvtCz0LjQvdGB0LotOSwg0YPQuy4g
0K7QsdC40LvQtdC50L3QsNGPLCDQtC40LCDQutCyLiAzNCIsCiAgICAgICAgInJ1c3NpYW4iOiB0
cnVlLAogICAgICAgICJVU1NSIjogdHJ1ZSwKICAgICAgICAiT0tTTSI6IDY0MywKICAgICAgICAi
ZmllbGRzIjogWwogICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAibmFtZSI6ICLQnNCe0KHQ
mtCe0JLQodCa0JDQryIsCiAgICAgICAgICAgICAgICAia2V5IjogItC+0LHQuyIsCiAgICAgICAg
ICAgICAgICAidHlwZSI6ICJBZGRyZXNzOlBhcnRfU3ViamVjdCIKICAgICAgICAgICAgfSwKICAg
ICAgICAgICAgewogICAgICAgICAgICAgICAgIm5hbWUiOiAi0J3QvtCz0LjQvdGB0LotOSIsCiAg
ICAgICAgICAgICAgICAia2V5IjogItCzIiwKICAgICAgICAgICAgICAgICJ0eXBlIjogIkFkZHJl
c3M6UGFydF9DaXR5IgogICAgICAgICAgICB9LAogICAgICAgICAgICB7CiAgICAgICAgICAgICAg
ICAibmFtZSI6ICLQrtCx0LjQu9C10LnQvdCw0Y8iLAogICAgICAgICAgICAgICAgImtleSI6ICLR
g9C7IiwKICAgICAgICAgICAgICAgICJ0eXBlIjogIkFkZHJlc3M6UGFydF9TdHJlZXQiCiAgICAg
ICAgICAgIH0sCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICJuYW1lIjogIjQiLAogICAg
ICAgICAgICAgICAgImtleSI6ICLQtCIsCiAgICAgICAgICAgICAgICAidHlwZSI6ICJBZGRyZXNz
OlBhcnRfSG91c2UiCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAg
ICJuYW1lIjogIjM0IiwKICAgICAgICAgICAgICAgICJrZXkiOiAi0LrQsiIsCiAgICAgICAgICAg
ICAgICAidHlwZSI6ICJBZGRyZXNzOlBhcnRfQXBhcnRtZW50IgogICAgICAgICAgICB9CiAgICAg
ICAgXSwKICAgICAgICAiZmllbGRzX25vcm0iOiBbCiAgICAgICAgICAgIHsKICAgICAgICAgICAg
ICAgICJuYW1lIjogItCc0J7QodCa0J7QktCh0JrQkNCvIiwKICAgICAgICAgICAgICAgICJrZXki
OiAi0J7QkdCbIiwKICAgICAgICAgICAgICAgICJ0eXBlIjogIkFkZHJlc3M6UGFydF9TdWJqZWN0
IgogICAgICAgICAgICB9LAogICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAibmFtZSI6ICLQ
ndCe0JPQmNCd0KHQmi05IiwKICAgICAgICAgICAgICAgICJrZXkiOiAi0JMiLAogICAgICAgICAg
ICAgICAgInR5cGUiOiAiQWRkcmVzczpQYXJ0X0NpdHkiCiAgICAgICAgICAgIH0sCiAgICAgICAg
ICAgIHsKICAgICAgICAgICAgICAgICJuYW1lIjogItCu0JHQmNCb0JXQmdCd0JDQryIsCiAgICAg
ICAgICAgICAgICAia2V5IjogItCj0JsiLAogICAgICAgICAgICAgICAgInR5cGUiOiAiQWRkcmVz
czpQYXJ0X1N0cmVldCIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgewogICAgICAgICAgICAg
ICAgIm5hbWUiOiAiNCIsCiAgICAgICAgICAgICAgICAia2V5IjogItCUIiwKICAgICAgICAgICAg
ICAgICJ0eXBlIjogIkFkZHJlc3M6UGFydF9Ib3VzZSIKICAgICAgICAgICAgfSwKICAgICAgICAg
ICAgewogICAgICAgICAgICAgICAgIm5hbWUiOiAiMzQiLAogICAgICAgICAgICAgICAgImtleSI6
ICLQmtCSIiwKICAgICAgICAgICAgICAgICJ0eXBlIjogIkFkZHJlc3M6UGFydF9BcGFydG1lbnQi
CiAgICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJub3JtX3BhcnRzX2xpbmUiOiAi0J7Q
kdCbINCc0J7QodCa0J7QktCh0JrQkNCvLCDQkyDQndCe0JPQmNCd0KHQmi05LCDQo9CbINCu0JHQ
mNCb0JXQmdCd0JDQrywg0JTQntCcIDQsINCa0JIgMzQiLAogICAgICAgICJ2YXJpYW50cyI6IFsK
ICAgICAgICAgICAgewogICAgICAgICAgICAgICAgIm5vcm1fbGluZSI6ICLQntCR0Jsg0JzQntCh
0JrQntCS0KHQmtCQ0K8sINCTINCd0J7Qk9CY0J3QodCaLCDQn9CT0KIg0J3QntCT0JjQndCh0Jot
OSwg0KPQmyDQrtCR0JjQm9CV0JnQndCQ0K8sINCU0J7QnCA0LCDQmtCSIDM0IiwKICAgICAgICAg
ICAgICAgICJub3JtX2xpbmVfbGV2X2Rpc3QiOiAxOSwKICAgICAgICAgICAgICAgICJQQVJUX01B
VENIRVMiOiAiMCxfLDEsMiIsCiAgICAgICAgICAgICAgICAiRklBU19QYXJ0cyI6IFsKICAgICAg
ICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJGSUFTX05hbWUiOiAi0JzQ
ntCh0JrQntCS0KHQmtCQ0K8iLAogICAgICAgICAgICAgICAgICAgICAgICAiRklBU19Tb2NyIjog
ItCe0JHQmyIsCiAgICAgICAgICAgICAgICAgICAgICAgICJGSUFTX0xldmVsIjogMSwKICAgICAg
ICAgICAgICAgICAgICAgICAgIkZJQVNfQ29kZSI6IDUwMDAwMDAwMDAwMDAwMDAwMDAKICAgICAg
ICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAg
ICAgICAgIkZJQVNfTmFtZSI6ICLQndCe0JPQmNCd0KHQmiIsCiAgICAgICAgICAgICAgICAgICAg
ICAgICJGSUFTX1NvY3IiOiAi0JMiLAogICAgICAgICAgICAgICAgICAgICAgICAiRklBU19MZXZl
bCI6IDMsCiAgICAgICAgICAgICAgICAgICAgICAgICJGSUFTX0NvZGUiOiA1MDA0MzAwMDAwMDAw
MDAwMDAwCiAgICAgICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgICAgICB7CiAgICAg
ICAgICAgICAgICAgICAgICAgICJGSUFTX05hbWUiOiAi0J3QntCT0JjQndCh0JotOSIsCiAgICAg
ICAgICAgICAgICAgICAgICAgICJGSUFTX1NvY3IiOiAi0J/Qk9CiIiwKICAgICAgICAgICAgICAg
ICAgICAgICAgIkZJQVNfTGV2ZWwiOiA2LAogICAgICAgICAgICAgICAgICAgICAgICAiRklBU19D
b2RlIjogNTAwNDMwMDAyNDAwMDAwMDAwMAogICAgICAgICAgICAgICAgICAgIH0sCiAgICAgICAg
ICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAiRklBU19OYW1lIjogItCu0JHQ
mNCb0JXQmdCd0JDQryIsCiAgICAgICAgICAgICAgICAgICAgICAgICJGSUFTX1NvY3IiOiAi0KPQ
myIsCiAgICAgICAgICAgICAgICAgICAgICAgICJGSUFTX0xldmVsIjogNywKICAgICAgICAgICAg
ICAgICAgICAgICAgIkZJQVNfQ29kZSI6IDUwMDQzMDAwMjQwMDAwMDAwMTkKICAgICAgICAgICAg
ICAgICAgICB9CiAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgIkZJQVNfR1VJRCI6
ICJmNGUyMTYxZS03MThjLTQ2OGYtODQ0OC01ZmJjZmM5OWZlM2YiLAogICAgICAgICAgICAgICAg
IkZJQVNfQ29kZSI6IDUwMDQzMDAwMjQwMDAwMDAwMTksCiAgICAgICAgICAgICAgICAiRklBU19M
ZXZlbCI6IDcsCiAgICAgICAgICAgICAgICAiS0xBRFJfQ29kZSI6IDUwMDQzMDAwMjQwMDAxOSwK
ICAgICAgICAgICAgICAgICJLTEFEUl9MZXZlbCI6IDYsCiAgICAgICAgICAgICAgICAiT0tBVE8i
OiA0NjQ1MTAwMDAwMCwKICAgICAgICAgICAgICAgICJPS1RNTyI6IDQ2NjM5MTAxLAogICAgICAg
ICAgICAgICAgImhvdXNlX3ZhcmlhbnRzIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAg
ICAgICAgICAgICAgICAgICAgImhvdXNlX2xpbmUiOiAi0JTQntCcIDQiLAogICAgICAgICAgICAg
ICAgICAgICAgICAicG9zdF9pbmRleCI6IDE0MjQwOSwKICAgICAgICAgICAgICAgICAgICAgICAg
IkhPVVNFX0dVSUQiOiAiMGVmZTJmZjEtY2IxZi00YTNlLTg1NjYtOGEzZDIzODFjZTM3IiwKICAg
ICAgICAgICAgICAgICAgICAgICAgImFwcGFydG1lbnQiOiAi0JrQkiAzNCIsCiAgICAgICAgICAg
ICAgICAgICAgICAgICJhcHBhcnRtZW50X21hdGNoZWQiOiB0cnVlCiAgICAgICAgICAgICAgICAg
ICAgfQogICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJhZGRyZXNzX3Bvc3RfaW5k
ZXgiOiAxNDI0MDksCiAgICAgICAgICAgICAgICAiaG91c2VfbWF0Y2giOiAiZXhhY3QiLAogICAg
ICAgICAgICAgICAgImZsYXRfbWF0Y2giOiAiZXhhY3QiCiAgICAgICAgICAgIH0KICAgICAgICBd
CiAgICB9Cn0=</fxs:Text>
      </fxs:GetSummaryResult>
    </fxs:GetSummaryResponse>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

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