Skip to content

Commit e7c5603

Browse files
committed
enable csv response format
1 parent 7b273dd commit e7c5603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

overpass/api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def Get(self, query, responseformat="geojson", verbosity="body"):
4444
# Get the response from Overpass
4545
raw_response = self._GetFromOverpass(full_query)
4646

47-
if responseformat == "xml":
47+
if responseformat == "xml" or responseformat.startswith("csv"):
4848
return raw_response
4949

5050
response = json.loads(raw_response)

0 commit comments

Comments
 (0)