-
Notifications
You must be signed in to change notification settings - Fork 31
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
Make vertices draggable and droppable #268
base: main
Are you sure you want to change the base?
Conversation
Hey @merydian you leaked your API key in this branch. Best remove it from the commit, force push to the branch, delete the key from your account and create a new one :) |
Incredible work @merydian ! Only comment from my side, it would be cool if the preview feature can work on an existing list of points when toggled.
|
4d2d2aa
to
4dbf6dd
Compare
Hey,
|
Two more comments:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two more general comments:
- on profile change, the preview should be re-generated
- tests are missing.
As for the translation:
As usually, you can provide the tr()
-functions, I will provide the translation.
ORStools/gui/ORStoolsDialog.py
Outdated
"Please use a different point", | ||
"""Could not find routable point within a radius of 350.0 meters of specified coordinate. Use a different point closer to a road.""", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Translation is missing.
ORStools/gui/ORStoolsDialog.py
Outdated
"""Could not find routable point within a radius of 350.0 meters of specified coordinate. | ||
Use a different point closer to a road.""", level=Qgis.MessageLevel.Warning, duration=3) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Translation is missing
ORStools/gui/ORStoolsDialog.py
Outdated
"Please use a different point", | ||
"""Could not find routable point within a radius of 350.0 meters of specified coordinate. | ||
Use a different point closer to a road.""", level=Qgis.MessageLevel.Warning, duration=3) | ||
Use a different point closer to a road.""", | ||
level=Qgis.MessageLevel.Warning, | ||
duration=3, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Translation is missing
ORStoolsDialogUI.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment on ORStools/ORStoolsDialogUI.py
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be the functionality currently found in run_gui_control
in ORStoolsDialog.py
.
Can these two functions be merged together?
There is a bit more error handling in the other as well, such as checking for duplicates.
ORStools/gui/ORStoolsDialog.py
Outdated
"Please use a different point", | ||
"""Could not find routable point within a radius of 350.0 meters of specified coordinate. | ||
Use a different point closer to a road.""", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Translation missing
Moreover, we should look at getting this combined with the ESC/Right-Click feat merged yesterday. |
8a21dbd
to
4c15f92
Compare
This includes all new changes, makes #222 obsolete, closes #204 and is related to #206.