fixing bug in osmparser
fix a bug in pt2cy