You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I add to config some special layer (sea or graticule), map fails to generate with error:
Traceback (most recent call last):
File "visited-countries/map/makeMap.py", line 22, in <module>
K.generate(config, outfile='world.svg')
File "/usr/local/lib/python2.7/dist-packages/kartograph/kartograph.py", line 46, in generate
_map = Map(opts, self.layerCache, format=format)
File "/usr/local/lib/python2.7/dist-packages/kartograph/map.py", line 48, in __init__
me.proj = me._init_projection()
File "/usr/local/lib/python2.7/dist-packages/kartograph/map.py", line 88, in _init_projection
map_center = self.__get_map_center()
File "/usr/local/lib/python2.7/dist-packages/kartograph/map.py", line 140, in __get_map_center
features = self._get_bounding_geometry()
File "/usr/local/lib/python2.7/dist-packages/kartograph/map.py", line 257, in _get_bounding_geometry
charset=layer.options['charset']
TypeError: get_features() got an unexpected keyword argument 'filter'
I tried first with console util, then with python script. All the same.
When I add to config some special layer (sea or graticule), map fails to generate with error:
I tried first with console util, then with python script. All the same.
Any ideas how to fix it?
The text was updated successfully, but these errors were encountered: