Skip to content

Latest commit

 

History

History
94 lines (64 loc) · 6.28 KB

README.md

File metadata and controls

94 lines (64 loc) · 6.28 KB

National Boundaries Vector Tiles of Lithuania

Access simplified and regularly updated vector tiles of national boundaries in Lithuania from the Address Registry.

Key Features

  1. Ready to Use: Pre-simplified and ready-to-serve vector tiles.
  2. Easy Hosting: Available as a single-file PMTiles archive, easily hosted on platforms like S3.
  3. Regular Updates: Daily updates reflecting boundary changes.
  4. Available Hosted Versions: Hosted versions of boundaries are readily available for direct use.
  5. Open Source: Free and open-source. Join our community of contributors.

Usage

For details on using PMTiles, check the PMTiles in the browser documentation.

Hosted Versions

Use hosted versions of boundaries on your website, with global low latency and high SLA via Cloudflare Pages.

Type Lithuanian Translation Demo PMTiles Archive URL
Counties Apskričių ribos Demo counties.pmtiles
Municipalities Savivaldybių ribos Demo municipalities.pmtiles
Elderships Seniūnijų ribos Demo elderships.pmtiles
Residential Areas Gyvenamųjų vietovių ribos - Not Available
Streets Gatvių ribos Demo streets.pmtiles

Self-Hosting

Download the latest PMTiles archives and host them on your own server.

Type Lithuanian Translation PMTiles Archive URL
Counties Apskričių ribos counties.pmtiles
Municipalities Savivaldybių ribos municipalities.pmtiles
Elderships Seniūnijų ribos elderships.pmtiles
Residential Areas Gyvenamųjų vietovių ribos residential-areas.pmtiles
Streets Gatvių ribos streets.pmtiles

Architecture

flowchart TD
    ar["State Enterprise Centre of Registers\n<a href='https://www.registrucentras.lt/p/1187'>Address Registry raw data</a>"]
    --> transform["<a href='https://github.com/govlt/national-boundaries/blob/main/create-geopackage.sh'>Create GeoPackage</a>"]
    --> |"<a href='https://github.com/govlt/national-boundaries/releases/latest/download/boundaries-4326.gpkg'>boundaries-4326.gpkg</a>"|github-releases

    github-releases["<a href='https://github.com/govlt/national-boundaries/releases'>GitHub Releases</a>"]--> cloudflare-pages["Cloudflare Pages"]

    cloudflare-pages-->pages-counties["<a href='https://boundaries.startupgov.lt/pmtiles/counties.pmtiles'>counties.pmtiles</a>"]
    cloudflare-pages-->pages-municipalities["<a href='https://boundaries.startupgov.lt/pmtiles/municipalities.pmtiles'>municipalities.pmtiles</a>"]
    cloudflare-pages-->pages-elderships["<a href='https://boundaries.startupgov.lt/pmtiles/elderships.pmtiles'>elderships.pmtiles</a>"]
    cloudflare-pages-->pages-streets["<a href='https://boundaries.startupgov.lt/pmtiles/streets.pmtiles'>streets.pmtiles</a>"]
Loading

Development Setup

  • Install Java 21+: Ensure Java is installed for running the mapping engine.

Generating Tiles

To generate the tiles in PMTiles format:

make generate

Find the output in data/output.

Previewing

Ensure Docker (version 2.22+ preferred) is installed. Then, run:

make preview

This will start Tileserver-GL at http://localhost:8080 for previewing.

License

This project is licensed under the MIT License. Data is licensed under CC BY 4.0. For more information, visit Registrų centras.

While preparing the National Boundaries Vector Tiles, some changes were made, such as changing attribute names to English. For full details, check out the create-geopackage.sh file.

Contributing

We welcome contributions! For details, see our contribution guidelines.