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

Add more flexibility with input layer (implemented already) #19

Open
yannikw0 opened this issue Dec 4, 2023 · 0 comments
Open

Add more flexibility with input layer (implemented already) #19

yannikw0 opened this issue Dec 4, 2023 · 0 comments

Comments

@yannikw0
Copy link

yannikw0 commented Dec 4, 2023

Hi,

I played around with the script a little bit to add more flexibility to the processing of the currently selected layer.

  • Option "Name from layername": I removed the "string field value" as an obligatory input for the plugin to work. In my edited script I added an option to create poylfilenames from the layername and the feauture id. This also works if there are no fields at all in the current layer.

  • Option "Name from field value": I changed the pre-selection of fields to checking if the values in the fields are unique and not empty. This is important since in the current script all values in a string field can be the same value which will result in overwriting the output poly file. The fieldtype now could also be an integer or another datatype tha tallows unique values.

  • Communication: Lastly I changed the way the plugin communicates with the user. There is just one pop-up-window with all the info and options together with an output folder path selection. I'll include a screenshot here:
    grafik

Are you interested in my edits or parts of it? I can make a fork and a pull request out of it.

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