Qatar (QA)
Quick facts
Section titled “Quick facts”| Field | Value |
|---|---|
| Drive side | Right-hand |
| Language(s) | Arabic, English |
| Regulator | Ashghal (GCC Manual) |
| Standard | Vienna Convention, bilingual Arabic/English (GCC Manual) |
The @road-signs/qa package contains Qatar road signs from the Vienna Convention (since 2022; UK-influenced prior).
Signs are sourced from Wikimedia Commons and are in the public domain.
Installation
Section titled “Installation”npm install @road-signs/qaSign categories
Section titled “Sign categories”| Category | Series | Description |
|---|---|---|
warning |
Warning | Hazard and warning signs |
priority |
Priority | Priority and right-of-way signs |
prohibitory |
Regulatory | Prohibition and restriction signs |
mandatory |
Mandatory | Mandatory instruction signs |
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/qa';
// Example below uses the real QA sign "P200" — adjust to taste.
// All signssigns.length;
// By slug IDconst sign = getSign("p200-give-way");
// By sign codeconst s = getSignByCode("P200");
// All prohibitory signsconst filtered = getSignsByCategory("prohibitory");import { getSignsByCategory } from '@road-signs/qa';import { RoadSign } from '@road-signs/react';
const prohibitorySigns = getSignsByCategory("prohibitory");
export default function QAGrid() { return ( <div style={{ display: 'flex', gap: 8, flexWrap: 'wrap' }}> {prohibitorySigns.map((sign) => ( <RoadSign key={sign.id} sign={sign} size={64} /> ))} </div> );}<script setup>import { getSignsByCategory } from '@road-signs/qa';import { RoadSign } from '@road-signs/vue';
const prohibitorySigns = getSignsByCategory("prohibitory");</script>
<template> <div style="display:flex;gap:8px;flex-wrap:wrap"> <RoadSign v-for="sign in prohibitorySigns" :key="sign.id" :sign="sign" :size="64" /> </div></template>Coverage
Section titled “Coverage”| Metric | Value |
|---|---|
| Signs scraped | 202 |
| Signs with SVG | 202 |
| Missing SVG | 0 |
| Overall | 100% |
| Category | Scraped | With SVG | Missing | % |
|---|---|---|---|---|
warning |
64 | 64 | 0 | 100% |
priority |
0 | 0 | 0 | — |
prohibitory |
28 | 28 | 0 | 100% |
mandatory |
0 | 0 | 0 | — |
information |
110 | 110 | 0 | 100% |
Standard: Vienna Convention, bilingual Arabic/English (GCC Manual)
SVG sources:
Coverage data is also published in the @road-signs/docs package.
TypeScript types
Section titled “TypeScript types”import type { QASign, QACategory } from '@road-signs/qa';