public class OceanImporter
extends java.lang.Object
implements java.lang.Runnable
| Modifier and Type | Method and Description |
|---|---|
int |
getNumPlanetScaleWays()
Get the statistics counter of the number of ocean
Ways considered significant
enough to write to the planet.ways file. |
int |
getNumPrunedPlanetVertices()
|
int |
getNumWay2QueueExpansions() |
int |
getNumWayQueueExpansions() |
int |
getNumWayWriterFull() |
int |
getNumWayWriterQueues() |
long |
getWayWriteFullDelay() |
void |
invoke()
Execute the OceanImporter functionality within the context of an
OsmSegmenter subclass. |
static void |
main(java.lang.String[] args)
Unit test for OceanImporter.
|
void |
run()
DO NOT CALL.
|
public void invoke()
throws java.io.IOException
OsmSegmenter subclass.java.io.IOException - if the coastline database cannot be read or the planet.ways file cannot be writtenpublic int getNumWayWriterQueues()
public int getNumWayWriterFull()
public int getNumWayQueueExpansions()
public int getNumWay2QueueExpansions()
public long getWayWriteFullDelay()
public int getNumPrunedPlanetVertices()
Node vertices pruned from
ocean Ways saved to the planet.ways file.public int getNumPlanetScaleWays()
Ways considered significant
enough to write to the planet.ways file.public void run()
run in interface java.lang.Runnablepublic static void main(java.lang.String[] args)
throws java.io.IOException
args - String array of command-line parameters; first parameter is path to
water_polygons.shp filejava.io.IOException - if shapefile could not be read