Starting a new thread with better title.


What Michaël was thinking about Sextante actually works already. There is a 
rename field process in the vector tools and several renames can be chained 
with the graphical modeler. See the attached image. Once the model is saved it 
can be used from Sextante toolbox. OpenJUMP user must first set the folder for 
the models with the Sextante settings tool.



Sextante does not rename fields in place, it makes a copy of the layer.



-Jukka Rahkonen-



>Hi,



>Renaming attributes to be compatible with shapefile specification is a common 
>need.

>I also had this need and decided to go through configuration files. With 
>layers having

>20 to 30 attributes each, if you have to rename attributes more than one or 
>two times, a graphical interface will not do it.



>Currently, I just have a quick and dirty plugin, and I'm not completely 
>satisfied with it but I would be happy do discuss possible improvements. 
>Current choices and limitations :

>1 - not linked with drivers : layer names and attribute names are changed in 
>the project

      -> not possible to remove geometry column

>2 - renaming is not undoable

     (structure change is generally not undoable in OpenJUMP)

>3 - I choose plain text file rather than xml to keep it as simple as possible



>Notice : this is more a ETL capability. Wonder if it could be integrated to 
>Sextante modeler.



Michaël



------------------------------------------------------------------------------
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to