Nikhil,
I loaded your S57. Here's a typical output for FIDN in US500001.000 S52.c:2719 in S52_loadLayer(): LOADING LAYER NAME: LIGHTS S57ogr.c:81 in _setAtt(): FIDN:44884 S57ogr.c:81 in _setAtt(): FIDN:44877 S57ogr.c:81 in _setAtt(): FIDN:44885 S57ogr.c:81 in _setAtt(): FIDN:1521038204 // --> 44886 ! S57ogr.c:81 in _setAtt(): FIDN:-1257713504 // --> 44887 ! S57ogr.c:81 in _setAtt(): FIDN:-72495485 // --> 44888 ! S57ogr.c:81 in _setAtt(): FIDN:-2048579800 // --> 44889 ! S57ogr.c:81 in _setAtt(): FIDN:44880 S57ogr.c:81 in _setAtt(): FIDN:44872 S57ogr.c:81 in _setAtt(): FIDN:44881 S57ogr.c:81 in _setAtt(): FIDN:44873 S57ogr.c:81 in _setAtt(): FIDN:44882 S57ogr.c:81 in _setAtt(): FIDN:44874 S57ogr.c:81 in _setAtt(): FIDN:44883 S57ogr.c:81 in _setAtt(): FIDN:44875 S57ogr.c:81 in _setAtt(): FIDN:44876 S57ogr.c:81 in _setAtt(): FIDN:44879 S57ogr.c:81 in _setAtt(): FIDN:44878 S57ogr.c:81 in _setAtt(): FIDN:44886 S57ogr.c:81 in _setAtt(): FIDN:44887 S57ogr.c:81 in _setAtt(): FIDN:2054113595 // --> 44888 ! This chart is in the Indian Ocean in the middle of nowhere ! Sound like a chart you've made yourself. That lead me to think that the culprit might be the soft that made this S57. Most of your FIDN seem consistent but, for example, the 4th line: 1521038204 should be 44886 Sound like a rollover or something like that .. rgds, Sylvain. >________________________________ > From: Nikhil Sai Parupalli <nikhil.parupa...@iictechnologies.com> >To: "gdal-dev@lists.osgeo.org" <gdal-dev@lists.osgeo.org> >Cc: 'Frank Warmerdam' <warmer...@pobox.com>; 's duclos' ><sylvain_duc...@yahoo.com> >Sent: Tuesday, December 11, 2012 2:19:26 AM >Subject: FIDN-issue > > > >Hi , > >In my application I am fetching S57 data set where it is fetching FIDN with >negative value which is wrong because FIDN should be in Range: 1 to 2 power >32-1 >Is there any instance that any one got the same issue. >If the same data source is loaded in Caris Easy view it is showing some other >legal value. > >Please load the sample data with any application in open source it will show >the same as mentioned above > > > > > >Thanks and Regards >Nikhil Sai Parupalli > > > _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev