GithubHelp home page GithubHelp logo

aryabhatta000 / tile-utils Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vvoovv/tile-utils

0.0 1.0 0.0 7 KB

Python scripts for stitching tiled maps from a number of sources (Bing aerial maps, web maps, MBTiles files)

Python 100.00%

tile-utils's Introduction

tile-utils is a set of Python scripts for stitching of tiled web maps.

The following sources of web maps are supported:

Possible applications

  • Preparing a big map for printing
  • Making a field paper for a painting program in your mobile device

Prerequisites

  • Python 2.7
  • Python Imaging Library (PIL)

Installation

  • Download and unpack ZIP archive
  • Replace the content of bing_maps_key.txt with your Bing Maps Key. See the instructions how to get a Bing Maps Key

Usage

See

cd pathTo/tile-utils
python stitch.py -h

Important note:
If your bounding box definition starts with minus, place -- before it, as in the example below.

Example parameters:

# Stitching tiles Bing Aerial Maps
python stitch.py 26.7188,58.3786,26.72067,58.3791 bing
# Stitching tiles from http://osm.org
python stitch.py 26.7188,58.3786,26.72067,58.3791 http://{a,b,c}.tile.openstreetmap.org
# Stitching tiles from a local MBTiles file
python stitch.py -- -77.0471,38.8790,-77.0299,38.8891 pathTo/fileName.mbtiles

Limitation

Only 200 tiles can be downloaded from Bing Aerial Maps or any web map with OpenStreetMap tiling scheme. You can use TileMill to produce your own tiles in the MBTiles format.

tile-utils's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.