Permalink
Browse files

Fix special chars in GeoConversion that was breaking maps positioning

  • Loading branch information...
1 parent c02e45b commit b5ab487abd74883e06bb74573eb309618467879d @cdujeu cdujeu committed Oct 17, 2016
Showing with 3 additions and 3 deletions.
  1. +3 −3 core/src/plugins/meta.exif/GeoConversion.php
@@ -133,7 +133,7 @@ public function DMS2DMm($DMS)
$array_DMm['M'] = $array_DMS['M'];
$array_DMm['D'] = $array_DMS['D'];
- return $this->negative_path.$array_DMm['D'].''.($array_DMm['M'] + $array_DMm['m']);
+ return $this->negative_path.$array_DMm['D'].'o'.($array_DMm['M'] + $array_DMm['m']);
}
/**
@@ -182,7 +182,7 @@ public function DMm2DMS($DMm)
$array_DMS['M'] = $array_DMm['M'];
$array_DMS['D'] = $array_DMm['D'];
- return $array_DMS['D'].''.$array_DMS['M'].'\''.$array_DMS['S'].'"';
+ return $array_DMS['D'].'o'.$array_DMS['M'].'\''.$array_DMS['S'].'"';
}
/**
@@ -204,7 +204,7 @@ public function Dd2DMm($Dd)
$array_DMm['M'] = $dados_Mm[0];
$array_DMm['D'] = $array_Dd['D'];
- return $this->negative_path.$array_DMm['D']." ".$array_DMm['M'].".".$array_DMm['m'];
+ return $this->negative_path.$array_DMm['D']."o ".$array_DMm['M'].".".$array_DMm['m'];
}
/**

0 comments on commit b5ab487

Please sign in to comment.