Estonia (EE)
Quick facts
Section titled “Quick facts”| Field | Value |
|---|---|
| Drive side | Right-hand |
| Language(s) | Estonian |
| Regulator | Transpordiamet |
| Standard | Liiklusseadus — Vienna Convention |
The @road-signs/ee package contains Estonian road signs from the Liiklusseadus.
Signs are sourced from Wikimedia Commons and are in the public domain.
Installation
Section titled “Installation”npm install @road-signs/eeSign categories
Section titled “Sign categories”| Category | Series | Description |
|---|---|---|
warning |
A series | Hazard warnings |
priority |
B series | Right-of-way |
prohibitory |
C series | Prohibitions and restrictions |
mandatory |
D series | Mandatory actions |
information |
E–F series | Information and direction |
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/ee';
// Example below uses the real EE sign "level-crossing-with-gates" — adjust to taste.
// All signssigns.length;
// By slug IDconst sign = getSign("level-crossing-with-gates-level-crossing-with-gates");
// By sign codeconst s = getSignByCode("level-crossing-with-gates");
// All warning signsconst filtered = getSignsByCategory("warning");import { getSignsByCategory } from '@road-signs/ee';import { RoadSign } from '@road-signs/react';
const warningSigns = getSignsByCategory("warning");
export default function EEGrid() { return ( <div style={{ display: 'flex', gap: 8, flexWrap: 'wrap' }}> {warningSigns.map((sign) => ( <RoadSign key={sign.id} sign={sign} size={64} /> ))} </div> );}<script setup>import { getSignsByCategory } from '@road-signs/ee';import { RoadSign } from '@road-signs/vue';
const warningSigns = getSignsByCategory("warning");</script>
<template> <div style="display:flex;gap:8px;flex-wrap:wrap"> <RoadSign v-for="sign in warningSigns" :key="sign.id" :sign="sign" :size="64" /> </div></template>Coverage
Section titled “Coverage”| Metric | Value |
|---|---|
| Signs scraped | 151 |
| Signs with SVG | 147 |
| Missing SVG | 4 |
| Overall | 97% |
| Category | Scraped | With SVG | Missing | % |
|---|---|---|---|---|
warning |
55 | 55 | 0 | 100% |
priority |
6 | 6 | 0 | 100% |
prohibitory |
44 | 40 | 4 | 91% |
mandatory |
19 | 19 | 0 | 100% |
information |
27 | 27 | 0 | 100% |
Standard: Liiklusseadus — Vienna Convention
SVG sources:
Coverage data is also published in the @road-signs/docs package.
TypeScript types
Section titled “TypeScript types”import type { EESign, EECategory } from '@road-signs/ee';
type EECategory = 'information' | 'mandatory' | 'priority' | 'prohibitory' | 'warning';
interface EESign { id: string; // e.g. "a1-sharp-bend" code: string; // sign code, e.g. "A1" name: string; description: string; category: EECategory; svg: string; // inline SVG string assets: { svg: string; png: Record<number, string>; jpg: Record<number, string>; webp: Record<number, string>; };}