Skip to content
This repository was archived by the owner on Oct 5, 2023. It is now read-only.

Latest commit

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

GoogleMapsTileCutter

Usage

GoogleMapsTileCutter.jar {zoom} {threads} {full map} {output directory}

Zoom and threads should be an integer above zero. Full map should be a relative or absolute path to the full map (.png only!). The output directory does not have to exist at runtime. It will be created as long as the parent directory exists.

Dimensions vs zoom levels vs tile count

Zoom levelDimensionsTiles
1256x2565
2512x51221
31024x102485
42048x2048341
54096x40961365
68192x81925461

Required dimensions for a zoom level can be calculated by the following formula: 2^(zoom -1) * 256

You can calculate the tile count with the following formula: 2^zoom * 2^zoom + x + 1 where x is the sum of all previous tile counts for all zoom levels above zero.

About

Java tool to cut one large map image into tiles compatible with Google Maps

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages