-- MySQL dump 10.13  Distrib 8.4.3, for Win64 (x86_64)
--
-- Host: localhost    Database: peta_spbu
-- ------------------------------------------------------
-- Server version	8.4.3

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `jalan`
--

DROP TABLE IF EXISTS `jalan`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `jalan` (
  `id` int NOT NULL AUTO_INCREMENT,
  `nama_jalan` varchar(100) NOT NULL,
  `status_jalan` enum('Nasional','Provinsi','Kabupaten') NOT NULL,
  `panjang_jalan` double NOT NULL,
  `geojson` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `jalan`
--

LOCK TABLES `jalan` WRITE;
/*!40000 ALTER TABLE `jalan` DISABLE KEYS */;
INSERT INTO `jalan` VALUES (7,'Jalan Ahmad Yani','Nasional',2658.06,'{\"type\":\"Feature\",\"properties\":{},\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[109.338083,-0.04189],[109.346366,-0.051593],[109.352245,-0.058506],[109.353576,-0.060094]]}}'),(8,'Jalan Purnama','Provinsi',997.65,'{\"type\":\"Feature\",\"properties\":{},\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[109.324265,-0.057912],[109.325058,-0.056988],[109.326024,-0.056108],[109.32729,-0.054756],[109.329093,-0.05321],[109.330766,-0.05175]]}}'),(9,'Jalan Diponegoro','Kabupaten',1336.24,'{\"type\":\"Feature\",\"properties\":{},\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[109.33332,-0.03497],[109.335551,-0.032867],[109.337482,-0.030891],[109.339199,-0.029518],[109.342589,-0.027414]]}}');
/*!40000 ALTER TABLE `jalan` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `kemiskinan`
--

DROP TABLE IF EXISTS `kemiskinan`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `kemiskinan` (
  `id` int NOT NULL AUTO_INCREMENT,
  `nama_kepala` varchar(100) NOT NULL,
  `jumlah_kk` int NOT NULL,
  `alamat` text NOT NULL,
  `lat` double NOT NULL,
  `lng` double NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `kemiskinan`
--

LOCK TABLES `kemiskinan` WRITE;
/*!40000 ALTER TABLE `kemiskinan` DISABLE KEYS */;
/*!40000 ALTER TABLE `kemiskinan` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `masjid`
--

DROP TABLE IF EXISTS `masjid`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `masjid` (
  `id` int NOT NULL AUTO_INCREMENT,
  `nama_masjid` varchar(100) NOT NULL,
  `pic_masjid` varchar(100) NOT NULL,
  `alamat` text NOT NULL,
  `radius` int DEFAULT '500',
  `lat` double NOT NULL,
  `lng` double NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `masjid`
--

LOCK TABLES `masjid` WRITE;
/*!40000 ALTER TABLE `masjid` DISABLE KEYS */;
/*!40000 ALTER TABLE `masjid` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `parsil_tanah`
--

DROP TABLE IF EXISTS `parsil_tanah`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `parsil_tanah` (
  `id` int NOT NULL AUTO_INCREMENT,
  `status_kepemilikan` enum('SHM','HGB','HGU','HP') NOT NULL,
  `luas_tanah` double NOT NULL,
  `geojson` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `parsil_tanah`
--

LOCK TABLES `parsil_tanah` WRITE;
/*!40000 ALTER TABLE `parsil_tanah` DISABLE KEYS */;
INSERT INTO `parsil_tanah` VALUES (1,'SHM',206633.96,'{\"type\":\"Feature\",\"properties\":{},\"geometry\":{\"type\":\"Polygon\",\"coordinates\":[[[109.343448,-0.042118],[109.3504,-0.042675],[109.350486,-0.047479],[109.343448,-0.042118]]]}}'),(2,'HGB',156134.99,'{\"type\":\"Feature\",\"properties\":{},\"geometry\":{\"type\":\"Polygon\",\"coordinates\":[[[109.343898,-0.047524],[109.351516,-0.049583],[109.344435,-0.050977],[109.343898,-0.047524]]]}}'),(4,'HGU',877993.51,'{\"type\":\"Feature\",\"properties\":{},\"geometry\":{\"type\":\"Polygon\",\"coordinates\":[[[109.356709,-0.031797],[109.373188,-0.041329],[109.369497,-0.030595],[109.356709,-0.031797]]]}}'),(5,'HP',397069.12,'{\"type\":\"Feature\",\"properties\":{},\"geometry\":{\"type\":\"Polygon\",\"coordinates\":[[[109.37233,-0.042359],[109.365163,-0.044721],[109.373403,-0.050947],[109.37233,-0.042359]]]}}');
/*!40000 ALTER TABLE `parsil_tanah` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `spbu`
--

DROP TABLE IF EXISTS `spbu`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `spbu` (
  `id` int NOT NULL AUTO_INCREMENT,
  `nama_spbu` varchar(100) NOT NULL,
  `no_wa` varchar(20) NOT NULL,
  `buka_24jam` enum('Ya','Tidak') NOT NULL,
  `lat` double NOT NULL,
  `lng` double NOT NULL,
  `nama_pengelola` varchar(255) DEFAULT '',
  `alamat_lengkap` text,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `spbu`
--

LOCK TABLES `spbu` WRITE;
/*!40000 ALTER TABLE `spbu` DISABLE KEYS */;
INSERT INTO `spbu` VALUES (2,'SPBU OSO MT.Haryono','081356746361','Tidak',-0.044932381323108256,109.33674216270448,'',''),(3,'SPBU Paris','081356746361','Ya',-0.03756252128204861,109.34192419052125,'',NULL),(6,'SPBU Paris','081356746365','Ya',-0.053347291136283656,109.35797452926637,'Saiful','Jalan Suka-suka');
/*!40000 ALTER TABLE `spbu` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wilayah`
--

DROP TABLE IF EXISTS `wilayah`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `wilayah` (
  `id` int NOT NULL AUTO_INCREMENT,
  `nama_wilayah` varchar(100) DEFAULT NULL,
  `geojson` text,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wilayah`
--

LOCK TABLES `wilayah` WRITE;
/*!40000 ALTER TABLE `wilayah` DISABLE KEYS */;
/*!40000 ALTER TABLE `wilayah` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2026-06-13 18:16:56
