In recent times the escalating pollution within densely populated metropolitan areas has emerged as a significant and pressing concern. Authorities are actively grappling with the challenge of devising solutions to promote a cleaner and more environmentally friendly urban landscapes. This paper outlines the potential of establishing a LoRa node network within a densely populated urban environment. Each LoRa node in this network is equipped with an air quality measurement sensor. This interconnected system efficiently transmits all the analyzed data to a gateway, which subsequently sends it to a server or database in real time. These data are then harnessed to create a pollution map for the corresponding area, providing users with the opportunity to assess local pollution levels and their recent variations. Furthermore, this information proves valuable when determining the optimal route between two points in the city, enabling users to select the path with the lowest pollution levels, thus enhancing the overall quality of the urban environment. This advantage contributes to alleviating congestion and reducing excessive pollution often concentrated behind buildings or on adjacent streets.