Skip to content

Commit

Permalink
Update point geojson expected test output
Browse files Browse the repository at this point in the history
  • Loading branch information
geographika committed Mar 20, 2019
1 parent 8c2e5ec commit fac0a52
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions mapscript/python/tests/cases/shape_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,11 @@ def testShapeGeoInterfaceWithFields(self):
s.itemdefinitions = layer.getItemDefinitions()
assert s.__geo_interface__ == {
'geometry': {
'type': 'Polygon',
'coordinates': [[(-0.25, 51.227222), (-0.25, 51.727222), (0.25, 51.727222),
(0.25, 51.227222), (-0.25, 51.227222)]]
'type': 'Point',
'coordinates': [[(0.0, 51.477222)]]
},
'type': 'Feature',
'bbox': (-0.25, 51.227222, 0.25, 51.727222),
'bbox': (0.0, 51.477222, 0.0, 51.477222),
'properties': {'FNAME': 'A Point', 'FID': 1}
}

Expand Down

0 comments on commit fac0a52

Please sign in to comment.