Class OceanImporter

java.lang.Object
org.ka2ddo.yaac.osm.OceanImporter
All Implemented Interfaces:
Runnable

public class OceanImporter extends Object implements Runnable
Class to pre-load way queues with the oceans coastlines extracted with the osmcoastline and ogr2ogr utilities.
Author:
Andrew Pavlin, KA2DDO
  • Method Details

    • invoke

      public void invoke() throws IOException
      Throws:
      IOException
    • getNumWayWriterQueues

      public int getNumWayWriterQueues()
    • getNumWayWriterFull

      public int getNumWayWriterFull()
    • getNumWayQueueExpansions

      public int getNumWayQueueExpansions()
    • getNumWay2QueueExpansions

      public int getNumWay2QueueExpansions()
    • getWayWriteFullDelay

      public long getWayWriteFullDelay()
    • getNumPrunedPlanetVertices

      public int getNumPrunedPlanetVertices()
    • getNumPlanetScaleWays

      public int getNumPlanetScaleWays()
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • main

      public static void main(String[] args) throws IOException
      Unit test for OceanImporter.
      Parameters:
      args - String array of command-line parameters
      Throws:
      IOException - if shapefile could not be read