r30609 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r30608‎ | r30609 | r30610 >
Date:09:14, 6 February 2008
Author:raymond
Status:old
Tags:
Comment:
* (bug 12271) GIS/transversemercator.php code review
Patch by AlNo
Modified paths:
  • /trunk/extensions/gis/transversemercator.php (modified) (history)

Diff [purge]

Index: trunk/extensions/gis/transversemercator.php
@@ -264,9 +264,11 @@
265265 + (5 - 18*$T + pow($T,2) + 72*$C
266266 - 58 * $e_prime_sq)*pow($A,5)/120 );
267267
268 - # FIXME: Uze zone_letter
 268+ # FIXME: Use zone_letter
269269 # if (ord($zone_letter) < ord('N'))
270 - if ($latitude < 0) $northing += $this->$Northing_Offset_South;
 270+ if ( $latitude < 0 ) {
 271+ $northing += $this->Northing_Offset_South;
 272+ }
271273
272274 $this->Northing = $northing;
273275 $this->Easting = $easting;
@@ -274,5 +276,3 @@
275277 return true;
276278 }
277279 }
278 -
279 -

Status & tagging log