I\'m trying to generate digital maps according to the procedure mentioned here and I have no clue on how to implement it in python, especially for Step 8. I\'m currently usi