update to mapnik-geometry - TODO: investigate test failure
This commit is contained in:
parent
9c5f38ac14
commit
9f04e2317a
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ def make_map():
|
|||
pixel_key = 1
|
||||
f = mapnik.Feature(context,pixel_key)
|
||||
f['Name'] = str(pixel_key)
|
||||
f.add_geometries_from_wkt('POLYGON ((0 0, 0 256, 256 256, 256 0, 0 0))')
|
||||
f.geometry=mapnik.Geometry.from_wkt('POLYGON ((0 0, 0 256, 256 256, 256 0, 0 0))')
|
||||
ds.add_feature(f)
|
||||
s = mapnik.Style()
|
||||
r = mapnik.Rule()
|
||||
|
|
Loading…
Reference in a new issue