Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- polygon = loads(geom.ExportToWkt())
- boundary = polygon.exterior
- coords = np.zeros(( len(boundary.coords), 2))
- for i, the_coord in enumerate(boundary.coords):
- coords[i, 0], coords[i, 1] = basemap( the_coord[0], the_coord[1] )
- result.append(Polygon(coords, facecolor = 'none', edgecolor = edge_color, linewidth = linewidth))
Add Comment
Please, Sign In to add comment