gyft
gyft copied to clipboard
Add location for classrooms/venues
Like currently it shows N241 and likewise. If we add the proper lat-lng, it can be shown in Google Maps.
Progress Tracker:
- [x] Nalanda
- [x] Vikramshila
- [ ] Main Building
- [ ] All Departments
- [ ] Schools
- [ ] Centers
Since most of the times the location is a room number, if you show it on a map, it will point to the "Nalanda Classroom Complex" or "Vikramshila" which isn't that helpful.
Hey, it popped up in my mail today. Well, I had this is in my mind: When a user goes to Nalanda/Vikramshila, it would automatically log his attendance. So location is required. And at times the naming convention is confusing, I got confused by N241 and NC241 and went to Nalanda instead of Maths dep.
One friend from KOSS is already working on an android/ios app for this.
We can definitely add the location using a JSON of the places that classes can be held at. We should try to compile that, for eg, latlong for the departments, Nalanda, CIC, Vikramshila classrooms etc. If we have that, we can compare the venue to that and then put it in here. (Location previews on Google Calendar also look pretty, so I am down for this.)
Can you put up a list of todo items in the description of this issue?
Hey! @icyflame, let's compile it on a wiki page.
Todo looks good. Let's begin! Shouldn't take too long to get a small set of lat-longs, then we can implement the functionality here. (Also, we should keep Duplication in mind. I am sure some other department has a room called N241 etc)
When a user goes to Nalanda/Vikramshila, it would automatically log his attendance. So location is required.
Didn't get, can someone provide context for this?
And at times the naming convention is confusing, I got confused by N241 and NC241 and went to Nalanda instead of Maths dep.
Multiple Departments can have rooms with same name/number. What was the proposed solution for this?
Also, I tried to look for such a page but wasn't able to find it. Does that page exist? If it does, please share the link.
what is the status of this issue? is no one working on this?
Hello Shikhar, thanks for your interest in contributing.
Yes, no one is working on the issue. You can take it up. @chirag-ghosh and @rajivharlalka can help you.
Hello Shikhar, thanks for your interest in contributing.
Yes, no one is working on the issue. You can take it up. @chirag-ghosh and @rajivharlalka can help you.
Alright, I am up for it. Can you brief a little what are the tasks?
Sure @shikharsoni07 . So currently if you run the code, the location you get is the just the classroom name from the erp timetable. There is a full_location.json but it is used only if you are directly add to the calendar and not when you generate a .ics file. The location file also does not contain locations of all classrooms.
The idea is that along with the name of the classroom (and the building name), we also provide the latitude-longitude of the place in the calendar so that it will be easier for people to locate it.
What's the status of this? Is it partially done or is it done the best it could be? Because I saw some locations being updated for common places like nalanda.
cc: @shikharish
Nalanda and Vikramshila is done. I think that is enough.
Sure then, let's then keep this issue for the longer plan. As it is not possible for just us to compile all of the location, we can still take contributions from others.