org.osm2world.core.map_elevation.creation
Class BridgeTunnelElevationCalculator

Object
  extended by TagElevationCalculator
      extended by BridgeTunnelElevationCalculator
All Implemented Interfaces:
ElevationCalculator

public class BridgeTunnelElevationCalculator
extends TagElevationCalculator

sets elevations to zero, except for bridges and tunnels


Constructor Summary
BridgeTunnelElevationCalculator()
           
 
Method Summary
protected  Double getEleForTags(TagGroup tags)
          returns the elevation as set explicitly by the tags
 
Methods inherited from class TagElevationCalculator
calculateElevations
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BridgeTunnelElevationCalculator

public BridgeTunnelElevationCalculator()
Method Detail

getEleForTags

protected Double getEleForTags(TagGroup tags)
Description copied from class: TagElevationCalculator
returns the elevation as set explicitly by the tags

Specified by:
getEleForTags in class TagElevationCalculator
Returns:
elevation; null if the tags don't define the elevation