[gdal-dev] s57 layers

Martin Chapman chapmanm at pixia.com
Sat Sep 22 13:40:42 PDT 2012


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-bounces at lists.osgeo.org
[mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Neelima Emmani
Sent: Friday, September 21, 2012 1:15 AM
To: Hilda Villegas
Cc: gdal-dev at 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.villegas at navico.com]
Sent: Friday, September 21, 2012 11:00 AM
To: Neelima Emmani; gdal-dev at 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-bounces at lists.osgeo.org
[mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Neelima Emmani
Sent: Thursday, September 20, 2012 9:59 PM
To: gdal-dev at 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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120922/b9ded4c3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 6933 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120922/b9ded4c3/attachment.png>


More information about the gdal-dev mailing list