I. Introduction
With the continuous acceleration of urbanization, urban population and vehicles increase rapidly, and the problem of urban traffic congestion is becoming more and more serious. A large amount of time is spent on commuting, which virtually increases the time cost of people's travel and greatly affects the working efficiency of urban people. How to reduce travel costs and save travel time has become the primary consideration of people's travel. Many people will choose to query the current traffic situation through the relevant software to choose the optimal travel route. These need to be based on good road network data in software, which is the basis of path query. Spatial database building urban transportation network, therefore, for people to travel, to fully understand the urban traffic status, relevant departments of city planning, construction and management to provide important basis, can also be used for other sectors of the city, such as administration, education, fire fighting, emergency ChuJing, health care, business, etc all have important practical significance. Taking a certain city as an example, this paper tries to establish urban traffic spatial database to provide data basis for the subsequent realization of intelligent traffic.