Skip to content

Commit 96dc922

Browse files
committed
Reduced map query to get only data in bounding box (see http://wiki.openstreetmap.org/wiki/Overpass_API#The_map_query).
1 parent 880c098 commit 96dc922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Overpass/queries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
class MapQuery(object):
55
"""Query to retrieve complete ways and relations in an area."""
66

7-
_QUERY_TEMPLATE = "(node({bbox[0]},{bbox[1]},{bbox[2]},{bbox[2]});<;>;);"
7+
_QUERY_TEMPLATE = "(node({bbox[0]},{bbox[1]},{bbox[2]},{bbox[2]});<;);"
88

99
def __init__(self, bbox):
1010
"""

0 commit comments

Comments
 (0)