You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 10, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Simplest example:
18
18
```python
19
19
import overpass
20
20
api = overpass.API()
21
-
response = api.Get('node["name"="Salt Lake City"]')
21
+
response = api.get('node["name"="Salt Lake City"]')
22
22
```
23
23
24
24
Note that you don't have to include any of the output meta statements.
@@ -37,7 +37,7 @@ print [(feature['tags']['name'], feature['id']) for feature in response['element
37
37
You can specify the format of the response. By default, you will get GeoJSON using the `responseformat` parameter. Alternatives are plain JSON (`json`) and OSM XML (`xml`), as ouput directly by the Overpass API.
38
38
39
39
```python
40
-
response = api.Get('node["name"="Salt Lake City"]', responseformat="xml")
40
+
response = api.get('node["name"="Salt Lake City"]', responseformat="xml")
41
41
```
42
42
43
43
### Parameters
@@ -81,8 +81,8 @@ query in a bounding box (the 'map call'). You just pass the bounding box
0 commit comments