Closed rikgale closed 3 years ago
Do you have a sample of these files? Also, are they hosted somewhere online (ideally as a ZIP / TAR / TGZ or otherwise compressed file), so I can tell the container to "pull" them on a regular basis?
If anything, I would want to implement something like this (which is similar to the way the plane-alert-db.csv updates work):
Also, keeping in spirit with the existing lay-out, I may want to put the image in the FIRST COLUMN, but I am open for suggestions and can be convinced otherwise. (An image in the middle of a table isn't too visually appealing, in my opinion.)
"Do you have a sample of these files?" Yes - I have them in my github repo https://github.com/rikgale/VRSOperatorFlags/raw/main/Silhouettes.zip
ZIP needs an update as have created a fair few more of late, but location will be the same. - now updated
List of names also available https://github.com/rikgale/VRSOperatorFlags/raw/main/Silhouettes.csv
"the FILE NAME would have to correspond to the ICAO Plane Type" - They are all aligned with ICAO type codes so they work with VRS and Basestation (This is a must for other users including myself, hence the BMP file type as this is the ONLY file type supported by VRS and Basestaion).
As for capitalisation - filenames are all CAPITALS again for VRS/Basestation use.
All silhouettes I create will have the file name aligned accordingly. The only exceptions to this would be where an a/c doesn't have an ICAO code, but if you are pulling the ICAO type from sportbadgers list then I can make sure the names/ICAOs all match as I've been populating the ICAO type codes for him.
Keep them to the left if that works for you :)
FYI SB and I have a way of highlighting missing silhouettes in the backend of his list so we will be focusing on getting those completed first.
Insert a new column next to the ICAO (tag3) column and use the information from this ICAO column to pass to a variable and use this to create a link to a file (files probably best stored within the container - or stored in .planefence folder). This would then display a small image of a silhouette for each type of a/c on each line.
Please excuse the crude hack job.
All the silhouettes I use and make are of the name format ICAOTypeCode.bmp and are 85*20 px in size.
eg Boeing C-17 Globemaster = C17.bmp
Ideally has to be a bmp file as this is the standard used by VRS for which I have started making silhouettes. Could probably turn them into png files with a transparent background, but at the moment they are only bmp
Would need to gave a blank image, for those where there is no data in the tag 3 (ICAO) column or for those where a silhouette has not been created yet (I'm still working on making more)