Update polygone center algorithm#6579
Update polygone center algorithm#6579NariaReynhard wants to merge 84 commits intostreetcomplete:masterfrom
Conversation
Added and filled the backlog for first sprint
…op of the document Added a new entry for telework on 18/09/2024.
…lete#6457, the icons of the quest need to be updated
…progress : actual polylabel implementation
…is branch as close as possible from original SC repo
| 69 to AddBikeRentalType(), // generally less overlap of possible types/fewer choices/simpler to answer | ||
| 70 to AddBikeParkingType(), // used by OsmAnd | ||
| 71 to AddBikeParkingAccess(), | ||
| 72 to AddBikeParkingFee(), |
There was a problem hiding this comment.
you seem to have unrelated edits and commits
There was a problem hiding this comment.
Might have done a mistake while trying to revert some changes made from our group that have nothing to do with this specific PR, I'll look into that to fix the issue
There was a problem hiding this comment.
Ok I know what happened.
We did join everything on our master branch at some point. We reorganized our way of working to be able to PR one feature each time, so I cleared my branch manually because it was already opened before we cleared our master.
The thing is, one of our quests got accepted in the meantime, meaning that the PR sees it as if I actively deleted it with intent.
I fixed questmodule.kt already, I'll fetch the missing files and readd them to my PR and we should be good to go
westnordost
left a comment
There was a problem hiding this comment.
There are still unrelated changes. You can check for yourself (latest) in the "Files Changed" tab. Maybe put your code into a new PR instead of trying to revert all those changes made in that fork-repo?
- Assuming it is a port (of the java port? of the original?) You should add a comment where you describe from where this was ported.
- the place where you ported it certainly had test cases, right? These should be ported, too
- where is the difference between a
Pointand aLatLon? Do we need thePoint? - why is the extra data structure
Polygonneeded? Can't it operate on aList<List<LatLon>>, just like for exampleList<List<LatLon>>.measuredMultiPolygonAreadoes? For consistency within the project - PriorityQueue: I am not familiar with it. It would be nice if there was a doc comment that explained what it should do. What are you trying to do?
poll()for example reads like it returns the first element, but then removes the last element and replaces the first element with it, only to basically bubble-sort that element back to the end of the list?? If I understood that right, it sounds very imperformant!
|
I'm confused on how those appeared, I'm conviced I checked there were no unexpected changes so I don't know how they are here. I'll give it a look to fix all that next week, I'm still way too busy for now to work on that this week. I'll give a look into everything you mentionned, I admit the maths kinda melted my brain and I don't remember everything I did, I'll give a look into that as well and keep you posted. Thank you for the feedback |
…/HugoTHOLLON/StreetCompleteSAE_S4 into update_polygone_center_algorithm
…is PR because of another of my group's PR
…an issue in values swapping
Okay so I've looked a bit into it and am now able to come back to you.
If you have anything more on your mind while I look into those tests, feel free to ask me, we're less available than at the start, but we didn't forget nor give up on StreetComplete ! |
As mentioned in #4965 fixed the awkward placement of some of the quest marker in center of polygons. The change is mostly contained in a single folder.
Fixes #4965