trim gridlocator before parsing it. Some Exports consist of trailing whitespaces at gridlocator :(
这个提交包含在:
父节点
1d8a040a0b
当前提交
e9af164c8a
共有 1 个文件被更改,包括 68 次插入 和 67 次删除
|
|
@ -173,6 +173,7 @@ function get_bearing($lat1, $lon1, $lat2, $lon2) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function qra2latlong($strQRA) {
|
function qra2latlong($strQRA) {
|
||||||
|
$strQRA=trim($strQRA);
|
||||||
if (substr_count($strQRA, ',') > 0) {
|
if (substr_count($strQRA, ',') > 0) {
|
||||||
if (substr_count($strQRA, ',') == 3) {
|
if (substr_count($strQRA, ',') == 3) {
|
||||||
// Handle grid corners
|
// Handle grid corners
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用