Colombia (CO)
Quick facts
Section titled “Quick facts”| Field | Value |
|---|---|
| Drive side | Right-hand |
| Language(s) | Spanish |
| Regulator | INVIAS (MSV) |
| Code format | SP-01 / SR-01 |
| Standard | Manual de Señalización Vial (MSV/INVIAS) — Vienna Convention variant |
The @road-signs/co package contains Colombian road signs from the Manual de Señalización Vial (MSV/INVIAS) — Vienna Convention variant.
Signs are sourced from Wikimedia Commons and are in the public domain.
Installation
Section titled “Installation”npm install @road-signs/coSign categories
Section titled “Sign categories”| Category | Series | Description |
|---|---|---|
warning |
Preventivas | Señales preventivas — hazard warnings |
prohibitory |
Reglamentarias | Señales reglamentarias — prohibitions and regulations |
information |
Informativas | Señales informativas — information and direction |
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/co';
// Example below uses the real CO sign "SP-01" — adjust to taste.
// All signssigns.length;
// By slug IDconst sign = getSign("sp-01-sharp-turn-to-left");
// By sign codeconst s = getSignByCode("SP-01");
// All warning signsconst filtered = getSignsByCategory("warning");import { getSignsByCategory } from '@road-signs/co';import { RoadSign } from '@road-signs/react';
const warningSigns = getSignsByCategory("warning");
export default function COGrid() { 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/co';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 | 251 |
| Signs with SVG | 251 |
| Missing SVG | 0 |
| Overall | 100% |
| Category | Scraped | With SVG | Missing | % |
|---|---|---|---|---|
warning |
75 | 75 | 0 | 100% |
priority |
0 | 0 | 0 | — |
prohibitory |
65 | 65 | 0 | 100% |
mandatory |
0 | 0 | 0 | — |
information |
111 | 111 | 0 | 100% |
Standard: Manual de Señalización Vial (MSV/INVIAS) — Vienna Convention variant
SVG sources:
Coverage data is also published in the @road-signs/docs package.
TypeScript types
Section titled “TypeScript types”import type { COSign, COCategory } from '@road-signs/co';
type COCategory = 'information' | 'prohibitory' | 'warning';
interface COSign { id: string; // e.g. "sp1-sharp-bend" code: string; // sign code, e.g. "SP-1" name: string; description: string; category: COCategory; svg: string; // inline SVG string assets: { svg: string; png: Record<number, string>; jpg: Record<number, string>; webp: Record<number, string>; };}