Using the IlvDAFIFDataSource class to create vector data

To read DAFIF features using the IlvDAFIFDataSource: object:
  1. Create an IlvDAFIFDataSource:
    String dafifpath = " C:/maps/dafif_0606_ed8/DAFIFT";
    IlvDAFIFDataSource source = new IlvDAFIFDataSource(dafifpath);
    
  2. Connect this data source to the manager of the view:
    source.setManager(getView().getManager());
    
  3. Select the map features you want to read by specifying the DAFIF tables for those features (for further information about object codes, refer to the DAFIFT format specification). For example, to read only roads you can use:
    source.setAcceptedCodeList(new String[] { "ARPT/ARPT" });
    
  4. Start the DAFIF data source:
    source.start();
    
For further information, see: