Skip to content

Commit 68f6dfe

Browse files
authored
Merge pull request #60 from nebulon42/csv
enable csv response format
2 parents 0bdcd1a + e7c5603 commit 68f6dfe

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)