It's due to a routine I re-used from the DEF read ...
# caravel
t
It's due to a routine I re-used from the DEF read and write routines, and it's picking up vias that would be normally used in a DEF file and dropping them into a LEF file, which is wrong.