Author: Jaybee Alpha

  • Reading vehicle identification numbers

    Reading vehicle identification numbers

    Example of a standard LTFRB-required marking. Details blurred by author to avoid identifying the specific bus. VIN descriptor section intentionally left intact to illustrate the concept of VIN

    So you decided to become a budding bus enthusiast in the Philippines, and started to notice all those things scribbled on the sides of majority of buses. This is a mandatory marking required by the Land Transportation Regulatory and Franchising Board (LTFRB) which displays specific identifications for the bus. One of our particular concern today is how to decode the Vehicle Identification Number (VIN), which serves as the primary means to identify a specific bus.

    How is it different from a chassis number?

    In the Philippines, a VIN is usually registered as a chassis number as part of the Certificate of Registration (CR), but a VIN differs from a chassis number in some regards. Firstly, a chassis number only identifies a chassis, and especially for vehicles with body installations separate from the chassis, there should be a separate identification number for the body itself (there are provisions for this in the LTO, but in practice it has rarely, if ever, been followed), whereas a VIN describes the vehicle as a whole (counting the chassis and body as one). It is understandable, however, that the VIN is considered a chassis number, because it is stamped in the chassis all the same, and for monocoques the body counts as the chassis as well. In the current template for the CR, there are two separate fields for the VIN and the chassis number, but like the previous provision with the chassis and body numbers, I’ve never seen it utilized.

    Basic template for the VIN

    Generated by Gemini AI

    The basic format for VINs are defined by ISO 3779, which gives the following provisions:

    Characters 1-3 are for the World Manufacturer Identifier, a 2- or 3-digit code for each vehicle manufacturer or assembler in the world. Each country is given a block of code to distribute to their local manufacturers. For the Philippines, WMI is in the PA to PE range, and is assigned by the Department of Trade and Industry. For some examples:

    • PAB = Isuzu
    • PAC = Almazora (used by both MAN 18.232, ironically bodied by Santarosa, and some Isuzu buses)
    • PAE = Mitsubishi (includes Fuso)
    • PA4 = Hino Motors Philippines
    • PA9 = QSJ Motors, used for some locally-assembled FAW-based modern jeeps and buses, especially the rear-engined bus based on the FAW CA1161PK truck
    • PBM = MAN Automotive Concessionaire Corporation
    • PCM = Iveco (CM = Columbian Motors, the registered dealer/assembler)

    The vehicle descriptor section is composed of characters 4-9, where manufacturers encode specific standard features of the vehicle. Specific descriptor characters may describe any of the following:

    • Trim level
    • Suspension type
    • Body type
    • Vehicle length
    • Engine equipped, including power class
    • Brake type
    • Special features

    For some countries or manufacturers, the 9th character may be used instead as a check digit, meant to prevent tampering of the VIN by modifying certain characters. The check digit is calculated with a complicated formula that uses all characters to arrive at a number between 0 to 10, and is encoded as a single digit (10 is encoded as X, thus a check digit is only one character between 0-9 and X)

    The 10th to 17th characters form the vehicle identifier section, which now provides for the specific identification of the vehicle among the same models. Included in the vehicle identifier is the year code, a standardized set of characters that denote in one character the year the vehicle is produced, as depicted in the photo below:

    Because the sequence repeats every 30 years, it might open up the possibility that a whole VIN would repeat itself and two vehicles 30 year models apart may end up with the same VIN. In practice, manufacturers prevent that by adding some rules in their identifiers, but for the worst cases (i.e. high-volume manufacturers) this repeat is avoided by switching the check digit and year code in the final etching (after the check digit is computed). It has not happened for buses here yet though, but I know some cars with switched year code/check digit positions (I owned one like that).

    An ISO standard VIN is 17 characters long, so longer or shorter VINs may indicate either tampering (which is bad, of course) or a chassis number based on the original VIN generated by the local manufacturer (a somewhat common practice, which we will explain later below).

    Important formats to know

    Since Philippine buses are sourced from different countries, VIN reading may be different for each brands. But I’ve compiled three common use cases that should cover the majority:

    Type 1: North American and Chinese Standard VIN

    Generated using Gemini AI

    First up, because this VIN is the most common format to be seen due to the prevalence of Chinese buses here, is the VIN format first used by the US automotive industry, and adapted by China for its own standards. This type of VIN is the most complete in features, having all the possible features of a VIN (WMI, descriptor, check digit, year code, sequential code). The 11th character, part of the identifier, is used to denote the particular plant that assembled the vehicle. For some manufacturers with one plant, it generally stays the same for all vehicles, but those with multiple plants find it useful (example, for the King Long group, code A denotes vehicles built in the Suzhou King Long (Higer) plant, while code B is for vehicles made in the Xiamen King Long plant.

    Generated using Gemini AI

    Secondly, we have the more common format across Asia and Europe, which ditches the check digit and utilizes the whole vehicle descriptor section to describe the model.

    Generated using Gemini AI

    An uncommon format, but used for some Hino light truck/small bus models in the Philippines, include the check digit but removes the year and plant codes, using the whole identifier section for the vehicle serial number.

    Generated using Gemini AI

    A special case of an ISO-compliant VIN in terms of length, but has taken a bit of freedom in the meaning of its digits, is for Isuzu models. The WMI remains at three characters, but Isuzu utilized as much space as possible for its vehicle descriptor, inserting both the year code and serial number in the remaining spaces. In this example, an FTR12LK truck-bus is described in the VIN as the one above, taking up 7 spaces for the VDS where normally the ISO provides 6, thus shifting the year code to the space normally reserved for the plant code (this one has no plant code, so the serial number stays the same). Applying that same standard, the Isuzu FVR models released in early 2010’s have the VIN format PABFVR34SLQyxxxxx; the descriptor took 8 spaces, pushing the year code further to the 11th position and reducing the allotted serial digits to 5 spaces at the end.

    Some special cases to consider

    Trans-Oriental locally-assembled Golden Dragon buses

    First Trans-Oriental VIN template LFZmmmmTRyxxxxxx

    Trans-Oriental, during its assembly days in the 2010 decade, sourced official parts from Golden Dragon, including the chassis made by Forta (a child brand of Golden Dragon). Locally-assembled Golden Dragon uses the World Manufacturer Identifier of Forta, LFZ, but does not use an ISO standard VIN. Rather, Trans-Oriental generates local chassis numbers for its assemblies, using the format LFZmmmmTRxxxxxx, where “m” is the model code for the bus (6102, 6103, 6127), “TR” stands for Trans Oriental, and the year of assembly inserted in the serial number as two-digit years. For example, LFZ6103TR130001 describes a Trans-Oriental XML6103 assembled in 2013 (i.e. the first two digits in the serial number, “13”). Later models inserted an ISO year code between TR and the serial number, thus LFZ6127TRF160001 denotes a 2015-model XML6127 assembled in 2016. Alternatively, the year code uses three digits, for example LFZ6103TRF016001 (016 = 2016, 001 = serial number).

    Second Trans-Oriental VIN template LFZmmmmGDyTMBxxxxx

    Around 2017, Trans-Oriental slightly changed its VIN generation: it now uses a 17-digit VIN, which follows the format LFZmmmmGDyTMBxxxxx, where “y” is the last digit of the production year. For example, a Trans-Oriental Splendor (itself a local model, as GD Splendor only goes up to 9 meters, whereas TO Splendors are around 10.5 meters in length) uses the VIN LFZ6102GD8TMB00001; GD stands for Golden Dragon, and TMB stands for Trans-Oriental Motor Builders.

    Trans-Oriental at present does not generate new VINs because they shifted their business strategy from assembling knock-down GD buses to importing completely-built units (CBU), thus all new Golden Dragons leaving the Trans Oriental lot carry Golden Dragon China-standard VINs.

    PL5: A non-standard WMI adapted from a standard one

    Daewoo Buses assembled by Santarosa Motor Works are stamped with an ISO standard VIN. However, these VINs carry the WMI PL5, which is outside Philippine-assigned codes (PL is reserved for Malaysia, thus some enthusiasts mistakenly attribute the Daewoo Bus chassis models as made in Malaysia, even though Daewoo Bus does not even have a plant there). So where did PL5 come from? It was actually derived from the official Daewoo WMI KL5, used in many new-generation Daewoo buses and is within the range assigned to South Korea. In generating its VIN template, Daewoo used the first letter of its VIN as the country of assembly, in this case P for Philippines. The chassis, produced in South Korea and assembled in the Philippines, uses the same VIN template as domestic Korean Daewoo buses, with only its first letter changed, thus ending up with a WMI that is seemingly unofficial but really is just based on a manufacturer being creative. VIN decoding rules for Philippine-assembled Daewoo buses are the same as Korean domestic Daewoo.

    However, in the past, Daewoo buses produced by Filipinas Daewoo Industries Corp. used the WMI PFB, which is still outside the range assigned to the Philippines but is most likely officially registered, as no other manufacturer around the world uses that WMI (as far as I am aware).

    These cases basically cover around 95% of buses in the Philippines using VINs, so knowing the information here will be useful to you most of the time whenever you see a bus and started thinking “what do those numbers and letters mean?” And I sure hope that I have imparted something useful to you!

    If you are interested in checking out our database to learn something more about Philippine buses, here is the link. Please continue your support to the Bus Database project by utilizing our site!

  • Where we get our information

    Where we get our information

    Hello, Jaybee here again. You might be wondering, where do we get information to fill up our bus database? This short blog will explain how we process information to display in our database.

    Model Information

    For standard models and its subcategories (vehicle model, body, chassis, engine), many of the information is readily available online. For some brands, information comes more easily than others: China brands, for example, usually has almost all the needed information on their websites. In contrast, local body assemblers do not usually post complete specifications, as they vary depending on the chassis used as the base of the bus. Sometimes we stumble upon obscure files that contain the needed information, but most of the time we just have to admit defeat and leave some information blank (not literally blank, as I usually place a “no data” annotation where I don’t know the information). Thankfully, there are a lot of third-party websites that, like us, collect information about engines, bus units, and the like, which we use as reference to many information we share in Bus Database PH. Thus, you may notice that our content is quite similar to others, but that’s the beauty of information, it can be conveyed by anyone for everyone’s benefit.

    Route and Bus Information

    For the routes, our go-to reference is the government agency in charge of franchising, the Land Transportation Franchising and Regulatory Board (LTFRB). Occasionally, the LTFRB releases public documents that list some routes and/or units as part of new relevant policies or information, which we use as reference to document the existence of such routes and units. For some other routes, the route descriptions printed on the bus units is sufficient for us to define it. It’s just a matter of going outside and seeing things in actual operation, basically.

    Information gathering for the bus database is not a one-man job. Behind the scenes, fellow bus enthusiasts provide their help in identifying certain models, routes, and bus units, to provide a more accurate description of everything we encode in the database. This boosts our confidence that what we provide to end-users is genuinely correct. But of course sometimes we slip up because we’re only human, and we apologize if ever you come across few things that need to be corrected.

    With so many information in the bus database, you might think we might have a hard time compiling it all, and you may be right. But every patronage of the Bus Database PH makes it all worth the effort. So I hope you support our endeavor in archiving bus photos and information in the Philippines by always visiting our site and utilizing our Bus Database as much as you can! In future blog posts, we’ll discuss some bus-related concepts, so I hope you will all stick around!

  • About the Bus Database

    About the Bus Database

    Hi to all! Today, I’ll be talking about the contents of the bus database, what to expect from it, and the future developments for the site.

    The Philippine Bus Database is what it sounds like: a repository of data about buses here in the Philippines. My aim is to provide a comprehensive collection of photos and information about buses around the Philippines. The database is divided into sections, which we shall discuss in detail.

    The first part is the Vehicle Info Database, divided into 5 subsections. The Standard Model database lists the production model buses running in the Philippines. Some of those models might be different from what is sold globally, so I should make it clear that models to be listed here are standard models for the Philippine market; examples include the unique Yutong ZK6105H, which as far as I am aware is produced in China yet sold only in the Philippines.

    The Vehicle Model subsection lists all models available in the Philippines, now including the non-standard ones. The models are differentiated whether they are sold as completely built units (CBU), knockdown units (CKD or PKD), or as bare chassis models to be installed with a body.

    The Body section lists the bus body models running in the Philippines. It may be a body that was made by the brand maker itself (CBUs) or by a third-party body assembler, and may have a name different from the vehicle model.

    The Chassis section lists the bus chassis used in the Philippines, distinguished by its structure (ladder frame, integral, monocoque, modular, etc.). A semi-monocoque bus will have the same model listed as its body, while a vehicle model sold as a bare chassis will have the same model name in the Chassis section.

    The Engine section, as you may have guessed by now, will of course list the engines used by buses here, distinguished by the combustion type, power, torque, and emission rating. Electric motor models will be listed here as well.

    The second part is the Bus Database section, listing both individual Buses and the Routes where buses run. Information in the Bus List section include operator trade name, body number, and the specifications of the bus. The Route List contains the route description, the type of service (denomination) for the route as well as the location of its endpoints.

    Now, you might be wondering, how about the bus plate number, chassis and engine numbers, the data for the operator, or the franchise list? It is known to me that one of the most sought-after data is about franchises, but you see, all these parameters I mentioned are covered by the Data Privacy Act of 2012, which controls how personally identifiable information can be released. Some of our bus operators are sole proprietors, who are protected by the DPA, and displaying the information we discussed, while harmless by themselves, may lead to privacy concerns when combined with other data. And while corporations are not covered by the DPA, I decided that for uniformity and fairness, that those personally identifiable information that I do not display for sole proprietors be hidden for corporations as well. But, of course, if you need that kind of information, you’re better off going to the LTFRB anyway, since they are more equipped to handle those kind of requests.

    The third section is the Photo Archive where you can access the different photostreams for our contributors. We have received commitments from various bus photographers to contribute to our project, so always visit our site for updates on the photostreams!

    That’s all I have for now. In later posts, we shall discuss certain aspects of the database, clarifying some concepts, and answering some frequently asked questions. You may visit the bus database through this link. Ciao!

  • The beginning of Rubyserve

    The beginning of Rubyserve

    Hello, everyone! I am Jaybee, site owner and creator of Rubyserve, and let me welcome you to my site! In this post, let me tell you my background, how I started this project, my rationales, and what I plan to do moving forward.

    My coding background

    I was first introduced to coding during my college days, when I was required to take three computer science subjects for my BS Statistics course at UP Los BaƱos. Two of them were for the basic C programming language, but my favorite among them was the third (Object-oriented Programming) which introduced me to Java. I really credit my coding interest to my professor back then, who taught us the basics and encouraged us to go beyond it when doing our project, and who gave me one of my proudest UP moments by rating my final project as the highest among the class. (If my professor back in 2011-2012 is reading this, I want to say you’re the best!) That final output, which I called Transport Manager and Monitoring System was a manifestation of my dream to someday build a transport management computer system.

    The project that started it all for Rubyserve

    However, when I shifted courses, I followed what I thought what I wanted best that time and pursued an education degree in Social Studies (don’t get me wrong, I love this course). My coding took a back seat for the good part of the decade because of my studies, but I come back to it once in a while as a hobby, even creating a basic manual poll-counting program for my department’s annual student council elections for some years. And even when I graduated and eventually became a teacher, coding never escaped me entirely; during my second year teaching and I was assigned as the school librarian, I attempted to code a library catalog system to make my life easier.

    During the COVID-19 pandemic, I resigned as a teacher because I started to wear out from interacting with so many people in a span of 3 school years (yes, being a recluse sucks when your job requires socialization). I got a job as a freelance delivery rider, and with some of my newfound free time I decided to take an online Android programming course set up by TESDA. It was a delight, learning so much about mobile programming, and I was inspired to go back to my overarching project to build a transportation system. Back then, online reservation systems were just booming, and electronic ticketing systems were specialized. So I decided to create a bus ticketing system to be installed on an Android POS device, and made a prototype based on that.

    Screen capture from a video featuring my prototype on a Samsung phone, as a proof of concept

    But I realized back then that my skills were still lacking, as I was using Google Sheets back then as a database. So I studied some more on my own, and eventually came into HTML development. Along with studying HTML, I realized that what I really needed to realize my dreams was my own server, not only to have a site to test my programs, but also to put into practice what I was learning about server creation and management along the way. Thus, in 2024, rubyserve.com was purchased as my domain, and my project creation has been in full swing since then.

    To apply what I self-learned about web programming, I decided that a small project would be best to serve as a prototype for my future projects, as well as serve as a portfolio so that potential customers can see that I really have a working site. Thus, I started Rubyserve with the Bus Database PH project. It may be basic (and quite ugly) but hey, it works! And there’s nothing to do but to improve it in the future, but it proved to everyone (including myself) that I can do this site.

    The Rubyserve Philippine Bus Database main page during its launch

    My bus enthusiast background

    My bus enthusiast background runs for longer than my coding background! I started browsing bus photos in 2008, but it is not until October 2009 that I actually started taking photos of buses, using my Nokia phone. Unfortunately, I purged my oldest bus photo out of my Flickr because back then, only 200 photos were featured for free photostreams, so the oldest that remained (thankfully still in 2009) was this:

    Mega Bus Lines 9114-5, taken November 1, 2009, currently my oldest photo

    My Flickr bus photographer career eventually spanned 10 accounts, three main cameras, and around 1,500 photos across 3 years from 2009-2012 and a brief resurgence in 2017. I used the handle Silverblur so some of the frequent browsers of Flickr may remember me as one of the “spec-masters”, who were fond of captioning our photos with specifications of buses.

    Due to some personal issues I faced in the middle of 2012, I took a hiatus from bus photography, but never quite have forgotten my biggest interest. In 2016, after the release of the DOTC Open Data, which included data on provincial bus franchises, I undertook one of my biggest project back then: my personal Bus Inventory, which lists each and every bus running in the Philippines (realistically, only the data I can get my hands on were in it). This Bus Inventory served me well and led to me being inducted as an administrator of Philippine Bus Photographers Association (PBPA), the group which I am still proud of, and to whom I initially created the Bus Database PH for. (To disclose, the PBPA is one of the reasons I took a hiatus in 2012 because I was involved in bashing them, and a few others as well, so by being ironically inducted as their admin 6 years later in 2018 made me go out again as a bus spotter. Everyone was cool with that story anyway, so I have no problem sharing that!).

    The Bus Inventory served me well when studying many aspects of the bus industry, as with that inventory I managed to understand things such as franchising processes and trends in the bus industry. This led me to being acknowledged as the PBPA’s “walking LTFRB” as I can explain some complicated aspects about franchising with ease. (Another disclosure, I am also a transport operator now, though in a different denomination, but still the same concepts). Eventually, I have two trusty companions, Ron and Juswa, who maintain the Bus Inventory with me to make sure it is up to date.

    As to photo contributions, I rarely go out now due to financial constraints, but when I do, I spot early morning until sunset (or realistically until I got drowsy), or as I call it, “Hop Till You Drop” (a phrase I coined in 2012 and is proudly printed on t-shirts for PBPA). My memory card contains no less than 400 photos on a good day, and sometimes my 8GB memory card would even be fit to bursting!

    The Bus Database PH project is basically a wedding of my coding and bus-enthusiasting, combining my two interests into one website, free for all to browse so that I can share what me and my colleagues have.

    The actual photo I used as a background for one of the Bus Database PH elements, taken in 2013.

    Where the name Rubyserve came from

    The name “Rubyserve” is a portmanteau of “ruby”, which is my birthstone, and “reserve“, as in ticket reservation, as the first project I undertook under this name was the prototype for the bus ticketing system (actually part of a bus reservation system). I figured the “serve” part would serve (hehe) me well as the Rubyserve projects is to eventually be for the service of multitudes of passengers, students, and enthusiasts. The usage of Ruby is adapted from my first blog, Rubygem, which eventually became my business name for various dealings (most importantly Rubygem Transport Service, my TNVS business).

    What lies in the future

    The Bus Database PH, as I said previously, is a prototype of things to come. So what actually is to come?

    For now, I have two major projects in mind:

    1. The Bus Reservation and Ticket System, which is essentially the continuation of my first mobile app project. This project is to create a digital bus trip booking system, quite similar to some of those already in market, but hoping to differentiate in that it is to be twinned with the POS-style ticketing system, enabling bus conductors to confirm bookings on the fly and maybe someday allow on-demand, on-the-spot bookings. Eventually, I was hoping to expand this with the Bus Operations Management System, which would include maintenance scheduling, payrolls, and all the management stuff.
    2. The School Student Management System, which is similar as well to some of those already in market, but we’ll see how I can differentiate it when the project is in full swing! This is in partnership with my two best friends who are (still) teachers.

    The beginning is always the most humble part of any website, and mine is no exception. I still have a lot to learn to accomplish my ambitious goals, but if Bus Database PH proved anything, it’s that a good enough dream could drive a person into doing what he thought impossible 2, 3, 5, or 10 years ago (really, if you told me in 2012 that I’ll grow up to have a website I built myself, I might have laughed at you). Here’s hoping to a successful and inspired programming business, and I hope you stick around long enough to see me accomplish all this! Everyone’s support means so much for me. Many thanks for taking your time to read this!