A monorepo for parsing and visualizing High-Definition (HD) Maps, primarily focused on OpenDRIVE. This project contains a visualization application and standalone parser libraries.
- OpenDRIVE Viewer: A web-based 3D viewer for
.xodrfiles. - OpenDRIVE Parser: A TypeScript library to parse OpenDRIVE XML files into JavaScript objects.
- Apollo Map Parser: (Work in Progress) A library for parsing Apollo HD Maps.
This project is a monorepo managed with pnpm workspaces and Turbo.
- apps/
viewer: A Vue 3 + Vite application using Three.js to visualize HD Maps.
- packages/
opendrive-parser: A TypeScript library for parsing OpenDRIVE files.apollo-map-parser: A placeholder library for future Apollo map parsing support.
- Node.js: >= 18
- pnpm: >= 10 (This project uses pnpm as its package manager)
Install dependencies from the root directory:
pnpm installTo start the development server for all apps and packages:
pnpm devTo start only the viewer application:
cd apps/viewer
pnpm devTo build all apps and packages for production:
pnpm buildTo build a specific package (e.g., the parser):
pnpm build --filter=opendrive-parserTo run linting across the codebase:
pnpm lintTo clean node_modules and build artifacts:
pnpm clean- Monorepo: Turbo, pnpm workspaces, Changesets
- Viewer App:
- Parsers:
- TypeScript
- tsup (Bundler)
- fast-xml-parser
ISC