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

geom ops suffix: query cache to see what the next suffix number should be #10

Open
caver456 opened this issue Feb 4, 2022 · 1 comment

Comments

@caver456
Copy link
Collaborator

caver456 commented Feb 4, 2022

Currently, cutting A once, then cutting A again, will result in two A:1 shapes. Query the cache at the time of the geom op to set the starting index for suffixes, so that there will only be one A:1 and one A:2

@caver456
Copy link
Collaborator Author

This should still be done, but will probably not be relevant as often, since useResultNameSuffix defaults to False for crop (but True for cut). It does mean that trying to do geometry operations on a result of a crop operation will be ambiguous since all results will have the same name, but the workaround for that, if really needed, would be to change the name of the feature in question before trying the geom op.

@caver456 caver456 transferred this issue from ncssar/sartopo_python Jul 8, 2024
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

No branches or pull requests

1 participant