Skip to content

Bosnia and Herzegovina (BA)

Field Value
Drive side Right-hand
Language(s) Bosnian, Croatian, Serbian
Regulator BIHAMK
Standard Zakon o osnovama bezbjednosti saobraćaja na cestama — Vienna Convention

The @road-signs/ba package contains Bosnia and Herzegovina road signs from the Zakon o osnovama bezbjednosti saobraćaja — Vienna Convention. Signs are sourced from Wikimedia Commons and are in the public domain.

Terminal window
npm install @road-signs/ba
Category Series Description
warning A series Znaci upozorenja — hazard warnings
priority B series Znaci prednosti — right-of-way
prohibitory C series Znaci zabrane i ograničenja — prohibitions
mandatory D series Znaci obaveze — mandatory actions
information E–F series Znaci obavještenja — information and direction
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/ba';
// Example below uses the real BA sign "ALT01" — adjust to taste.
// All signs
signs.length;
// By slug ID
const sign = getSign("alt01-direction-sign-bih-alt01");
// By sign code
const s = getSignByCode("ALT01");
// All warning signs
const filtered = getSignsByCategory("warning");
Metric Value
Signs scraped 298
Signs with SVG 298
Missing SVG 0
Overall 100%
Category Scraped With SVG Missing %
warning 55 55 0 100%
priority 0 0 0 —
prohibitory 63 63 0 100%
mandatory 0 0 0 —
information 180 180 0 100%

Standard: Zakon o osnovama bezbjednosti saobraćaja na cestama — Vienna Convention

SVG sources:

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

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