NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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 ♦

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×483
×228

question asked: 01 Nov '20, 11:05

question was seen: 1,110 times

last updated: 05 Nov '20, 10:30

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum