-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 09 Jun 2026 pada 19.30
-- Versi server: 10.4.32-MariaDB
-- Versi PHP: 8.2.12

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!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 */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `webgis_db_pertemuan1`
--

-- --------------------------------------------------------

--
-- Struktur dari tabel `jalan`
--

CREATE TABLE `jalan` (
  `id` int(11) NOT NULL,
  `nama_jalan` varchar(255) NOT NULL,
  `status` varchar(100) NOT NULL,
  `panjang` decimal(10,2) NOT NULL,
  `koordinat` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data untuk tabel `jalan`
--

INSERT INTO `jalan` (`id`, `nama_jalan`, `status`, `panjang`, `koordinat`) VALUES
(1, 'Jalan Camar', 'Jalan Kabupaten', 364.77, '{\"type\":\"LineString\",\"coordinates\":[[109.325992,-0.022257],[109.326555,-0.022117],[109.32729,-0.021897],[109.327666,-0.021817],[109.328127,-0.021736],[109.328535,-0.021699],[109.328824,-0.021645],[109.3292,-0.021619]]}');

-- --------------------------------------------------------

--
-- Struktur dari tabel `parsil`
--

CREATE TABLE `parsil` (
  `id` int(11) NOT NULL,
  `nama_pemilik` varchar(255) NOT NULL,
  `status` varchar(100) NOT NULL,
  `luas` decimal(10,2) NOT NULL,
  `koordinat` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data untuk tabel `parsil`
--

INSERT INTO `parsil` (`id`, `nama_pemilik`, `status`, `luas`, `koordinat`) VALUES
(1, 'Budi Doremi', 'SHM', 325.57, '{\"type\":\"Polygon\",\"coordinates\":[[[109.329103,-0.024658],[109.32927,-0.024566],[109.329361,-0.024641],[109.329189,-0.024775],[109.329103,-0.024658]]]}');

--
-- Indexes for dumped tables
--

--
-- Indeks untuk tabel `jalan`
--
ALTER TABLE `jalan`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `parsil`
--
ALTER TABLE `parsil`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT untuk tabel yang dibuang
--

--
-- AUTO_INCREMENT untuk tabel `jalan`
--
ALTER TABLE `jalan`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT untuk tabel `parsil`
--
ALTER TABLE `parsil`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
COMMIT;

/*!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 */;
