Randy, In s-57 the features are added to a layer named after the shortname of the feature's class. These short names can be translated to more meaningful names using the s-57 catalogues. Refer to http://gdal.org/ogr/drv_s57.html for more details.
2009/9/12 Randy <randyqi...@hotmail.com>: > Chaitanya kumar CH, > Thanks a lot! > Yes, I know I should get other informaion from OGRLayer、OGRFeature、etc. > But can you tell me which functions can answer my two questions? > > -----邮件原件----- > 发件人: Chaitanya kumar CH [mailto:chaitanya...@gmail.com] > 发送时间: 2009年9月11日 23:40 > 收件人: Randy > 抄送: GDAL/OGR mailing list > 主题: [?? Probable Spam] Re: [gdal-dev] which function can fetch some > supplementary(but necessary) information of geometry from s-57 file? > > Randy, > > OGRPoint is a geometry, which is stored as a part of a feature in a > layer of the dataset. Any other information about the geometry is > usually acquired from the OGRLayer and other fields in the OGRFeature. > Hope this helps. > > 2009/9/11 Randy <randyqi...@hotmail.com>: >> Hi all, >> >> 1. For instance, as respect to "point" in s-57 files, I can get its >> position with function "GetX" and "GetY" in OGR. However, I don't know how >> to get other information about this "point" . I think at least the point >> should tell me which symbol was placed in this position. I don't find such >> function in class "OGRPoint", then does such function exist and if the >> answer is yes, which one is it? >> >> 2. As respect to a "line" or "polygon", I assume it has information >> like " the line indicates depth contour"、"the polygon indicates Harbor >> area"... Then, I can draw them with appropriate color according to these >> information. Which function can tell me this? >> >> Thanks, your answer will be appreciated!! >> >> Best regards, >> >> Randy >> >> _______________________________________________ >> gdal-dev mailing list >> gdal-dev@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/gdal-dev >> > > > > -- > Best regards, > Chaitanya kumar CH. > > -- Best regards, Chaitanya kumar CH. _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev