Oh, my goodness gracious. Gunnar, this is really something. I guess what you've found by painstaking detailed work is that the caretaker of the church was absolutely correct when she scoffed at the claim that there are 365 corners there. Another urban legend bites the dust. The funny thing is that it's not even close! The hospitalera told me the last time I was there that a lot of people think that there are 365 corners, so I think I will copy your diagram and bring it to her so she can use it as proof!
But no matter how many corners there are, this is another one of those magical pre-romanesque sites. Beautifully located on top of a hill, and well preserved simple majesty inside.
If you walk the Salvador, don't miss it! Buen camino, Laurie