@extends('admin.layouts.app') @section('title', 'Spatial Intelligence') @section('breadcrumb') Spatial Intelligence @endsection @section('content') @include('admin.spatial._tabs') {{-- PostGIS Status ──────────────────────────────────────────────────── --}}
@if($postgisAvailable) PostGIS Active Spatial queries, buffer analysis, and proximity calculations are fully operational. @else MySQL Mode Running on MySQL — spatial data stored as JSON. Features, landmarks, and heatmaps are fully manageable. Advanced spatial queries (containment, buffer analysis) require PostgreSQL + PostGIS. @endif
{{-- Summary Cards ───────────────────────────────────────────────────── --}}
{{ $featureCount }}
Spatial Features
CRZ, flood zones, heritage, eco-sensitive areas
{{ $landmarkCount }}
Landmarks
Metro stations, highways, hospitals, schools
{{ $heatmapCount }}
Heatmap Cells
Pre-computed feasibility score grid
{{-- Breakdown Tables ────────────────────────────────────────────────── --}}
{{-- Features by Type --}}
Features by Type
@forelse($featuresByType as $type => $count) @empty @endforelse
TypeCount
{{ str_replace('_', ' ', ucfirst($type)) }} {{ $count }}
No spatial features yet
{{-- Landmarks by Type --}}
Landmarks by Type
@forelse($landmarksByType as $type => $count) @empty @endforelse
TypeCount
{{ str_replace('_', ' ', ucfirst($type)) }} {{ $count }}
No landmarks yet
@endsection