Hi - being new to overpass Turbo, I have found several examples of the use of the length() function. But it seems not to be working any longer - running this small example gives an error
So how do I get a total road length? |
Hi. you should use the "code" formatting, or the Share function of overpass-turbo, as this website scramble the query otherwise. Anyway, if I try it, it seems to work alright : http://overpass-turbo.eu/s/1eVq It is not an error if you get no displayable data, overpass-turbo is meant to display geographic data, on top of the map. But here you get only numbers, which seems right, just check in the data panel. Regards. |
Hi H_mlet - thanks for responding. After comparing your example (working) letter by letter with my own example (error message), I found out, that changing from using the server //overpass.openstreetmap.fr/api/ to //overpass-api.de/api/ solved my problem. :-) Tricky one. I guess OSMFR doesn't have the time to update their overpass instance... Glad you found the problem. Regards.
(09 Jan '22, 13:08)
H_mlet
|