Geocoding in web development: analysis of methods and practical implementation based on Nominatim

Keywords: geocoding, Nominatim, OpenStreetMap, open-source, API, forward geocoding, reverse geocoding

Abstract

The article examines methods of implementing geocoding in web development, analyses commercial APIs, and provides practical implementation based on the open-source service Nominatim. The relevance of the work is due to the need to choose the optimal geocoding solution, since commercial services create significant financial barriers for projects with limited budgets, while open alternatives have their own technical features. It has been established that the main problem for developers is the choice between reliable commercial products with a pay-as-you-go model and complex licensing terms, and free tools that depend on the quality of community data and require resources for deployment. The aim of the study is to determine the effectiveness of Nominatim as a viable alternative to commercial APIs. The scientific and technical task is to justify and verify the architectural approach to organising geocoding based on free software to circumvent the limitations of paid and public services. The article uses methods of comparative analysis of pricing models and data storage policies. The practical implementation of forward and reverse geocoding is demonstrated using code examples with queries to both a public API and a locally deployed Nominatim server. The results showed that Nominatim provides complete control over data and zero cost, which is an advantage over commercial solutions. It was concluded that the choice of service depends on priorities: commercial APIs are suitable for tasks with high accuracy requirements, while Nominatim is optimal for socially oriented projects with limited budgets.

References

1. Best 10 Geocoding APIs with Global Coverage and Fast Response - BNO News. URL
2. Pérez V., Aybar C. Challenges in Geocoding: An Analysis of R Packages and Web Scraping Approaches. ISPRS International Journal of Geo-Information. 2024. Vol. 13, no. 6. P. 170.
3. Serere H. N., Resch B., Havas C. R. Enhanced geocoding precision for location inference of tweet text using spaCy, Nominatim and Google Maps. A comparative analysis of the influence of data selection. PLOS ONE. 2023. Vol. 18, no. 3. P. e0282942.
4. Corrigendum: Efficient and reliable geocoding of German Twitter data to enable spatial data linkage to official statistics and other data sources / H. L. Nguyen et al. Frontiers in Sociology. 2022. Vol. 7.
5. Šimbera J., Drbohlav D., Štych P. Geocoding Freeform Placenames: An Example of Deciphering the Czech National Immigration Database. ISPRS International Journal of Geo-Information. 2021. Vol. 10, no. 5. P. 335.
Published
2025-12-05
How to Cite
Sverstiuk А., Huzovatyi , S., & Andrushchak І. (2025). Geocoding in web development: analysis of methods and practical implementation based on Nominatim. COMPUTER-INTEGRATED TECHNOLOGIES: EDUCATION, SCIENCE, PRODUCTION, (61), 199-205. https://doi.org/10.36910/6775-2524-0560-2025-61-28
Section
Computer science and computer engineering