A
A
Alexey2016-11-04 18:11:11
PHP
Alexey, 2016-11-04 18:11:11

What is the best way to store and display city and street data in bitrix?

Good afternoon!
Please tell me how to store and then access the data of cities and streets in Bitrix most efficiently?
At the moment, it is implemented according to this principle:
An "address" info block has been created that contains sections with country names for the 1st level, for the 2nd level the names of cities and the 2nd level sections contain elements (street names).
The solution implemented in this way does not seem very good to me.
Also, in connection with this decision, when using the filter by cities, countries and streets, you have to perform an additional check if the specified value is a city or a country.
If someone had experience in implementing data acquisition of a similar type on high-load projects, it is very interesting what decision you made, thanks in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Filippenko, 2016-11-04
@alexfilus

Isn't it easier to use the Yandex API? Or do you have some additional bindings to addresses in your database? What are you using this infobox for?

O
Oleg Maksimenko, 2016-11-04
@olegprof

What kind of data do you store? Why are standard locations not suitable?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question