Changelog

Changelog #

1.5.2 (2022-11-25) #

  • For Russia (RU) fixed clean address errors
Requirements for versions of dictionaries
-----
services_20220517ru_20221005kz_20221025ua_20211012by_20221025

1.5.1 (2022-11-03) #

  • For Kazakhstan (KZ) and Belarus (BY), fixed errors in determining the address by coordinates
  • For Russia (RU) fixed address hints errors when using scopes
Requirements for versions of dictionaries
--+-+
services_20220517ru_20221005kz_20221025ua_20211012by_20221025

1.5.0 (2022-10-10) #

  • For Russia (RU), dictionary has been updated - used GAR 2022-09-30
  • For Kazakhstan (KZ), coordinates of 99% of houses are fill
  • For Kazakhstan (KZ) the city of Nur-Sultan is renamed to Astana
  • Improved standardization of addresses in Russia written in English
  • Added a new API method to get the installed software version
Requirements for versions of dictionaries
-++--
services_20220517ru_20221005kz_20221005ua_20211012by_20220311

1.4.5 (2022-09-08) #

  • Added the scope parameter for method of address hints
  • Fixed bugs in standardization of addresses method
Requirements for versions of dictionaries
-----
services_20220517ru_20220721.dumpkz_20220610ua_20211012by_20220311

To update the database, you need to add indexes

sudo su postgres
psql db_apidq -c "create index ix_ru_addresses_region_name on ru.addresses(lower(region_name),address_level);"
psql db_apidq -c "create index ix_ru_addresses_area_name on ru.addresses(lower(area_name),address_level);"
psql db_apidq -c "create index ix_ru_addresses_city_name on ru.addresses(lower(city_name),address_level);"
psql db_apidq -c "create index ix_ru_addresses_cityarea_name on ru.addresses(lower(cityarea_name),address_level);"
psql db_apidq -c "create index ix_ru_addresses_settlement_name on ru.addresses(lower(settlement_name),address_level);"
psql db_apidq -c "create index ix_ru_addresses_planstructure_name on ru.addresses(lower(planstructure_name),address_level);"
psql db_apidq -c "create index ix_ru_addresses_street_name on ru.addresses(lower(street_name),address_level);"
exit

1.4.4 (2022-07-22) #

  • For Russia (RU), dictionary has been updated - used GAR 2022-07-05
  • Fixed bugs in standardization of addresses method
Requirements for versions of dictionaries
-+---
services_20220517ru_20220721.dumpkz_20220610ua_20211012by_20220311

1.4.3 (2022-07-07) #

  • Fixed bugs in standardization of addresses method
Requirements for versions of dictionaries
-----
services_20220517>=ru_20220517kz_20220610ua_20211012by_20220311

1.4.2 (2022-06-14) #

  • Fixed bug in address hints for Kazakhstan
  • Fixed application launch error if not all countries are connected
Requirements for versions of dictionaries
--+--
services_20220517ru_20220517kz_20220610ua_20211012by_20220311

1.4.1 (2022-06-06) #

  • Fixed bugs in the method of suggesting by coordinates
  • Fixed bugs in the method of address hints
Requirements for versions of dictionaries
-----
services_20220517ru_20220517kz_20210801ua_20211012by_20220311

1.4.0 (2022-05-17) #

  • For Russia (RU), dictionary has been updated - used GAR (2022-04-26)
  • For Belarus (BY), dictionary has been updated
  • Optimized address data standardization speed
  • Added a new method - getting an address by ID (FIAS, GAR, KLADR, GA)
  • Added a new method - getting an address by coordinates

The application will require you to specify a license key, you can request it at support@apidq.io

After getting the key, you need to specify it in address-config.toml - add the parameter Key = XXX for the license section

Example address-config.toml
[main]
ListenAddr = "0.0.0.0" #  ip address where the address service will be available 
ListenPort = "8083" #  port where the address service will be available 
Debug = false
[logger]
Facility = "service-address"
[postgresql]
Address = "0.0.0.0" #  ip postgresql server
Port = "5432" #  port postgresql server
Dbname = "apidq" #  apidq database
User = "apidq"
Password = "apidq"
[license]
Key = "1sy6hgXA699LPoatkt2jeu3VCtm1x1sy6hgXA699LPoahchbS9C9OshefuP_v-Ebtvg="

You need to install the postgis extension for PostgreSQL database before updating the directories.

sudo apt install postgis
sudo su postgres
psql db_apidq -c 'CREATE EXTENSION postgis;'
exit
Requirements for versions of dictionaries
++--+
services_20220517ru_20220517kz_20210801ua_20211012by_20220311

1.3.1 (2022-02-01) #

  • Improved parsing quality of the house part of the address
  • Minor fixes in the address hints method response format
Requirements for versions of dictionaries
+----
services_20220131ru_20220125kz_20210801ua_20211012by_20220121

1.3.0 (2022-01-25) #

  • For Russia (RU) added KLADR and GAR codes
  • GAR dictionary (2021-09-22) is used as default dictionary for Russia (RU)
  • In the response of address methods added field addressFull
  • For Belarus (BY), dictionary has been updated
  • Added support for standardization of addresses that are written in transliteration
Requirements for versions of dictionaries
++-++
services_20220125ru_20220125kz_20210801ua_20211012by_20220121

1.2.0 (2021-09-22) #

  • Russia dictionary (RU) updated as of August 31, 2021
  • Added address hints in Russian language for Ukraine (UA) addresses
  • The phone standardization method automatically removes unnecessary characters inside the phone number
  • Improved parsing of the house part if there is a - sign in the house number
  • Improved detection of OSM codes for Ukraine (UA)
  • Changed gateway-config.toml

Edit gateway-config.toml and add parameter Enabled = true for section addressService

Example gateway-config.toml
[main]
ListenAddr = "0.0.0.0" #  ip address where service will be available 
ListenPort = "8080" #  port where service will be available 
ReadTimeout = 60000
WriteTimeout = 60000
Debug = false
[logger]
Facility = "service-gateway"
[addressService]
Enabled = true
EndpointAddr = "address" #  ip address or host  service from address-config.toml
EndpointPort = "8083" #  port service from address-config.toml

1.1.9 (2021-09-14) #

  • Internal code refactoring

1.1.8 (2021-08-31) #

  • APIDQ-201: added default value for count parameter = 10 for address hints
  • APIDQ-205: analysis of special characters ("/”,"","-") when comparing building with the dictionaries