Commit 16bde774 authored by Kris Vanneste's avatar Kris Vanneste
Browse files

Small fix in get_data method of GisData.

git-svn-id: 40b490c5-b4d9-47cb-8714-9bef99b524d5
parent 6fc3fb20
......@@ -214,7 +214,9 @@ class GisData(BasemapData):
print("Warning: Omitting part #%d of multipolygon" % p)
if polygon:
## polygon may sometimes be None
for polygon in multi_polygon:
polygon.label = label
polygon.value = {k: rec[k] for k in polygon_value_colnames if k in rec}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment