Skip to content

Generate raster tile for address street / place clusters from OSM data in Taiwan.

License

Notifications You must be signed in to change notification settings

OsmHackTW/address-clusters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a work in progress.

Currently address importing, clustering and PMTiles generation are done, adding Tileserver GL for rendering for map editors is work in progress.

Produce PMTiles

Docker (with Docker Compose) is required.

First, get taiwan-latest.osm.pbf from Geofabrik Download Server, put it in the source/.

Then run the importer to import address into PostgreSQL and process the cluster, and the converter to use GDAL to generate PMTiles:

docker compose run importer
docker compose run converter

As of December 2024, the importer took about 100 seconds and converter took about 1 minute in my i7-12700K machine running WSL 2. The addresses table will have 9,067,781 entries, generating 182,953 address clusters; the PMTiles generated is sized 31MB.

About

Generate raster tile for address street / place clusters from OSM data in Taiwan.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published