Skip to content

Commit a8fb0b7

Browse files
committed
[Readme] Fixed example, since encoding_type is required for Location
1 parent 6b33601 commit a8fb0b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ service = fsc.SensorThingsService(url)
2626
from geojson import Point
2727
2828
point = Point((-115.81, 37.24))
29-
location = fsc.Location(name="here", description="and there", location=point)
29+
location = fsc.Location(name="here", description="and there", location=point, encoding_type='application/geo+json')
3030
3131
thing = fsc.Thing(name='new thing',
3232
description='I am a thing with a location',

0 commit comments

Comments
 (0)