Title: List format

Hi group,

I have a lot of data in this list format:

somelist{0}.fieldname = 'length'
somelist{0}.fieldvalue = 7.3
somelist{1}.fieldname = 'kind'
somelist{1}.fieldvalue = 'paved'
somelist{2}.fieldname = 'lanes'
somelist{2}.fieldvalue = 2


I want to convert into this list format:
somelist{0}.length = 7.3
somelist{1}.kind = 'paved'
somelist{2}.lanes = 2

In other words, I want to convert an attribute value into an attribute name. Which is the best strategy to accomplish this task in Workbench and/or FME functions and factories?


Thanks to help me,

Jean-François Beaudry
Technicien en géomatique

Hydro-Québec
Géomatique, relevés techniques et gestion des données
Direction - Environnement et services techniques
Direction principale - Expertise
Place Dupuis
9e étage                                            Tél. : (514) 840-3000,
855, rue Sainte-Catherine Est                             poste 4230
Montréal (Québec) H2L 4P5               Téléc. : (514) 840-4233
[EMAIL PROTECTED]   http://www.hydroquebec.com



Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our Professional Services team.  Visit www.safe.com/services for details.



YAHOO! GROUPS LINKS




Reply via email to