Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>GeoGenius AI Explorer</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| <script src="https://unpkg.com/cesium@1.95.0/Build/Cesium/Cesium.js"></script> | |
| <link href="https://unpkg.com/cesium@1.95.0/Build/Cesium/Widgets/widgets.css" rel="stylesheet"> | |
| </head> | |
| <body class="bg-gray-100"> | |
| <nav class="bg-blue-800 text-white p-4 shadow-lg"> | |
| <div class="container mx-auto flex justify-between items-center"> | |
| <h1 class="text-2xl font-bold">GeoGenius AI Explorer 🔍</h1> | |
| <div class="space-x-4"> | |
| <a href="index.html" class="hover:text-blue-200">Home</a> | |
| <a href="geologist.html" class="bg-blue-600 px-3 py-1 rounded">Geologist AI</a> | |
| <a href="data.html" class="hover:text-blue-200">Data Hub</a> | |
| <a href="visualization.html" class="hover:text-blue-200">3D Viewer</a> | |
| </div> | |
| </div> | |
| </nav> | |
| <main class="container mx-auto p-4"> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6"> | |
| <!-- Data Input Section --> | |
| <div class="bg-white p-6 rounded-lg shadow-md"> | |
| <h2 class="text-xl font-semibold mb-4 text-blue-800">Data Upload</h2> | |
| <div class="space-y-4"> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700">Select Data Type</label> | |
| <select class="mt-1 block w-full rounded-md border-gray-300 shadow-sm"> | |
| <option>Magnetometry</option> | |
| <option>AMT</option> | |
| <option>IP</option> | |
| <option>Geochemical</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700">Upload Files</label> | |
| <div class="mt-1 border-2 border-dashed border-gray-300 rounded-md p-4 text-center"> | |
| <input type="file" class="hidden" id="file-upload"> | |
| <button class="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700"> | |
| Select Files | |
| </button> | |
| <p class="mt-1 text-sm text-gray-600">CSV, GXF, EDI, DAT formats supported</p> | |
| </div> | |
| </div> | |
| <button class="w-full bg-green-600 text-white py-2 rounded hover:bg-green-700 flex items-center justify-center"> | |
| <i data-feather="upload" class="mr-2"></i> Process Data | |
| </button> | |
| </div> | |
| </div> | |
| <!-- AI Analysis Section --> | |
| <div class="bg-white p-6 rounded-lg shadow-md"> | |
| <h2 class="text-xl font-semibold mb-4 text-blue-800">AI Analysis</h2> | |
| <div class="space-y-4"> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700">Analysis Type</label> | |
| <select class="mt-1 block w-full rounded-md border-gray-300 shadow-sm"> | |
| <option>Pattern Recognition</option> | |
| <option>Anomaly Detection</option> | |
| <option>Lithology Prediction</option> | |
| <option>Mineralization Potential</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700">Parameters</label> | |
| <div class="mt-1 grid grid-cols-2 gap-2"> | |
| <input type="text" placeholder="Confidence Level" class="rounded-md border-gray-300"> | |
| <input type="text" placeholder="Grid Size" class="rounded-md border-gray-300"> | |
| </div> | |
| </div> | |
| <button class="w-full bg-blue-600 text-white py-2 rounded hover:bg-blue-700 flex items-center justify-center"> | |
| <i data-feather="cpu" class="mr-2"></i> Run Analysis | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Results Preview --> | |
| <div class="bg-white p-6 rounded-lg shadow-md"> | |
| <h2 class="text-xl font-semibold mb-4 text-blue-800">Quick Results</h2> | |
| <div class="h-64 bg-gray-100 rounded-md flex items-center justify-center"> | |
| <p class="text-gray-500">Analysis results will appear here</p> | |
| </div> | |
| <div class="mt-4 space-y-2"> | |
| <div class="flex justify-between"> | |
| <span class="font-medium">Anomaly Score:</span> | |
| <span>--</span> | |
| </div> | |
| <div class="flex justify-between"> | |
| <span class="font-medium">Confidence Level:</span> | |
| <span>--</span> | |
| </div> | |
| <div class="flex justify-between"> | |
| <span class="font-medium">Recommended Action:</span> | |
| <span>--</span> | |
| </div> | |
| </div> | |
| <button class="mt-4 w-full bg-purple-600 text-white py-2 rounded hover:bg-purple-700 flex items-center justify-center"> | |
| <i data-feather="bar-chart-2" class="mr-2"></i> View Full Report | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Advanced Visualization --> | |
| <div class="mt-8 bg-white p-6 rounded-lg shadow-md"> | |
| <h2 class="text-xl font-semibold mb-4 text-blue-800">3D Geological Model</h2> | |
| <div id="cesiumContainer" class="h-96 w-full bg-gray-200 rounded-md"></div> | |
| <div class="mt-4 flex space-x-2"> | |
| <button class="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700"> | |
| <i data-feather="layers" class="mr-2"></i> Add Layer | |
| </button> | |
| <button class="bg-green-600 text-white px-4 py-2 rounded hover:bg-green-700"> | |
| <i data-feather="download" class="mr-2"></i> Export Model | |
| </button> | |
| </div> | |
| </div> | |
| </main> | |
| <script> | |
| feather.replace(); | |
| // Initialize Cesium | |
| Cesium.Ion.defaultAccessToken = 'your-cesium-ion-token'; | |
| const viewer = new Cesium.Viewer('cesiumContainer', { | |
| terrainProvider: Cesium.createWorldTerrain() | |
| }); | |
| // Add a sample entity | |
| viewer.entities.add({ | |
| name: 'Sample Anomaly', | |
| position: Cesium.Cartesian3.fromDegrees(-75.59777, 40.03883), | |
| ellipse: { | |
| semiMinorAxis: 2000.0, | |
| semiMajorAxis: 2000.0, | |
| height: 0, | |
| material: new Cesium.ColorMaterialProperty( | |
| Cesium.Color.RED.withAlpha(0.5) | |
| ) | |
| } | |
| }); | |
| viewer.zoomTo(viewer.entities); | |
| </script> | |
| </body> | |
| </html> |