add conversion between wgs and bd