Skip to content
Permalink
Browse files

Update point geojson expected test output

  • Loading branch information...
geographika committed Mar 20, 2019
1 parent 8c2e5ec commit fac0a52f7ec311dff5056a8afaa255cdd7a7ed08
Showing with 3 additions and 4 deletions.
  1. +3 −4 mapscript/python/tests/cases/shape_test.py
@@ -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}
}

0 comments on commit fac0a52

Please sign in to comment.
You can’t perform that action at this time.