[gdal-dev] s57 layers

Neelima Emmani neelima.emmani at iictechnologies.com
Sun Sep 23 21:42:15 PDT 2012


Hi All,

Thank you for all the help. Today morning I could solve the problem by setting system variables. In system variables a new variable called GDAL_DATA should be set. Which was not set till now. Below is how I gave and now the system could read all the s57 dataset layers.

system variables:
variable name  GDAL_DATA
variable value    C:\Program Files\GDAL\gdal-data

Hi Tyler,
I worked with mapserver and openlayers. So, can you please be more precise in your question.Also you can check out lot of queries under
mapserver-users at lists.osgeo.org
openlayers-users at lists.osgeo.org

With Regards,
Neelima Emmani

________________________________
From: Tyler Mitchell [tyler.mitchell at actian.com]
Sent: Sunday, September 23, 2012 9:25 PM
To: Martin Chapman
Cc: Neelima Emmani; Hilda Villegas
Subject: Re: [gdal-dev] s57 layers

I'm also working with some S57 for a project and was just curious if any of you have done up any particular map styling in other open source mapping products - e.g. QGIS or MapServer.  With a such a rich dataset, I've found it quite overwhelming and am hunting for any tips for getting ahead of the curve on it.  I'd love to see what you are doing with the data too!

Best wishes,
Tyler


On 2012-09-22, at 1:40 PM, Martin Chapman wrote:

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> [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<mailto: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<mailto: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> [mailto:gdal-dev-bounces at lists.osgeo.org]<mailto:[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<mailto: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.....
<image001.png>


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



With Regards,
Neelima Emmani

_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org<mailto:gdal-dev at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/gdal-dev



Tyler Mitchell
Engineering Director
Actian Corporation

tyler.mitchell at actian.com<mailto:tyler.mitchell at actian.com>


MOBILE 250-303-1831
SKYPE spatialguru
www.actian.com
<http://www.actian.com/>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120924/498958cc/attachment-0001.html>


More information about the gdal-dev mailing list