org.osm2world.core.osm.ruleset
Class HardcodedRuleset

Object
  extended by HardcodedRuleset
All Implemented Interfaces:
Ruleset

public class HardcodedRuleset
extends Object
implements Ruleset


Constructor Summary
HardcodedRuleset()
           
 
Method Summary
 boolean isAreaTag(Tag tag)
          identifies tags that indicate that a closed way represents an area
 boolean isLandTag(Tag tag)
          identifies tags which (almost) exclusively appear outside the sea.
 boolean isSeaTag(Tag tag)
          identifies tags which (almost) exclusively appear on the sea.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HardcodedRuleset

public HardcodedRuleset()
Method Detail

isAreaTag

public boolean isAreaTag(Tag tag)
Description copied from interface: Ruleset
identifies tags that indicate that a closed way represents an area

Specified by:
isAreaTag in interface Ruleset

isLandTag

public boolean isLandTag(Tag tag)
Description copied from interface: Ruleset
identifies tags which (almost) exclusively appear outside the sea. This lets us make a guess whether a tile is a land tile.

Specified by:
isLandTag in interface Ruleset

isSeaTag

public boolean isSeaTag(Tag tag)
Description copied from interface: Ruleset
identifies tags which (almost) exclusively appear on the sea. This lets us make a guess whether a tile is a land tile.

Specified by:
isSeaTag in interface Ruleset