Skip to content
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

Multipolygons #129

Merged
merged 20 commits into from
Mar 25, 2025
Merged

Multipolygons #129

merged 20 commits into from
Mar 25, 2025

Conversation

Aiosa
Copy link
Member

@Aiosa Aiosa commented Mar 12, 2025

Adds ability to brush with multipolygons.

@Aiosa
Copy link
Member Author

Aiosa commented Mar 17, 2025

@simonasarvasova good job. it's really coming close!

There was a mode for this tool that allowed remove/add on right/left click:
image

which does not work anymore. It should route left click to 'add' right to 'remove', functionality, ignoring the presets. It should not create new annotations.

}

exportsGeometry() {
return ["path"];
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before merging I would also like to have working export to geojson + asap xml formats, I was thinking about helping there but I realized the export contains 'path'. Is this computable without having the 'path' exported using the points only? I would propose

exportsGeometry() {
        return ["points"];

and remove the path from any export, have it computed on load time...

Then, each convertor could only work with 'points'. Which is more standard way.

@simonasarvasova
Copy link
Contributor

@Aiosa sorry what's wrong with the fftool correction again? It's working as you describe when I try it.

@Aiosa
Copy link
Member Author

Aiosa commented Mar 18, 2025

Sorry, my mistake. It works.

@Aiosa
Copy link
Member Author

Aiosa commented Mar 18, 2025

The only issue I see here now is then with the exporting abilities + path prop described above...

return new Promise((resolve, reject) => {
input.objects.forEach(obj => {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More or less okay, but I would - for nicencess, add the execution of the logics to the factory, so it can do whatever it wishes to... I will add at least a todo comment

@Aiosa
Copy link
Member Author

Aiosa commented Mar 25, 2025

@simonasarvasova small bug: if I select + brush, and then switch to viweport segmentation, it still does brushing

likely caused the fact that I run no slides/masks just the default not found page:
image

@Aiosa
Copy link
Member Author

Aiosa commented Mar 25, 2025

@simonasarvasova I fixed it :)

@Aiosa
Copy link
Member Author

Aiosa commented Mar 25, 2025

Added few more fixes, LGTM. Great job!

@Aiosa Aiosa merged commit 1ab4604 into master Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants