Skip to content

Improve Overpass query#336

Open
7h30n3 wants to merge 1 commit into
masterfrom
seq_overpass
Open

Improve Overpass query#336
7h30n3 wants to merge 1 commit into
masterfrom
seq_overpass

Conversation

@7h30n3

@7h30n3 7h30n3 commented Jul 1, 2026

Copy link
Copy Markdown
Member

This PR will hopefully make the Overpass query for stop areas more reliable.
It adresses the following things:

Change from GET to POST

According to this best practice:

Prefer POST requests over GET requests where possible.

Set Timeout in Seconds

Up until now the timeout was send in milliseconds and ccording to the language reference:

[...] the higher this value, the more probably the server rejects the query before executing it.

Round Robin

The PR introduces a sequential querying with one query for a server at a time. Only if the server responded the next query is sent.

Additional Server

An additional Overpass Server was added to better distribute the load.

- Change from GET to POST
- Set Timeout in Seconds
- Implement sequential querying with one query for a server at a time
@7h30n3 7h30n3 requested a review from Robbendebiene July 1, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant