Skip to content

thutil/OpenTH-Radar

Repository files navigation

OpenTH-Radar

Overview

An open-source tool for converting radar images to map tiles.

TMD Map TMD Output

Workflow

Workflow

API

Provides a simple API to serve radar images as map tiles, making it easy to integrate with mapping libraries like Maplibre or OpenLayers and Thailand map providers such as Longdo Map, sphere Map.

JSON Response Example

{
  "version": "1.0",
  "generated": 1758806914,
  "host": "http://localhost:8000",
  "radar": {
    "past": [
      {
        "time": 1758801000,
        "path": "/radar/1758801000"
      }
    ]
  }
}

Tile URL Example

<BASE_URL>/radar/<PATH>/{z}/{x}/{y}.png

ROADMAPS

1. Heatmap Visualization

Added a heatmap feature to enhance the visual representation of radar data. The heatmap makes patterns and intensity levels more apparent, resulting in a more attractive and informative display.

TMDRawRadar TMDHeatmap

2. Forecast

Implemented a forecasting feature that predicts future radar images based on historical data. This allows users to visualize potential weather developments and plan accordingly.

License

This project is licensed under the MIT License.