<div dir="ltr">That's definitely a nice idea. I guess this was what you started working on at the Hackfest but i wasn't of much help since i wasn't understanding the idea completely... :-(<div><br></div><div>Here are some suggestions:</div><div><br></div><div>- There are some algorithms that have a custom UI and that you can take as example. The vector calculator is probably one of them</div><div>- You will need to create a custom UI for the modeler as well, in case you want to appear with a nicer dialog than the default one. Processing supports that, but there is no algorithm currently using it. I can take care of that once you have the basic UI finished</div><div>- Sounds like it would be a nice algorithm to have for editing a layer. That is, to modify it instead of generating a new one. You can do that by not having a visible output layer in the UI, and just returning the input layer source path instead as output value.</div><div><br></div><div>Let me know if you have questions.</div><div><br></div><div>Regards</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-20 16:52 GMT+02:00 Arnaud Morvan <span dir="ltr"><<a href="mailto:arnaud.morvan@camptocamp.com" target="_blank">arnaud.morvan@camptocamp.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
We want to create a new processing algorithm for manage table fields.<br>
<br>
This new algorithm would have :<br>
one standard input layer vector parameter<br>
one standard output layer vector parameter<br>
<br>
a specific fields mapping parameter composed, in columns<br>
source field name (optionnal)<br>
destination field name<br>
destination type, length, precision<br>
expression (default to the source field name)<br>
the mapping would be initialized, when possible, with the input layer fields.<br>
<br>
In the dialog :<br>
the first tab would present the normal input/output parameters and a button to go to the next tab<br>
the supplementary fields tab would contains the fields mapping<br>
<br>
The final goal is to supply a user friendly interface to manage table fields :<br>
rename fields<br>
change field types<br>
add new fields based on expression<br>
change fields order<br>
and save the result as a new file, temporary file or memory layer<br>
<br>
What do you think about this ? Any remarks ?<br>
<br>
Arnaud<br>
______________________________<u></u>_________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/qgis-<u></u>developer</a><br>
</blockquote></div><br></div>