Skip to content

Commit 219dbc2

Browse files
committed
reduce number of nodes to load per bach
500 appears to be too large and can result in HTTP/414 "Request-URI Too Long" errors
1 parent cfe8520 commit 219dbc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/regional-diff.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def __osmosis(self):
263263
diff_for_boundary_cut = filtered_diff
264264
if len(nodes_to_download) > 0:
265265
# download list nodes_to_download via overpass, in batches of $node_batches (e.g.12K nodes are rejected by server):
266-
node_batches = 500
266+
node_batches = 300
267267
node_batch_counter = 0
268268
overpass_output_array = []
269269
while node_batch_counter < len(nodes_to_download):

0 commit comments

Comments
 (0)