first(); // Old Payatas dumpsite area (closed in real life — used here as a // sample only). Centered at ~14.7155, 121.1083. $center = ['lat' => 14.7155, 'lng' => 121.1083]; $half = 0.0035; // ~390m at this latitude $boundaryPoints = [ new Point($center['lat'] - $half, $center['lng'] - $half, 4326), new Point($center['lat'] - $half, $center['lng'] + $half, 4326), new Point($center['lat'] + $half, $center['lng'] + $half, 4326), new Point($center['lat'] + $half, $center['lng'] - $half, 4326), new Point($center['lat'] - $half, $center['lng'] - $half, 4326), ]; Dumpsite::updateOrCreate( ['code' => 'DS-PAYATAS-01'], [ 'name' => 'Payatas Sanitary Landfill (sample)', 'address_line' => 'Payatas, Quezon City', 'city_municipality_id' => $qc?->id, 'coordinates' => new Point($center['lat'], $center['lng'], 4326), 'boundary_polygon' => new Polygon([new LineString($boundaryPoints)], 4326), 'accepted_waste_types' => ['general', 'biodegradable', 'residual'], 'operating_hours' => [ 'mon' => ['open' => '06:00', 'close' => '22:00'], 'tue' => ['open' => '06:00', 'close' => '22:00'], 'wed' => ['open' => '06:00', 'close' => '22:00'], 'thu' => ['open' => '06:00', 'close' => '22:00'], 'fri' => ['open' => '06:00', 'close' => '22:00'], 'sat' => ['open' => '06:00', 'close' => '18:00'], 'sun' => null, ], 'capacity_tons' => 5000, 'permit_number' => 'DENR-NCR-SAMPLE-2026', 'contact_person' => 'Site Manager', 'contact_phone' => '+63281234567', 'status' => Dumpsite::STATUS_ACTIVE, ], ); } }