Attention! Do you have any ideas for reorganizing and updating the Mapki? Please leave a note here. Thank you!

C Sharp Tile Cutter

From Google Mapki

Jump to: navigation, search

This is a Tile Cutter written in C# will will generate tiles for Google maps based on an input image and an ESRI world file. This script was based on the original C# Tile Cutter on Mapki.

This tile cutter has the following features:

  • Generate tiles from any image format with an ESRI world file.
  • Supports Mercator projected images.
  • Find multiple images and world files in a given directory and process them all.
  • Can generate PNG tiles with a transparent background.

There is no documentation for this code. Only a few comments in the code. Please feel free to add documentation on this page and update the code.

[edit] Usage

 c:\tilecutter.exe <input> <output> [/search <pattern>] [/move <path>] [/fulltiles]
  • <input> = Full path of root directory of all images and world files (and possibly tiles within sub directories)
  • <output> = Full path to output directory
  • [/search] = Search pattern for image files (eg. /search *.jpg)
  • [/move] = Directory to move files to (eg. /move d:\temp)
  • [/fulltiles] = Output full tiles
Personal tools
Advertisement