Keeping the basic principles of sustainable development, it must be highlighted that decisions about transport safety projects must be made following expert preparation, using reliable, professional methods. A prerequisite for the cost–benefit analysis of investments is to constantly monitor the efficiency of accident forecasting models and to update these continuously. This paper presents an accident forecasting model for urban areas, which handles both the properties of the public road infrastructure and spatial dependency relations. As the aim was to model the urban environment, we focused on the road public transportation modes (bus and trolley) and the vulnerable road users (bicyclist) using shared infrastructure elements. The road accident data from 2016 to 2018 on the whole road network of Budapest, Hungary, is analyzed, focusing on road links (i.e., road segments between junctions) by applying spatial econometric statistical models. As a result of this article, we have developed a model that can be used by decision-makers as well, which is suitable for estimating the expected value of accidents, and thus for the development of the optimal sequence of appropriate road safety interventions.