Algeria (DZ)
Quick facts
Section titled “Quick facts”| Field | Value |
|---|---|
| Drive side | Right-hand |
| Language(s) | Arabic |
| Regulator | Ministry of Transport |
| Standard | Code de la route — Vienna Convention / French-influenced |
The @road-signs/dz package contains Algeria road signs from the Vienna Convention (French-influenced).
Signs are sourced from Wikimedia Commons and are in the public domain.
Installation
Section titled “Installation”npm install @road-signs/dzSign categories
Section titled “Sign categories”| Category | Series | Description |
|---|---|---|
warning |
Warning | Hazard and warning signs |
prohibitory |
Regulatory | Regulatory and prohibition signs |
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/dz';
// Example below uses the real DZ sign "A10" — adjust to taste.
// All signssigns.length;
// By slug IDconst sign = getSign("a10-algeria-road-sign");
// By sign codeconst s = getSignByCode("A10");
// All warning signsconst filtered = getSignsByCategory("warning");import { getSignsByCategory } from '@road-signs/dz';import { RoadSign } from '@road-signs/react';
const warningSigns = getSignsByCategory("warning");
export default function DZGrid() { 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/dz';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 | 86 |
| Signs with SVG | 86 |
| Missing SVG | 0 |
| Overall | 100% |
| Category | Scraped | With SVG | Missing | % |
|---|---|---|---|---|
warning |
30 | 30 | 0 | 100% |
priority |
5 | 5 | 0 | 100% |
prohibitory |
34 | 34 | 0 | 100% |
mandatory |
8 | 8 | 0 | 100% |
information |
9 | 9 | 0 | 100% |
Standard: Code de la route — Vienna Convention / French-influenced
SVG sources:
Coverage data is also published in the @road-signs/docs package.
TypeScript types
Section titled “TypeScript types”import type { DZSign, DZCategory } from '@road-signs/dz';