Creating a Data Source from an S57 File or Catalog

  1. To create data source objects for an S57 file or catalog:
    IlvS57DataSource source = new IlvS57DataSource (fileName);
    source.setManager(getView().getManager());
    
  2. S57 data contains many different features. Select the features you want to import into your map by choosing the feature codes:
    source.setCodelist(codes);
    
For further information about data sources, see Creating data source objects