This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Your input contains only whitespace

0

Hello, thanks for helping! My question is: While querying this -

[out:json];nwr["addr:city"="Tallinn"]["addr:street"="Akadeemia tee"]["addr:housenumber"="21/6"][building]({{geocodeBbox:Tallinn}});out geom;

My React Web Application return an error -

Error: encoding error: Your input contains only whitespace.

However it works fine in https://overpass-turbo.eu/ If I remove ({{geocodeBbox:Tallinn}}) this part from the query, then it works but very slowly. Can you help with this issue?

asked 01 Nov '20, 11:05

armankulbek's gravatar image

armankulbek
11223
accept rate: 0%

edited 03 Nov '20, 09:34

scai's gravatar image

scai ♦
33.3k21309459

I'm not familiar with the coding language you're using, but is it possible that you need to escape the curly braces to prevent them from being interpreted as part of the code?

(05 Nov '20, 00:12) alester

I suspect that people will need to see more context of the error in order to comment.

(05 Nov '20, 10:30) SomeoneElse ♦

Source code available on GitHub .