Removed some useless code

Function type is not needed anymore because we use geojson and not topo
or csv