dataset uses a Virtual World Coordinate System. coordinate system based on the UTM Zone 50N(which covers the Beijing area), but with a specific modification
Shift Origin: to protect geographic privacy, the coordinates are shifted by a fixed offset from the origin UTM coordinates
Consistency: the same offset is applied to both the HD Map and the Infrastructure/Vehicle SCV files.
Units and Axis Definitions
Units: (x, y, z) and (length, width, height) are measured in meters.
X-axis, East
Y-axis: North
Z-axis: Up
Orientation: heading angle (radians) → 0 radians points toward the positive X-asis, and angle increases counter-clockwise
Data-Specific Details
intersect_id: an identifier (e.g., yizhuang#7-1_po) used to link the dynamic data to a specific intersection or area defined in the HD map.
In the HD Map JSON (yizhuang_hdmap1.json)
centerline / left_boundary / right_boundary: these consist of lists of (x,y) coordinate pairs. these points define the geometry of the lanes in the same virtual world space as the CSV file.
if we plot the x, y values from the CSV and the centerline coordinates from the JSON on the same graph, the the vehicles will appear coorectly positioned within their respective lanes
CCTV영역 내 한 점의 절대 UTM 좌표 확보 → 모든 상대 좌표에 그 값을 더해 절대 좌표계로 바꿀 수 있음
로컬 좌표(x_local, y_local) → CCTV BEV 상의 미터 단위 좌표
전역 좌표(E_utm, N_utm) → 구글 지도나 수치지도를 통해 얻은 해당 지점의 실제 UTM좌표 (무조건 같은 Zone으로 통일해야함) → python의 pyproj을 통해 위경도를 UTM미터 좌표로 간단히 바꿀 수 있음
회전 각도 구하기 (North Alignment)
CCTV BEV의 y축이 실제 북쪽(UTM Northing)과 일치하지 않을 확률이 높다. 두 기준점 P1, P2를 활용하여 이 각도 차이를 계산