Macroscopic Traffic Safety Analysis Based On Trip Generation Characteristics