|
|
@@ -877,7 +877,13 @@ class Istat extends Component
|
|
|
}
|
|
|
|
|
|
$item_data .= str_repeat(' ', 10);
|
|
|
- $item_data .= str_repeat(' ', 102);
|
|
|
+ $item_data .= str_repeat(' ', 2);
|
|
|
+
|
|
|
+ // Coordinate
|
|
|
+ //$item_data .= str_repeat(' ', 100);
|
|
|
+ $item_data .= str_pad($item->latitude, 50, ' ', STR_PAD_LEFT);
|
|
|
+ $item_data .= str_pad($item->longitude, 50, ' ', STR_PAD_LEFT);
|
|
|
+
|
|
|
$item_data .= str_repeat(' ', 8);
|
|
|
|
|
|
$ora = $report->verificatosi_in_data_ora ?? '';
|
|
|
@@ -915,6 +921,10 @@ class Istat extends Component
|
|
|
Log::error('Error in section 31-40 for item ' . $item->id . ': ' . $e->getMessage());
|
|
|
}
|
|
|
$item_data = str_pad($item_data, 1939, ' ');
|
|
|
+
|
|
|
+ // Coordinate
|
|
|
+
|
|
|
+
|
|
|
$txt[] = $item_data;
|
|
|
} catch (\Exception $e) {
|
|
|
Log::error('Major error processing item ' . $item->id . ': ' . $e->getMessage());
|