Skip to content

Commit 134b3ff

Browse files
committed
fixing readme, 0.5.5
1 parent cfb9407 commit 134b3ff

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ could do this for example:
3131

3232
```python
3333
print [(feature['tags']['name'], feature['id']) for feature in response['elements']]
34-
[(u'Salt Lake City', 150935219), (u'Salt Lake City', 585370637), (u'Salt Lake City', 1615721573)]```
34+
[(u'Salt Lake City', 150935219), (u'Salt Lake City', 585370637), (u'Salt Lake City', 1615721573)]
35+
```
3536

3637
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.
3738

@@ -81,7 +82,8 @@ to the constructor:
8182

8283
```python
8384
map_query = overpass.MapQuery(50.746,7.154,50.748,7.157)
84-
response = api.Get(map_query)```
85+
response = api.Get(map_query)
86+
```
8587

8688
#### WayQuery
8789

@@ -91,7 +93,8 @@ constructor:
9193

9294
```python
9395
way_query = overpass.WayQuery('[name="Highway 51"]')
94-
response = api.Get(way_query)```
96+
response = api.Get(way_query)
97+
```
9598

9699
## Testing
97100

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
setup(
1212
name='overpass',
1313
packages=['overpass'],
14-
version='0.5.4',
14+
version='0.5.5',
1515
description='Python wrapper for the OpenStreetMap Overpass API',
1616
long_description=long_description,
1717
author='Martijn van Exel',

0 commit comments

Comments
 (0)