Open
Description
Issue
Hypothesis:
These following tracks have an odd svg start-finish which I think causes a problem with the track map direction.
Almost all tracks have a <path>
tag inside the start-finish svg, but these use <defs>
, <symbol>
, and <use>
which breaks the intersection logic since it scans for paths. When a track has no intersection point the track map progress for drivers seems to break, sometimes making drivers look like they are moving in reverse.
Potential solutions looking into:
- When downloading svgs, scan for those bad tags and convert the svg to use normal path tags instead.
- Look for solution to find intersection between a path and symbols/use/defs
TrackIds
- 244: Autodromo Nazionale Monza
- 425: Knockhill Racing Circuit
- 493: Kevin Harvick's Kern Raceway
- 494: Kevin Harvick's Kern Raceway
- 496: Kevin Harvick's Kern Raceway
- 497: Kevin Harvick's Kern Raceway
- 501: Misano World Circuit Marco Simoncelli
- 502: Misano World Circuit Marco Simoncelli
- 503: Misano World Circuit Marco Simoncelli
- 504: Misano World Circuit Marco Simoncelli
- 505: Misano World Circuit Marco Simoncelli
- 508: Lime Rock Park
- 509: Algarve International Circuit
- 510: Algarve International Circuit
- 511: Algarve International Circuit
- 512: Algarve International Circuit
- 513: Millbridge Speedway
- 516: Circuito de Navarra
- 517: Circuito de Navarra
- 518: Oswego Speedway
- 519: Oswego Speedway
- 520: Oswego Speedway
- 521: Sachsenring
- 527: Cadwell Park Circuit
- 528: Cadwell Park Circuit
- 529: Cadwell Park Circuit
- 530: Cadwell Park Circuit
- 531: Huset's Speedway
- 532: Thruxton Circuit