New pfToKml function