Allow mean altitude calculation on LineStringGraph

* Added a LandRGraph virtual method
* Modified mean altitude calculation on PolygonGraph method
* Added mean altitude calculation on LineStringGraph method
* Uptaded related tests