joulev / mrt-badges

A small service rendering the SVG station badges of Singapore MRT stations
https://mrt-badges.joulev.dev
MIT License
9 stars 1 forks source link

Official vector graphics #1

Open SuibianP opened 2 weeks ago

SuibianP commented 2 weeks ago

Thanks for the work! I am trying to do some SG MRT 音MAD and this helps a lot!

FWIW, the official vector graphics are actually available as various assets of https://www.lta.gov.sg/content/ltagov/en/map/train.html, including the full system map and the badges of individual current lines e.g. https://www.lta.gov.sg/content/dam/ltagov/img/map/mrt/Icon_Sengkang_LRT.svg. The fonts are vectorised though.

The official vector graphics of upcoming lines might have been available at the LTA Connecting People, Places & Possibilities exhibition which included an interactive future MRT map, but I cannot find any functional archives of https://www.connectingppp.lta.gov.sg thus unable to verify.

joulev commented 2 weeks ago

Yes, actually I also managed to get the full system map in SVG format earlier shortly after Teck Lee LRT opened: Download (1.2 MB). LTA used to host this SVG file directly but apparently shifted to a PDF now.

Annoyingly, LTA doesn't seem to use one single shade of colour throughout their maps. For the North East Line, in the SVG above the hex is #9900AB, but in a PDF map from TEL3, the North East Line is #8B2D9A. And in another vector file, the hex is #9E28B5. Extremely similar colours, the difference can hardly be seen with the naked eye, but they are still different colours. And when we don't have a single colour used officially everywhere, we can't call any of these colours the official colour.

Also none of the official vector maps have the colours of JRL (teal) and CRL (lime) under construction. For CRL, I at least have this raster image with a reasonable amount of evenness at the bottom to use an eyedropper on, so the shade of CRL used in this repo should be close enough. For JRL I can't for the life of me find a high-quality image where eyedropper doesn't change colour every pixel, so... yeah. Jurong Region Line colour shade is still unknown.

SuibianP commented 2 weeks ago

JRL seems to be #00B0BE based on the Location of Stations illustrations, which is relatively uniform.

I have submitted an enquiry to LTA, not sure if they would care to clarify though...

joulev commented 2 weeks ago

Unfortunately not uniform enough... I get these just from the region around "JR1" in Choa Chu Kang

image

Hopefully LTA will reply. Previously they replied to the public asking whether CCL is orange or yellow, so there is hope.

It would be best if they just released an updated map like CRL, but I guess that requires the station names to be finalised, and the polls for the station names have not even been conducted yet.

SuibianP commented 2 weeks ago

I meant the illustrations of individual stations, such as

Those have a decent level of uniformity at the station fill and to the bottom right corner.

joulev commented 2 weeks ago

OHH yeah you are right! Updated the source code, thanks!

That said, it's still not perfectly uniform (which is not surprising for LTA, to be honest). I got #00b0be and #00b0bd from two different spots. Though since it is only different by one single point over 2^24, so it is as close as we can get already, considering LTA themselves don't use the same shade everywhere.