Lines like "Het Leven, De Wietel",51323152,5978139 used to crash the script. This was solved by using the python csv module, instead of simply splitting a string at every comma.
Issue previously caused:
Traceback (most recent call last):
File "makePlan.py", line 215, in <module>
sys.exit(main())
File "makePlan.py", line 102, in main
locs.append( np.array(parts[1:3],dtype=int) )
ValueError: invalid literal for long() with base 10: ' De Wietel"'
Lines like
"Het Leven, De Wietel",51323152,5978139
used to crash the script. This was solved by using the pythoncsv
module, instead of simply splitting a string at every comma.Issue previously caused: