All Projects → jahed → maptiles

jahed / maptiles

Licence: AGPL-3.0 license
Map tile generator. Converts an image into map tiles using ImageMagick. Map tiles can be used in Google Maps, Leaflet and other map rendering software.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to maptiles

Leaflet.markercluster
Marker Clustering plugin for Leaflet
Stars: ✭ 3,305 (+6255.77%)
Mutual labels:  mapping, leaflet
papyrusjs
papyrus.js renders maps of Minecraft: Bedrock Edition worlds using node.js, LevelDB and leaflet.
Stars: ✭ 53 (+1.92%)
Mutual labels:  mapping, leaflet
coronavirus-map-dashboard
🦠 Coronavirus (COVID-19) Map Dashboard using coronavirus-tracker-api
Stars: ✭ 41 (-21.15%)
Mutual labels:  mapping, leaflet
Leaflet.labeltextcollision
Leaflet.LabelTextCollision is a LeafletJS plug-in to display labels on vector data while avoiding label collisions.
Stars: ✭ 65 (+25%)
Mutual labels:  mapping, leaflet
Leaflet Dvf
Leaflet Data Visualization Framework
Stars: ✭ 678 (+1203.85%)
Mutual labels:  mapping, leaflet
Wicket
A modest library for moving between Well-Known Text (WKT) and various framework geometries
Stars: ✭ 484 (+830.77%)
Mutual labels:  mapping, leaflet
mapr
Map species occurrence data
Stars: ✭ 34 (-34.62%)
Mutual labels:  mapping, leaflet
Iclient Javascript
Modern GIS Web Client for JavaScript, based on Leaflet\OpenLayers\MapboxGL-JS\Classic(iClient8C), enhanced with ECharts\D3\MapV etc. Contributed by SuperMap & community.
Stars: ✭ 593 (+1040.38%)
Mutual labels:  mapping, leaflet
Papyrusjs
papyrus.js renders maps of Minecraft: Bedrock Edition worlds using node.js, LevelDB and leaflet.
Stars: ✭ 50 (-3.85%)
Mutual labels:  mapping, leaflet
Kepler
The open source full-stack geosocial network platform
Stars: ✭ 125 (+140.38%)
Mutual labels:  mapping, leaflet
Imager
Image processing proxy
Stars: ✭ 56 (+7.69%)
Mutual labels:  imagemagick
Cvpr2019
Displays all the 2019 CVPR Accepted Papers in a way that they are easy to parse.
Stars: ✭ 65 (+25%)
Mutual labels:  imagemagick
Nuxt Image Loader Module
An image loader module for nuxt.js that allows you to configure image style derivatives.
Stars: ✭ 135 (+159.62%)
Mutual labels:  imagemagick
Googliser
a fast BASH multiple-image downloader
Stars: ✭ 202 (+288.46%)
Mutual labels:  imagemagick
Jekyll Assets
🎨 Asset pipelines for Jekyll.
Stars: ✭ 1,083 (+1982.69%)
Mutual labels:  imagemagick
Spacechop
HTTP service for high-level image processing with first-class Docker support.
Stars: ✭ 133 (+155.77%)
Mutual labels:  imagemagick
Wand
The ctypes-based simple ImageMagick binding for Python
Stars: ✭ 1,074 (+1965.38%)
Mutual labels:  imagemagick
Mod dims
Apache HTTP dynamic image resizing module
Stars: ✭ 40 (-23.08%)
Mutual labels:  imagemagick
Catimg
🦦 Insanely fast image printing in your terminal
Stars: ✭ 880 (+1592.31%)
Mutual labels:  imagemagick
Lsix
Like "ls", but for images. Shows thumbnails in terminal using sixel graphics.
Stars: ✭ 2,635 (+4967.31%)
Mutual labels:  imagemagick
NAME
  maptiles - converts an image to map tiles

SYNOPSIS
  ./maptiles <input_image> [<options>] <output_directory>

DESCRIPTION
  Converts an image to map tiles to be used in Google Maps, Leaflet and other
  map rendering software.

  Version:   v3.0.0
  Homepage:  https://github.com/jahed/maptiles
  Donate:    https://jahed.dev/donate

OPTIONS
  <input_image>
    Image to convert into tiles. Must exist. Must be square, otherwise
    see --square option.

  <output_directory>
    Output directory. Must NOT exist, to avoid polluting existing directories.

  -f, --format <format>
    Tile format (e.g. 'png'). Defaults to <input_image> file extension.

  -b, --background <background>
    Can be any ImageMagick-compatible colour. Defaults to 'none' (transparent).
    See: https://imagemagick.org/script/color.php

  -o, --optimise (lossy|lossless)
    Optimises tiles depending on the <format>.

    * png uses pngquant (lossy) or optipng (lossless)
    * jpg uses jpegtran (lossless)

    Lossy optimisations may cause a size increase depending on each tile's
    complexity. Only use it for maps which store a lot of detail per tile.

  -s, --square
    Converts a non-square <input_image> into a square one, using whichever
    dimension is largest and centering the image.

  -h, --help
    Prints this help message.

  --version
    Prints the version.

OUTPUT
  Tiles in the <output_directory> will take the format of:
  <output_directory>/{zoom_level}/tile_{x}_{y}.<format>

  {zoom_level} will start at 0 and go up to the maximum zoom possible for the
  <input_image> rounding up to the next zoom level. An <input_image> with
  dimensions 2048x2048 will go up to 4 whereas an image with 3000x3000 will go
  up to 5. This is done to make the most out of the level of detail in the image
  without enlargening too much.

  Each tile has a dimension of 256x256 and each {zoom_level} goes up in
  dimensions of 2 to the power of {zoom_level} (i.e. 1x1, 2x2, 4x4, 8x8, etc.).
  So overall, for each zoom level, the resulting map resolution will be 256x256,
  512x512, 1024x1024, 2048x2048 and so on.

  If you're using Leaflet, I suggest you set this maximum zoom as your
  map.maxNativeZoom so you can have higher zoom levels without the need to
  download larger, low quality, upscaled tiles.

EXAMPLES
  Take a detailed image and create optimised tiles to save space.
    ./maptiles detailed_map.png --optimise lossy ./tiles

  Take an image, square it with a red background and output it as JPG tiles.
    ./maptiles map.png --square --format jpg --background #ff0000 ./tiles

DEPENDENCIES
  Required
    ImageMagick  https://www.imagemagick.org
    Bash         https://en.wikipedia.org/wiki/Bash_%28Unix_shell%29

  Optional
    pngquant    https://pngquant.org/
    optipng     http://optipng.sourceforge.net/
    jpegtran    https://jpegclub.org/jpegtran/

COPYRIGHT
  Copyright (C) 2020 Jahed Ahmed

  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU Affero General Public License as published by
  the Free Software Foundation, either version 3 of the License, or any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU Affero General Public License for more details.

  You should have received a copy of the GNU Affero General Public License
  along with this program.  If not, see <https://www.gnu.org/licenses/>.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].