Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

bswatson/MapChop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MapChop Dependency Status

A node.js script to handle breaking image maps into tile-based images for use in mapping applications.

Binary Dependencies

Installation

$ [sudo] npm install mapchop -g

Usage

Usage: /usr/local/bin/node mapchop [options]

Options:
   -i, --input      Specify original image to cut
   -t, --tileSize   Tile size in pixels  [default: 256]
   -o, --tileDir    Directory to save tiles in [default: {currentDirectory}/tiles]

Output

Under tileDir, directories should be created, containing the map broken into square segments. From 1-5, the images should represent smaller and smaller portions of the original map. It's then possible to plug in the tiles to a mapping solutions, such as Leaflet.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%