uk.me.parabola.mkgmap.reader.osm
Class SeaPolygonRelation

java.lang.Object
  extended by uk.me.parabola.mkgmap.reader.osm.Element
      extended by uk.me.parabola.mkgmap.reader.osm.Relation
          extended by uk.me.parabola.mkgmap.reader.osm.MultiPolygonRelation
              extended by uk.me.parabola.mkgmap.reader.osm.SeaPolygonRelation
All Implemented Interfaces:
java.lang.Iterable<java.lang.String>

public class SeaPolygonRelation
extends MultiPolygonRelation

A relation used by the sea generation code.

Author:
WanMil

Field Summary
 
Fields inherited from class uk.me.parabola.mkgmap.reader.osm.MultiPolygonRelation
STYLE_FILTER_LINE, STYLE_FILTER_POLYGON, STYLE_FILTER_TAG
 
Constructor Summary
SeaPolygonRelation(Relation other, java.util.Map<java.lang.Long,Way> wayMap, Area bbox)
           
 
Method Summary
 int getFloodBlockerGap()
           
 double getFloodBlockerRatio()
           
 Rule getFloodBlockerRules()
           
 int getFloodBlockerThreshold()
           
 boolean isDebug()
           
 boolean isFloodBlocker()
           
protected  void postProcessing()
           
 void setDebug(boolean debug)
           
 void setFloodBlocker(boolean floodBlocker)
           
 void setFloodBlockerGap(int floodBlockerGap)
           
 void setFloodBlockerRatio(double floodBlockerRatio)
           
 void setFloodBlockerRules(Rule floodBlockerRules)
           
 void setFloodBlockerThreshold(int floodBlockerThreshold)
           
 void setLandTag(java.lang.String landTag, java.lang.String landValue)
           
 
Methods inherited from class uk.me.parabola.mkgmap.reader.osm.MultiPolygonRelation
getBbox, getMpPolygons, getTileWayMap, processElements
 
Methods inherited from class uk.me.parabola.mkgmap.reader.osm.Relation
addElement, getElements, kind
 
Methods inherited from class uk.me.parabola.mkgmap.reader.osm.Element
addTag, copy, copyTags, deleteTag, getEntryIteratable, getId, getName, getTag, getTagsWithPrefix, iterator, removeAllTags, setId, setName, toBrowseURL, toTagString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeaPolygonRelation

public SeaPolygonRelation(Relation other,
                          java.util.Map<java.lang.Long,Way> wayMap,
                          Area bbox)
Method Detail

postProcessing

protected void postProcessing()
Overrides:
postProcessing in class MultiPolygonRelation

isFloodBlocker

public boolean isFloodBlocker()

setFloodBlocker

public void setFloodBlocker(boolean floodBlocker)

getFloodBlockerGap

public int getFloodBlockerGap()

setFloodBlockerGap

public void setFloodBlockerGap(int floodBlockerGap)

getFloodBlockerRatio

public double getFloodBlockerRatio()

setFloodBlockerRatio

public void setFloodBlockerRatio(double floodBlockerRatio)

getFloodBlockerThreshold

public int getFloodBlockerThreshold()

setFloodBlockerThreshold

public void setFloodBlockerThreshold(int floodBlockerThreshold)

isDebug

public boolean isDebug()

setDebug

public void setDebug(boolean debug)

getFloodBlockerRules

public Rule getFloodBlockerRules()

setFloodBlockerRules

public void setFloodBlockerRules(Rule floodBlockerRules)

setLandTag

public void setLandTag(java.lang.String landTag,
                       java.lang.String landValue)