parsing openstreetmap ways to extract nodes from and create nodes that better fits into the application requirements