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

 
 страна:
 субъект:
 регион:
 город:
 район города:
 улица:
 дом:
 квартира:
 почтовый индекс:
 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": 41,
                "PART_MATCHES": "0,1",
                "FIAS_Parts": [
                    {
                        "FIAS_Name": "САНКТ-ПЕТЕРБУРГ",
                        "FIAS_Socr": "Г",
                        "FIAS_Level": 1,
                        "FIAS_Code": 7800000000000000000
                    },
                    {
                        "FIAS_Name": "МАРШАЛА ЖУКОВА",
                        "FIAS_Socr": "ПР-КТ",
                        "FIAS_Level": 7,
                        "FIAS_Code": 7800000000000000784
                    }
                ],
                "FIAS_GUID": "97efa59e-27dd-4957-ad7b-916a1397167f",
                "FIAS_Code": 7800000000000000784,
                "FIAS_Level": 7,
                "KLADR_Code": 780000000000784,
                "KLADR_Level": 6,
                "OKATO": 40000000000,
                "OKTMO": 40000000,
                "house_variants": [
                    {
                        "house_line": "ДОМ 44",
                        "post_index": 198262,
                        "HOUSE_GUID": "1d8d07cb-2359-4636-8a62-6b956d6add2e",
                        "appartment": "КВ 128",
                        "appartment_matched": false
                    },
                    {
                        "house_line": "ДОМ 44 ЛИТЕР А",
                        "post_index": 198262,
                        "HOUSE_GUID": "9e06c586-71c3-433b-b0d9-fbbba1de648e",
                        "appartment": "КВ 128",
                        "appartment_matched": false
                    }
                ],
                "address_post_index": 198262,
                "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": 41,
                "PART_MATCHES": "0,1",
                "FIAS_Parts": [
                    {
                        "FIAS_Name": "САНКТ-ПЕТЕРБУРГ",
                        "FIAS_Socr": "Г",
                        "FIAS_Level": 1,
                        "FIAS_Code": 7800000000000000000
                    },
                    {
                        "FIAS_Name": "МАРШАЛА ЖУКОВА",
                        "FIAS_Socr": "ПР-КТ",
                        "FIAS_Level": 7,
                        "FIAS_Code": 7800000000000000784
                    }
                ],
                "FIAS_GUID": "97efa59e-27dd-4957-ad7b-916a1397167f",
                "FIAS_Code": 7800000000000000784,
                "FIAS_Level": 7,
                "KLADR_Code": 780000000000784,
                "KLADR_Level": 6,
                "OKATO": 40000000000,
                "OKTMO": 40000000,
                "house_variants": [
                    {
                        "house_line": "ДОМ 44",
                        "post_index": 198262,
                        "HOUSE_GUID": "1d8d07cb-2359-4636-8a62-6b956d6add2e",
                        "appartment": "КВ 128",
                        "appartment_matched": false
                    },
                    {
                        "house_line": "ДОМ 44 ЛИТЕР А",
                        "post_index": 198262,
                        "HOUSE_GUID": "9e06c586-71c3-433b-b0d9-fbbba1de648e",
                        "appartment": "КВ 128",
                        "appartment_matched": false
                    }
                ],
                "address_post_index": 198262,
                "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
aF9hZGRyZXNzIjogZmFsc2UsDQogICJhZGRyZXNzX2xpbmUiOiAi0KHQv9CxLCAg0JzQsNGA0Ygu
INCW0YPQutC+0LLQsCwgNDQgMTI4Ig0KfQ==</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/0LEsICDQnNCw0YDRiC4g0JbRg9C60L7QstCwLCA0NCAxMjgiLAogICAgICAgICJydXNzaWFu
IjogdHJ1ZSwKICAgICAgICAiVVNTUiI6IHRydWUsCiAgICAgICAgIk9LU00iOiA2NDMsCiAgICAg
ICAgImZpZWxkcyI6IFsKICAgICAgICAgICAgewogICAgICAgICAgICAgICAgIm5hbWUiOiAi0KHQ
v9CxIiwKICAgICAgICAgICAgICAgICJ0eXBlIjogIkFkZHJlc3M6UGFydF9DaXR5IgogICAgICAg
ICAgICB9LAogICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAibmFtZSI6ICLQnNCw0YDRiCDQ
ltGD0LrQvtCy0LAiLAogICAgICAgICAgICAgICAgInR5cGUiOiAiQWRkcmVzczpQYXJ0X1N0cmVl
dCIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgewogICAgICAgICAgICAgICAgIm5hbWUiOiAi
NDQiLAogICAgICAgICAgICAgICAgInR5cGUiOiAiQWRkcmVzczpQYXJ0X0hvdXNlIgogICAgICAg
ICAgICB9LAogICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAibmFtZSI6ICIxMjgiLAogICAg
ICAgICAgICAgICAgInR5cGUiOiAiQWRkcmVzczpQYXJ0X0FwYXJ0bWVudCIKICAgICAgICAgICAg
fQogICAgICAgIF0sCiAgICAgICAgImZpZWxkc19ub3JtIjogWwogICAgICAgICAgICB7CiAgICAg
ICAgICAgICAgICAibmFtZSI6ICLQodCf0JEiLAogICAgICAgICAgICAgICAgInR5cGUiOiAiQWRk
cmVzczpQYXJ0X0NpdHkiCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHsKICAgICAgICAgICAg
ICAgICJuYW1lIjogItCc0JDQoNCoINCW0KPQmtCe0JLQkCIsCiAgICAgICAgICAgICAgICAidHlw
ZSI6ICJBZGRyZXNzOlBhcnRfU3RyZWV0IgogICAgICAgICAgICB9LAogICAgICAgICAgICB7CiAg
ICAgICAgICAgICAgICAibmFtZSI6ICI0NCIsCiAgICAgICAgICAgICAgICAidHlwZSI6ICJBZGRy
ZXNzOlBhcnRfSG91c2UiCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHsKICAgICAgICAgICAg
ICAgICJuYW1lIjogIjEyOCIsCiAgICAgICAgICAgICAgICAidHlwZSI6ICJBZGRyZXNzOlBhcnRf
QXBhcnRtZW50IgogICAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibm9ybV9wYXJ0c19s
aW5lIjogItCh0J/QkSwg0JzQkNCg0Kgg0JbQo9Ca0J7QktCQLCDQlNCe0JwgNDQsINCa0JIgMTI4
IiwKICAgICAgICAidmFyaWFudHMiOiBbCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICJu
b3JtX2xpbmUiOiAi0JMg0KHQkNCd0JrQoi3Qn9CV0KLQldCg0JHQo9Cg0JMsINCf0KAt0JrQoiDQ
nNCQ0KDQqNCQ0JvQkCDQltCj0JrQntCS0JAsINCU0J7QnCA0NCwg0JrQkiAxMjgiLAogICAgICAg
ICAgICAgICAgIm5vcm1fbGluZV9sZXZfZGlzdCI6IDQxLAogICAgICAgICAgICAgICAgIlBBUlRf
TUFUQ0hFUyI6ICIwLDEiLAogICAgICAgICAgICAgICAgIkZJQVNfUGFydHMiOiBbCiAgICAgICAg
ICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAiRklBU19OYW1lIjogItCh0JDQ
ndCa0KIt0J/QldCi0JXQoNCR0KPQoNCTIiwKICAgICAgICAgICAgICAgICAgICAgICAgIkZJQVNf
U29jciI6ICLQkyIsCiAgICAgICAgICAgICAgICAgICAgICAgICJGSUFTX0xldmVsIjogMSwKICAg
ICAgICAgICAgICAgICAgICAgICAgIkZJQVNfQ29kZSI6IDc4MDAwMDAwMDAwMDAwMDAwMDAKICAg
ICAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAg
ICAgICAgICAgIkZJQVNfTmFtZSI6ICLQnNCQ0KDQqNCQ0JvQkCDQltCj0JrQntCS0JAiLAogICAg
ICAgICAgICAgICAgICAgICAgICAiRklBU19Tb2NyIjogItCf0KAt0JrQoiIsCiAgICAgICAgICAg
ICAgICAgICAgICAgICJGSUFTX0xldmVsIjogNywKICAgICAgICAgICAgICAgICAgICAgICAgIkZJ
QVNfQ29kZSI6IDc4MDAwMDAwMDAwMDAwMDA3ODQKICAgICAgICAgICAgICAgICAgICB9CiAgICAg
ICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgIkZJQVNfR1VJRCI6ICI5N2VmYTU5ZS0yN2Rk
LTQ5NTctYWQ3Yi05MTZhMTM5NzE2N2YiLAogICAgICAgICAgICAgICAgIkZJQVNfQ29kZSI6IDc4
MDAwMDAwMDAwMDAwMDA3ODQsCiAgICAgICAgICAgICAgICAiRklBU19MZXZlbCI6IDcsCiAgICAg
ICAgICAgICAgICAiS0xBRFJfQ29kZSI6IDc4MDAwMDAwMDAwMDc4NCwKICAgICAgICAgICAgICAg
ICJLTEFEUl9MZXZlbCI6IDYsCiAgICAgICAgICAgICAgICAiT0tBVE8iOiA0MDAwMDAwMDAwMCwK
ICAgICAgICAgICAgICAgICJPS1RNTyI6IDQwMDAwMDAwLAogICAgICAgICAgICAgICAgImhvdXNl
X3ZhcmlhbnRzIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAg
ICAgImhvdXNlX2xpbmUiOiAi0JTQntCcIDQ0IiwKICAgICAgICAgICAgICAgICAgICAgICAgInBv
c3RfaW5kZXgiOiAxOTgyNjIsCiAgICAgICAgICAgICAgICAgICAgICAgICJIT1VTRV9HVUlEIjog
IjFkOGQwN2NiLTIzNTktNDYzNi04YTYyLTZiOTU2ZDZhZGQyZSIsCiAgICAgICAgICAgICAgICAg
ICAgICAgICJhcHBhcnRtZW50IjogItCa0JIgMTI4IiwKICAgICAgICAgICAgICAgICAgICAgICAg
ImFwcGFydG1lbnRfbWF0Y2hlZCI6IGZhbHNlCiAgICAgICAgICAgICAgICAgICAgfSwKICAgICAg
ICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJob3VzZV9saW5lIjogItCU
0J7QnCA0NCDQm9CY0KLQldCgINCQIiwKICAgICAgICAgICAgICAgICAgICAgICAgInBvc3RfaW5k
ZXgiOiAxOTgyNjIsCiAgICAgICAgICAgICAgICAgICAgICAgICJIT1VTRV9HVUlEIjogIjllMDZj
NTg2LTcxYzMtNDMzYi1iMGQ5LWZiYmJhMWRlNjQ4ZSIsCiAgICAgICAgICAgICAgICAgICAgICAg
ICJhcHBhcnRtZW50IjogItCa0JIgMTI4IiwKICAgICAgICAgICAgICAgICAgICAgICAgImFwcGFy
dG1lbnRfbWF0Y2hlZCI6IGZhbHNlCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAg
ICAgXSwKICAgICAgICAgICAgICAgICJhZGRyZXNzX3Bvc3RfaW5kZXgiOiAxOTgyNjIsCiAgICAg
ICAgICAgICAgICAiaG91c2VfbWF0Y2giOiAibXVsdGlwbGUiLAogICAgICAgICAgICAgICAgImZs
YXRfbWF0Y2giOiAidW5tYXRjaGVkIgogICAgICAgICAgICB9CiAgICAgICAgXQogICAgfQp9</fxs:Text>
      </fxs:GetSummaryResult>
    </fxs:GetSummaryResponse>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

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