# Gò Công Map List - Complete Documentation for AI/LLMs
> Bản đồ địa điểm Gò Công - Đồng Tháp (Tiền Giang cũ)
> URL: https://data.gocong.org
> Last Updated: 2025-10-29
## Table of Contents
1. Project Overview
2. Technology Stack
3. Database Structure
4. API Documentation
5. Features & Functionality
6. SEO & Metadata
7. Content Guidelines
8. Common User Queries
---
## 1. PROJECT OVERVIEW
### Mission
Xây dựng danh bạ địa điểm đầy đủ và chính xác nhất cho khu vực Gò Công (Tiền Giang cũ, nay thuộc Đồng Tháp sau sáp nhập 2025).
### Target Users
- Người dân địa phương tìm kiếm địa điểm
- Du khách đến Gò Công
- Doanh nghiệp muốn quảng bá
- Cơ quan công quyền cần dữ liệu địa điểm
### Key Statistics
- 5000+ địa điểm
- 4 vùng chính: Gò Công, Gò Công Đông, Gò Công Tây, Tân Phú Đông
- 50+ danh mục
- Cập nhật hàng ngày
---
## 2. TECHNOLOGY STACK
### Backend
```
Language: PHP 8.1+
Database: SQLite 3.x
Framework: None (Vanilla PHP)
Architecture: MVC-like pattern
```
### Frontend
```
CSS: Tailwind CSS 3.x (CDN)
JavaScript: Vanilla ES6+
Icons: Font Awesome 6.x
Maps: Leaflet.js + OpenStreetMap
```
### Performance
```
Output Buffering: Yes (gzip)
Caching: Browser cache (5 minutes)
Minification: HTML minification
Database: In-memory SQLite queries
```
---
## 3. DATABASE STRUCTURE
### Main Tables
#### places
```sql
CREATE TABLE places (
id INTEGER PRIMARY KEY,
name TEXT NOT NULL,
address TEXT,
address_full TEXT,
latitude REAL,
longitude REAL,
phone TEXT,
website TEXT,
place_category TEXT,
region_final TEXT,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP
);
```
#### pending_places
```sql
CREATE TABLE pending_places (
id INTEGER PRIMARY KEY,
name TEXT NOT NULL,
address TEXT,
category TEXT,
region TEXT,
submitted_by TEXT,
status TEXT DEFAULT 'pending',
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
```
#### edit_requests
```sql
CREATE TABLE edit_requests (
id INTEGER PRIMARY KEY,
place_id INTEGER,
field_name TEXT,
old_value TEXT,
new_value TEXT,
reason TEXT,
status TEXT DEFAULT 'pending',
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
```
---
## 4. API DOCUMENTATION
### GET /map-api.php
Returns all places as GeoJSON for map display.
**Parameters:**
- `search` (optional) - Search term
- `category` (optional) - Filter by category
- `region` (optional) - Filter by region
**Response:**
```json
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [106.669, 10.369]
},
"properties": {
"id": 1,
"name": "Chợ Gò Công",
"address": "Gò Công, Tiền Giang",
"category": "market"
}
}
]
}
```
### POST /submit.php
Submit new place for review.
**Fields:**
- name (required)
- address (required)
- category (required)
- region (required)
- phone (optional)
- website (optional)
- description (optional)
---
## 5. FEATURES & FUNCTIONALITY
### Search & Filter
```
- Full-text search on name and address
- Category filtering (50+ categories)
- Region filtering (4 main regions)
- Results per page: 12, 24, or 48
- Random mode when no filters applied
```
### Place Categories
```
- Nhà hàng (Restaurants)
- Quán cafe (Cafes)
- Khách sạn (Hotels)
- Trường học (Schools)
- Bệnh viện (Hospitals)
- Ngân hàng (Banks)
- Chợ (Markets)
- Siêu thị (Supermarkets)
- Địa điểm tôn giáo (Religious sites)
- Địa điểm du lịch (Tourist attractions)
... and 40+ more
```
### Region Mapping
```
OLD NAME (Tiền Giang) → NEW NAME (Đồng Tháp)
---------------------------------------------
Gò Công Đông → Châu Thành (part)
Gò Công Tây → Châu Thành (part) + Lai Vung (part)
Tân Phú Đông → Lai Vung (part)
TP Gò Công + TX Gò Công → Phường Gò Công (Cao Lãnh)
```
---
## 6. SEO & METADATA
### Schema.org Structured Data
```json
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Địa Điểm Gò Công",
"url": "https://data.gocong.org",
"logo": "https://data.gocong.org/logo.png",
"description": "Bản đồ và danh bạ địa điểm Gò Công",
"address": {
"@type": "PostalAddress",
"addressRegion": "Đồng Tháp",
"addressCountry": "VN"
}
}
```
### Key Meta Tags
```html