Script for calculating the total height meters from an svg

The script takes as input a route height profile in svg format and
calculates the total height meters.