Skip to content

S57 (ENC) support? #2636

Closed Answered by gwaldron
yunusyurtturk asked this question in Support Q&A
Discussion options

You must be logged in to vote

S57 is comprised of many layers. The OGRFeatureSource can only open one layer at a time, so have to specify the layer. Make sure you set it before opening the layer:

ogrFeatureSource->setLayer("SEAARE");

And in an earth file

<OGRFeatures>
    <url>US2EC03M.000</url>
    <layer>SEAARE</layer>
</OGRFeatures>

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by yunusyurtturk
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants