Skip to content

Greece (GR)

Field Value
Drive side Right-hand
Language(s) Greek
Regulator Greek Ministry of Infrastructure
Code format K-1 / R-1 / P-1
Standard ΚΟΚ (Κώδικας Οδικής Κυκλοφορίας) — Vienna Convention

The @road-signs/gr package contains Greek road signs from the ΚΟΚ (Κώδικας Οδικής Κυκλοφορίας), the Greek road traffic code. Signs are sourced from Wikimedia Commons and are in the public domain.

Terminal window
npm install @road-signs/gr
Category Series Description
warning ΚΟΚ series Κ Hazard warnings — triangular
priority — Right-of-way and stop signs
prohibitory ΚΟΚ series Ρ Prohibitions and regulatory restrictions
mandatory — Compulsory actions
information ΚΟΚ series Π Information and direction signs
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/gr';
// Example below uses the real GR sign "1-curve-left" — adjust to taste.
// All signs
signs.length;
// By slug ID
const sign = getSign("1-curve-left-1-curve-left");
// By sign code
const s = getSignByCode("1-curve-left");
// All warning signs
const filtered = getSignsByCategory("warning");
Metric Value
Signs scraped 452
Signs with SVG 433
Missing SVG 19
Overall 96%
Category Scraped With SVG Missing %
warning 59 59 0 100%
priority 0 0 0 —
prohibitory 134 134 0 100%
mandatory 0 0 0 —
information 259 240 19 93%

Standard: ΚΟΚ (Κώδικας Οδικής Κυκλοφορίας) — Vienna Convention

SVG sources:

Coverage data is also published in the @road-signs/docs package.

import type { GRSign, GRCategory } from '@road-signs/gr';
type GRCategory = 'information' | 'mandatory' | 'priority' | 'prohibitory' | 'warning';
interface GRSign {
id: string; // e.g. "k1-sharp-bend"
code: string; // sign code, e.g. "K1"
name: string;
description: string;
category: GRCategory;
svg: string; // inline SVG string
assets: {
svg: string;
png: Record<number, string>;
jpg: Record<number, string>;
webp: Record<number, string>;
};
}