STB Logger App banner

STB Logger App

3 devlogs
28h 20m

An app for logging trips with public transport in Bucharest (STB)

Demo Repository

Loading README...

stecker

I’ve traced a lot of the public transport lines in Bucharest using an online tool (it took longer than I wanted). I’ve tried multiple ways of importing them in my custom map and now I’m writing a JS program that will automatically convert and format the individual gpx files into geojsons with properties like “lines”, “direction”, “length”.
I’ve also worked on the app: I’ve designed the trip card, which displays a bit of information about every trip. It will eventually also have an automatically generated image of a map. I’ve also added a warning for when there is no internet connection as well as syncing with my Google Firestore databases that store the lines with their ids, and the stops with their ids, names and coordinates.

Attachment
Attachment
0
stecker

I found a database of all the stations in Bucharest. It was in a csv format, and I removed the properties that weren’t relevant and transformed it into a json file. I then had to write a function that imports json files into the Cloud Firestore online database from Google. I will be using it in my app.
I then started working on the maps that will be shown next to each of my trips. I had to trace all the lines by hand, while also splitting the gpx files at every stop. I recorded timelapses of this, but unfortunately, I can’t sync all of them, as they would surely account for more than 10% of my time.
In the pictures you can see the map I’ve made for the subway system, as well as the database with stops visualized on a map.

Attachment
Attachment
0
stecker

I created a theme for the app. This took some time, as I wanted it to be as I imagined it. It’s mostly black/white depending on the system theme, but I am planning to add colourful accents. I made a custom top app bar, as well as a simple card that will display the details of a trip. Additionally, I created other classes that I will need in the future.

Attachment
Attachment
0