As far as I remember, the Shape file reader only creates geometry and does not associate any attribute data with the geometry If you look at the source code your can confirm this yourself,
If this is still the same then this means you will have to write a mechanism to associate the attribute data with a given geometry Gordon Tomlinson 3D Technology System Engineering Consultant Overwatch® An Operating Unit of Textron Systems __________________________________________________________ "WARNING: Documents that can be viewed, printed or retrieved from this E-Mail may contain technical data whose export is restricted by the Arms Export Control Act (Title 22, U.S.C., Sec 2751, et seq,) or the Export Administration Act of 1979, as amended, Title 50, U.S.C., App. 2401 et seq. and which may not be exported, released or disclosed to non-U.S. persons (i.e. persons who are not U.S. citizens or lawful permanent residents ["green card" holders]) inside or outside the United States, without first obtaining an export license. Violations of these export laws are subject to severe civil, criminal and administrative penalties." -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Sanat Talmaki Sent: Saturday, January 29, 2011 9:20 AM To: [email protected] Subject: [osg-users] Accessing Shapefile (GIS) Attribute in OSG Hi, I have loaded a number of shapefiles using the shp plugin into my scene. I am trying to display the attributes of my shapefile in a billboard. Though right now I am a little confused if I can even access the attributes of my shapefile in the OSG application Hoping for some advise.. Thanks in advance. Sincerely, Sanat. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36140#36140 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

