I don't know if this helps but I do this for S57 on startup of my app:

 

_putenv("OGR_S57_OPTIONS=RETURN_PRIMITIVES=ON,RETURN_LINKAGES=ON,LNAM_REFS
=ON,SPLIT_MULTIPOINT=ON,ADD_SOUNDG_DEPTH=ON");

CPLSetConfigOption("OGR_S57_OPTIONS",
"RETURN_PRIMITIVES=ON,RETURN_LINKAGES=ON,LNAM_REFS=ON,SPLIT_MULTIPOINT=ON,
ADD_SOUNDG_DEPTH=ON"); 

 

Maybe the LNAM_REFS=ON will solve your issue.

 

Best regards,

Martin

 

From: gdal-dev-boun...@lists.osgeo.org
[mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Neelima Emmani
Sent: Friday, September 21, 2012 1:15 AM
To: Hilda Villegas
Cc: gdal-dev@lists.osgeo.org
Subject: Re: [gdal-dev] s57 layers

 

Hi Hilda, 

I gave system variables the path where my *.csv files are. But even then
the situation is same. Is there any other help you can suggest me.

 

With Regards,
Neelima Emmani
GIS Developer
Phone Number - 04039144487
Mobile Number - 9490817875

  _____  

From: Hilda Villegas [hilda.ville...@navico.com]
Sent: Friday, September 21, 2012 11:00 AM
To: Neelima Emmani; gdal-dev@lists.osgeo.org
Subject: RE: s57 layers

Hi Neelima,

 

I was dealing with the same issue some time ago, you have to add a system
variable called GDAL_DATA pointing to the s57 .CSV files location (you can
find them in the data folder. You will need s57attributes.csv,
s57objectclasses.csv and s57expectedinput.csv at least) unfortunately
these files are not updated with the latest changes from IHO, so all
updates from S-57 Supplement No 1 and No 2 to Edition 3.1 are not
reflected into the .CSV files.

 

I hope this helps.

 

Best Regards,

 


HILDA VILLEGAS 

 

From: gdal-dev-boun...@lists.osgeo.org
[mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Neelima Emmani
Sent: Thursday, September 20, 2012 9:59 PM
To: gdal-dev@lists.osgeo.org
Subject: [gdal-dev] s57 layers

 

Hi All,

I am trying to load s57 dataset into a windowform using C# coding. The
datasoruce is read well. But the layers are not presented properly. Layers
are shown as below instead of layers like ACHARE, BCNSPP.....





Actually I have 49 layers in my map.Can anyone tell me why is this
happening?Any help is appreciated. 


 

 

With Regards,
Neelima Emmani

 

<<image001.png>>

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to