Randy,<br><br>I think you need to fiddle with the preprocessor definition S57_BUILTIN_CLASSES during compilation. (<a href="http://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogrsf_frmts/s57/s57classregistrar.cpp">http://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogrsf_frmts/s57/s57classregistrar.cpp</a>).<br>
<br>I didn&#39;t work with S-57 format, so I don&#39;t know any more than you.<br><br><div class="gmail_quote">On Thu, Jun 17, 2010 at 1:51 PM, randy <span dir="ltr">&lt;<a href="mailto:randyqiuxy@hotmail.com">randyqiuxy@hotmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Peter,<br>
Thanks for your response!<br>
<div class="im">&gt;<br>
&gt;     I do not use s57 data, however I have written a number of programs which use<br>
&gt; OGR_FD_GetName ... and it has always returned the feature name, if set, or null<br>
&gt; for me.  Feature, as opposed to Layer, names seem quite uncommon, however;<br>
&gt; although I generally set feature names when creating data objects, I have rarely<br>
&gt; encountered them on input from other sources.  I have never investigated whether<br>
&gt; this is a failure in OGR to transmit the name or whether my presumption that<br>
&gt; there was no name to transmit is correct.<br>
</div>My problem is a little odd. In my Ubuntu9.04 OS,my application works well, however,<br>
in my new 10.04 LTS OS, I rebuilt GDAL and my application,then it refused to work.<br>
 So in my last e-mail,I asked Chaitanya whether the environment variable did anything bad.<br>
<div class="im">&gt; I&#39;m not sure how much that helps,<br>
</div>Yes,I appreciate anything you said above including experience,suggestion...<br>
<div><div></div><div class="h5"><br>
Best regards,<br>
Randy<br>
<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9494447584<br>17.2416N 80.1426E<br>