Typology of medieval urban layouts in historic Lesser Poland and their protection · Study