Skip to content

Commit

Permalink
style: reorder
Browse files Browse the repository at this point in the history
  • Loading branch information
repeat committed Jan 27, 2020
1 parent cfd1a0c commit 37ba204
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions taiwan-high-speed-rail.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?php
$file_name = 'taiwan-high-speed-rail';

$geometry = [
'type' => 'Point'
];

$lines = file($file_name . '.csv');
foreach ($lines as $line) {
$stations[] = str_getcsv($line);
Expand All @@ -9,10 +13,6 @@
// remove column name
unset($stations[0]);

$geometry = [
'type' => 'Point'
];

foreach ($stations as $station) {
list($id, $name, $zipcode, $address, $lat, $lon) = $station;

Expand Down

0 comments on commit 37ba204

Please sign in to comment.