calculate ticks and determine path type, update togeojson