@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 ───────────────────────────────────────────────────── --}}
{{-- Breakdown Tables ────────────────────────────────────────────────── --}}
{{-- Features by Type --}}
| Type | Count |
@forelse($featuresByType as $type => $count)
|
{{ str_replace('_', ' ', ucfirst($type)) }}
|
{{ $count }} |
@empty
|
No spatial features yet
|
@endforelse
{{-- Landmarks by Type --}}
| Type | Count |
@forelse($landmarksByType as $type => $count)
|
{{ str_replace('_', ' ', ucfirst($type)) }}
|
{{ $count }} |
@empty
|
No landmarks yet
|
@endforelse
@endsection