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

 
 страна:
 субъект:
 регион:
 город:
 район города:
 улица:
 дом:
 квартира:
 почтовый индекс:
 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": "балашиа, некраова 4 59",
        "russian": true,
        "USSR": true,
        "OKSM": 643,
        "fields": [
            {
                "name": "балашиа",
                "type": "Address:Unknown"
            },
            {
                "name": "некраова",
                "type": "Address:Unknown"
            },
            {
                "name": "4",
                "type": "Address:Part_House"
            },
            {
                "name": "59",
                "type": "Address:Part_Apartment"
            }
        ],
        "fields_norm": [
            {
                "name": "4",
                "type": "Address:Part_House"
            },
            {
                "name": "59",
                "type": "Address:Part_Apartment"
            },
            {
                "name": "БАЛАШИА",
                "type": "Address:Unknown"
            },
            {
                "name": "НЕКРАОВА",
                "type": "Address:Unknown"
            }
        ],
        "norm_parts_line": "БАЛАШИА, НЕКРАОВА, ДОМ 4, КВ 59",
        "variants": [
            {
                "norm_line": "ОБЛ МОСКОВСКАЯ, Г БАЛАШИХА, УЛ НЕКРАСОВА, ДОМ 4, КВ 59",
                "norm_line_lev_dist": 42,
                "PART_MATCHES": "_,2*,3*",
                "FIAS_Parts": [
                    {
                        "FIAS_Name": "МОСКОВСКАЯ",
                        "FIAS_Socr": "ОБЛ",
                        "FIAS_Level": 1,
                        "FIAS_Code": 5000000000000000000
                    },
                    {
                        "FIAS_Name": "БАЛАШИХА",
                        "FIAS_Socr": "Г",
                        "FIAS_Level": 4,
                        "FIAS_Code": 5000003600000000000
                    },
                    {
                        "FIAS_Name": "НЕКРАСОВА",
                        "FIAS_Socr": "УЛ",
                        "FIAS_Level": 7,
                        "FIAS_Code": 5000003600000000004
                    }
                ],
                "FIAS_GUID": "925e4f85-36af-497b-8868-8172c30a37e5",
                "FIAS_Code": 5000003600000000004,
                "FIAS_Level": 7,
                "KLADR_Code": 500000360000004,
                "KLADR_Level": 6,
                "OKATO": 46404000000,
                "OKTMO": 46704000001,
                "house_variants": [
                    {
                        "house_line": "ДОМ 4",
                        "post_index": 143900,
                        "HOUSE_GUID": "f1fff92f-54b9-4ec2-8567-d9e68a5da6d2",
                        "appartment": "КВ 59",
                        "appartment_matched": true
                    }
                ],
                "address_post_index": 143900,
                "house_match": "exact",
                "flat_match": "exact"
            }
        ]
    }
}
{
  "address_id": "1",
  "try_fuzzy": true,
  "is_birth_address": false,
  "address_line": "балашиа, некраова 4 59"
}
{
    "1": {
        "address_id": "1",
        "guid": "00000000-0000-0000-0000-000000000000",
        "fias_code": 0,
        "kladr_code": 0,
        "address_line": "балашиа, некраова 4 59",
        "russian": true,
        "USSR": true,
        "OKSM": 643,
        "fields": [
            {
                "name": "балашиа",
                "type": "Address:Unknown"
            },
            {
                "name": "некраова",
                "type": "Address:Unknown"
            },
            {
                "name": "4",
                "type": "Address:Part_House"
            },
            {
                "name": "59",
                "type": "Address:Part_Apartment"
            }
        ],
        "fields_norm": [
            {
                "name": "4",
                "type": "Address:Part_House"
            },
            {
                "name": "59",
                "type": "Address:Part_Apartment"
            },
            {
                "name": "БАЛАШИА",
                "type": "Address:Unknown"
            },
            {
                "name": "НЕКРАОВА",
                "type": "Address:Unknown"
            }
        ],
        "norm_parts_line": "БАЛАШИА, НЕКРАОВА, ДОМ 4, КВ 59",
        "variants": [
            {
                "norm_line": "ОБЛ МОСКОВСКАЯ, Г БАЛАШИХА, УЛ НЕКРАСОВА, ДОМ 4, КВ 59",
                "norm_line_lev_dist": 42,
                "PART_MATCHES": "_,2*,3*",
                "FIAS_Parts": [
                    {
                        "FIAS_Name": "МОСКОВСКАЯ",
                        "FIAS_Socr": "ОБЛ",
                        "FIAS_Level": 1,
                        "FIAS_Code": 5000000000000000000
                    },
                    {
                        "FIAS_Name": "БАЛАШИХА",
                        "FIAS_Socr": "Г",
                        "FIAS_Level": 4,
                        "FIAS_Code": 5000003600000000000
                    },
                    {
                        "FIAS_Name": "НЕКРАСОВА",
                        "FIAS_Socr": "УЛ",
                        "FIAS_Level": 7,
                        "FIAS_Code": 5000003600000000004
                    }
                ],
                "FIAS_GUID": "925e4f85-36af-497b-8868-8172c30a37e5",
                "FIAS_Code": 5000003600000000004,
                "FIAS_Level": 7,
                "KLADR_Code": 500000360000004,
                "KLADR_Level": 6,
                "OKATO": 46404000000,
                "OKTMO": 46704000001,
                "house_variants": [
                    {
                        "house_line": "ДОМ 4",
                        "post_index": 143900,
                        "HOUSE_GUID": "f1fff92f-54b9-4ec2-8567-d9e68a5da6d2",
                        "appartment": "КВ 59",
                        "appartment_matched": true
                    }
                ],
                "address_post_index": 143900,
                "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
aF9hZGRyZXNzIjogZmFsc2UsDQogICJhZGRyZXNzX2xpbmUiOiAi0LHQsNC70LDRiNC40LAsINC9
0LXQutGA0LDQvtCy0LAgNCA1OSINCn0=</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
sdCw0LvQsNGI0LjQsCwg0L3QtdC60YDQsNC+0LLQsCA0IDU5IiwKICAgICAgICAicnVzc2lhbiI6
IHRydWUsCiAgICAgICAgIlVTU1IiOiB0cnVlLAogICAgICAgICJPS1NNIjogNjQzLAogICAgICAg
ICJmaWVsZHMiOiBbCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICJuYW1lIjogItCx0LDQ
u9Cw0YjQuNCwIiwKICAgICAgICAgICAgICAgICJ0eXBlIjogIkFkZHJlc3M6VW5rbm93biIKICAg
ICAgICAgICAgfSwKICAgICAgICAgICAgewogICAgICAgICAgICAgICAgIm5hbWUiOiAi0L3QtdC6
0YDQsNC+0LLQsCIsCiAgICAgICAgICAgICAgICAidHlwZSI6ICJBZGRyZXNzOlVua25vd24iCiAg
ICAgICAgICAgIH0sCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICJuYW1lIjogIjQiLAog
ICAgICAgICAgICAgICAgInR5cGUiOiAiQWRkcmVzczpQYXJ0X0hvdXNlIgogICAgICAgICAgICB9
LAogICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAibmFtZSI6ICI1OSIsCiAgICAgICAgICAg
ICAgICAidHlwZSI6ICJBZGRyZXNzOlBhcnRfQXBhcnRtZW50IgogICAgICAgICAgICB9CiAgICAg
ICAgXSwKICAgICAgICAiZmllbGRzX25vcm0iOiBbCiAgICAgICAgICAgIHsKICAgICAgICAgICAg
ICAgICJuYW1lIjogIjQiLAogICAgICAgICAgICAgICAgInR5cGUiOiAiQWRkcmVzczpQYXJ0X0hv
dXNlIgogICAgICAgICAgICB9LAogICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAibmFtZSI6
ICI1OSIsCiAgICAgICAgICAgICAgICAidHlwZSI6ICJBZGRyZXNzOlBhcnRfQXBhcnRtZW50Igog
ICAgICAgICAgICB9LAogICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAibmFtZSI6ICLQkdCQ
0JvQkNCo0JjQkCIsCiAgICAgICAgICAgICAgICAidHlwZSI6ICJBZGRyZXNzOlVua25vd24iCiAg
ICAgICAgICAgIH0sCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICJuYW1lIjogItCd0JXQ
mtCg0JDQntCS0JAiLAogICAgICAgICAgICAgICAgInR5cGUiOiAiQWRkcmVzczpVbmtub3duIgog
ICAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibm9ybV9wYXJ0c19saW5lIjogItCR0JDQ
m9CQ0KjQmNCQLCDQndCV0JrQoNCQ0J7QktCQLCDQlNCe0JwgNCwg0JrQkiA1OSIsCiAgICAgICAg
InZhcmlhbnRzIjogWwogICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAibm9ybV9saW5lIjog
ItCe0JHQmyDQnNCe0KHQmtCe0JLQodCa0JDQrywg0JMg0JHQkNCb0JDQqNCY0KXQkCwg0KPQmyDQ
ndCV0JrQoNCQ0KHQntCS0JAsINCU0J7QnCA0LCDQmtCSIDU5IiwKICAgICAgICAgICAgICAgICJu
b3JtX2xpbmVfbGV2X2Rpc3QiOiA0MiwKICAgICAgICAgICAgICAgICJQQVJUX01BVENIRVMiOiAi
XywyKiwzKiIsCiAgICAgICAgICAgICAgICAiRklBU19QYXJ0cyI6IFsKICAgICAgICAgICAgICAg
ICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJGSUFTX05hbWUiOiAi0JzQntCh0JrQntCS
0KHQmtCQ0K8iLAogICAgICAgICAgICAgICAgICAgICAgICAiRklBU19Tb2NyIjogItCe0JHQmyIs
CiAgICAgICAgICAgICAgICAgICAgICAgICJGSUFTX0xldmVsIjogMSwKICAgICAgICAgICAgICAg
ICAgICAgICAgIkZJQVNfQ29kZSI6IDUwMDAwMDAwMDAwMDAwMDAwMDAKICAgICAgICAgICAgICAg
ICAgICB9LAogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgIkZJ
QVNfTmFtZSI6ICLQkdCQ0JvQkNCo0JjQpdCQIiwKICAgICAgICAgICAgICAgICAgICAgICAgIkZJ
QVNfU29jciI6ICLQkyIsCiAgICAgICAgICAgICAgICAgICAgICAgICJGSUFTX0xldmVsIjogNCwK
ICAgICAgICAgICAgICAgICAgICAgICAgIkZJQVNfQ29kZSI6IDUwMDAwMDM2MDAwMDAwMDAwMDAK
ICAgICAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAg
ICAgICAgICAgICAgIkZJQVNfTmFtZSI6ICLQndCV0JrQoNCQ0KHQntCS0JAiLAogICAgICAgICAg
ICAgICAgICAgICAgICAiRklBU19Tb2NyIjogItCj0JsiLAogICAgICAgICAgICAgICAgICAgICAg
ICAiRklBU19MZXZlbCI6IDcsCiAgICAgICAgICAgICAgICAgICAgICAgICJGSUFTX0NvZGUiOiA1
MDAwMDAzNjAwMDAwMDAwMDA0CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAg
XSwKICAgICAgICAgICAgICAgICJGSUFTX0dVSUQiOiAiOTI1ZTRmODUtMzZhZi00OTdiLTg4Njgt
ODE3MmMzMGEzN2U1IiwKICAgICAgICAgICAgICAgICJGSUFTX0NvZGUiOiA1MDAwMDAzNjAwMDAw
MDAwMDA0LAogICAgICAgICAgICAgICAgIkZJQVNfTGV2ZWwiOiA3LAogICAgICAgICAgICAgICAg
IktMQURSX0NvZGUiOiA1MDAwMDAzNjAwMDAwMDQsCiAgICAgICAgICAgICAgICAiS0xBRFJfTGV2
ZWwiOiA2LAogICAgICAgICAgICAgICAgIk9LQVRPIjogNDY0MDQwMDAwMDAsCiAgICAgICAgICAg
ICAgICAiT0tUTU8iOiA0NjcwNDAwMDAwMSwKICAgICAgICAgICAgICAgICJob3VzZV92YXJpYW50
cyI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJob3Vz
ZV9saW5lIjogItCU0J7QnCA0IiwKICAgICAgICAgICAgICAgICAgICAgICAgInBvc3RfaW5kZXgi
OiAxNDM5MDAsCiAgICAgICAgICAgICAgICAgICAgICAgICJIT1VTRV9HVUlEIjogImYxZmZmOTJm
LTU0YjktNGVjMi04NTY3LWQ5ZTY4YTVkYTZkMiIsCiAgICAgICAgICAgICAgICAgICAgICAgICJh
cHBhcnRtZW50IjogItCa0JIgNTkiLAogICAgICAgICAgICAgICAgICAgICAgICAiYXBwYXJ0bWVu
dF9tYXRjaGVkIjogdHJ1ZQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0s
CiAgICAgICAgICAgICAgICAiYWRkcmVzc19wb3N0X2luZGV4IjogMTQzOTAwLAogICAgICAgICAg
ICAgICAgImhvdXNlX21hdGNoIjogImV4YWN0IiwKICAgICAgICAgICAgICAgICJmbGF0X21hdGNo
IjogImV4YWN0IgogICAgICAgICAgICB9CiAgICAgICAgXQogICAgfQp9</fxs:Text>
      </fxs:GetSummaryResult>
    </fxs:GetSummaryResponse>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

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