Começaremos com a seguinte estrutura HTML para o nosso menu:
<nav>
<a href="index.html">Início</a>
<a href="formacao-academica.html">Formação Acadêmica</a>Link dos dados: https://drive.google.com/file/d/1PU3imYVk0R7RK575dXI3M7V_MjBNosqu/view?usp=sharing
Objetivo: Identificar e classificar lotes urbanos em diferentes níveis de vulnerabilidade a alagamentos, utilizando operações de geoprocessamento vetorial e análise raster.
| # ========================================================== | |
| # AUTENTICAÇÃO | |
| # ========================================================== | |
| from google.colab import auth | |
| auth.authenticate_user() | |
| # ========================================================== | |
| # INSTALAÇÃO | |
| # ========================================================== | |
| !pip install basedosdados geopandas shapely pyogrio --upgrade --quiet |
| import os | |
| import geopandas as gpd | |
| from pathlib import Path | |
| from shapely.geometry import MultiPolygon | |
| # ============================================================================ | |
| # CONFIGURAÇÕES | |
| # ============================================================================ | |
| # Caminhos de entrada | |
| CAMINHO_INPUT = '/Users/marcellodebarrosfilho/code/curso_geopandas/dados/pb.gpkg' |
| """ | |
| Script para processar dados de aptidão agrícola | |
| Realiza clip de geometrias com grade, análise espacial e exportação de dados | |
| """ | |
| import geopandas as gpd | |
| from decouple import config | |
| from sqlalchemy import create_engine | |
| import os | |
| import gc # Importa o módulo garbage collector para gerenciamento de memória |
| <!DOCTYPE html> | |
| <html lang="pt-BR"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Explorador de Tabelas Supabase com Vue.js</title> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css"> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| body { |
| -- Resposta 1: | |
| SELECT | |
| p.nome AS nome_proprietario, | |
| p.sobrenome AS sobrenome_proprietario, | |
| ir.nome AS nome_imovel, | |
| v.nome_variedade | |
| FROM | |
| proprietario p | |
| JOIN | |
| imovel_rural ir ON p.id = ir.proprietario_id |