-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Coordinate sainity check #131
Comments
Room 0104.U1.421 still has these useless coordinates. |
Yes, never got to that , but since this is now warned in CI (and the room frankly is not important to walk there with priority) Maybe I will get to it sometime.. if you know the coordinates that would be appreciated ^^ |
What is the best way to retrieve these coordinates, because GPS on my mobile phone is really bad inside buildings even with assisted GPS turned on an using "precise location"? Eye balling it from the outside of the building I would say the coordinates are something near 48.15093/11.56864, but even showing the coordinates of the building and then the message "Die angezeigte Position zeigt nur die Position des Gebäude(teils). Die genaue Lage innerhalb des Gebäudes ist uns nicht bekannt." would be much more helpful than this definitely wrong location. Given the interactive map ("Interaktive Karte") or "Lageplan" from other rooms in that floor I know where on these maps it should be. How can I add a location to one of these maps in a good way? |
Currently, that is not great, I know. I usually just estimate the coordinates. I hope that getting the data-deal with tum which #1325 is buildign on can improve this quite a lot.
If you mean editing the actual maps, these maps are locaed
Coordinate overrides are locaed here, the base data here comes from the legacy mytum roomfinder, hopefully this can be moved to CAD-Data and manual patches via #1325. |
I seem to have set the coordinates slightly wrong, but this is difficult to do blindly for a room that is probably 4.09m². Can I somehow change this iteratively and see where it comes out in the interactive map in order to find the correct point? Is there anything I can help with with the data deal you mentioned? I will try to look at the maps whether I can infer, how I can edit them to make a PR for corrected ones. If you have any additional instructions/help in that regard, that would be greatly appreciated. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
Hm, this link you already put behind the first "here", where it makes sense, but it does not make sense for the last "here". |
True, did not read correctly. I meant this file |
@CommanderStorm Also I noticed, that https://raw.githubusercontent.com/TUM-Dev/NavigaTUM/main/data/external/results/rooms_roomfinder.json does list default maps and for e.g. for the N-1421 this is the "Stammgelände Basiskarte" and the only one one can select. |
Yes, mytum used to under-select building plans a lot. We trew this into the dumpster pretty quickly, as that not reporting maps if you have them is not great. While overriding is possible, this bug is not the only time it has been reported:
Read:
|
@CommanderStorm Thanks for correcting the coordinates. Now it is correct! |
Is your feature request related to a problem? Please describe.
as noticed in #129, some oviously wrong coordinates (for example https://nav.tum.de/room/0104.U1.421) exist.
Ideally, we should notice (and then fix) these coordinates before we see them in production.
Describe the solution you'd like
I would like to have a coordinate check. This could be implemented via a coverage approach
(max(lat)-min(lat))*(max(lon)-min(lon))
or via an absolute distance approach.The distance thresholds could be hardcoded or infered from the 95'th percentile of buildings in the same category
Describe alternatives you've considered
Not implementing such a check and waiting for user feedback, that indeed their shower is not located in africa..
Additional context
These cases seem to be really rare.
There are most likely only a single digit amount of rooms, that are affected.
The text was updated successfully, but these errors were encountered: