|
From: Thorsten K. <Tho...@pt...> - 2007-08-06 14:46:10
|
When I debug my application, I can see the attribute names but I don't = know how to get them because it seems that there are no getter-methods = and the fields are not public. The debugger tells me that the attribute names are nested like this: =20 (reader =3D FIDFeatureReader) reader->attributeReader->metaData[0]->name =20 Do you know how I can get access to this name? -----Urspr=FCngliche Nachricht----- Von: geo...@li... = [mailto:geo...@li...]Im Auftrag von = Thorsten Kraus Gesendet: Montag, 6. August 2007 16:15 An: Geotools-MailingList (E-Mail) Betreff: [Geotools-gt2-users] Retrieving attribute names from shape = files Hello,=20 I am able to get the type of an attribute of a shape file. So it is = possible to detect if the attribute is a geometric type, a text type or = a numeric type. Can you tell me how I can detect the name of an attribute, for example a = column which is named 'id'?=20 Regards,=20 Thorsten=20 |