All Projects → tehamalab → gdal2tiles

tehamalab / gdal2tiles

Licence: MIT license
A python library for generating map tiles based on gdal2tiles.py from GDAL project

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects
Makefile
30231 projects

Labels

Projects that are alternatives of or similar to gdal2tiles

Fiona
Fiona reads and writes geographic data files
Stars: ✭ 787 (+1384.91%)
Mutual labels:  gis, gdal
gismanager
Publish Your GIS Data(Vector Data) to PostGIS and Geoserver
Stars: ✭ 45 (-15.09%)
Mutual labels:  gis, gdal
Geography for hackers
Geography for Hackers - Teaching all how to hack geography, use GIS, and think spatially
Stars: ✭ 25 (-52.83%)
Mutual labels:  gis, gdal
registrant
Python package used for generating HTML reports about the contents of Esri geodatabases.
Stars: ✭ 44 (-16.98%)
Mutual labels:  gis, gdal
Earthenterprise
Google Earth Enterprise - Open Source
Stars: ✭ 2,425 (+4475.47%)
Mutual labels:  gis, gdal
Node Gdal
Node.js bindings for GDAL (Geospatial Data Abstraction Library)
Stars: ✭ 459 (+766.04%)
Mutual labels:  gis, gdal
Simple Tiles
Simple tile generation for maps.
Stars: ✭ 106 (+100%)
Mutual labels:  gis, gdal
Datacube Core
Open Data Cube analyses continental scale Earth Observation data through time
Stars: ✭ 285 (+437.74%)
Mutual labels:  gis, gdal
Agstoshapefile
Convert ArcGIS Server Dynamic Map Service to GeoJSON and Shapefile
Stars: ✭ 172 (+224.53%)
Mutual labels:  gis, gdal
Rioxarray
geospatial xarray extension powered by rasterio
Stars: ✭ 148 (+179.25%)
Mutual labels:  gis, gdal
Geocube
Tool to convert geopandas vector data into rasterized xarray data.
Stars: ✭ 87 (+64.15%)
Mutual labels:  gis, gdal
batyr
Microservice for on-demand synchronization of geographical vector datasources to a PostgreSQL/PostGIS database. The service provides an HTTP API for easy integration into other applications.
Stars: ✭ 25 (-52.83%)
Mutual labels:  gis, gdal
Rasterio
Rasterio reads and writes geospatial raster datasets
Stars: ✭ 1,643 (+3000%)
Mutual labels:  gis, gdal
GeoArrays.jl
Simple geographical raster interaction built on top of ArchGDAL, GDAL and CoordinateTransformations
Stars: ✭ 42 (-20.75%)
Mutual labels:  gis, gdal
osm-export-tool-python
command line tool + Python library for exporting OSM in various file formats.
Stars: ✭ 32 (-39.62%)
Mutual labels:  gis, gdal
speckle-qgis
QGIS Connector for Speckle 2.0
Stars: ✭ 17 (-67.92%)
Mutual labels:  gis
website
Source du site statique de geotribu.net
Stars: ✭ 15 (-71.7%)
Mutual labels:  gis
go-mbgl
Go bindings for Mapbox GL Native
Stars: ✭ 16 (-69.81%)
Mutual labels:  gis
node-gdal-async
Node.js bindings for GDAL (Geospatial Data Abstraction Library) with full async support
Stars: ✭ 52 (-1.89%)
Mutual labels:  gdal
earthengine-py-examples
A collection of 300+ examples for using Earth Engine and the geemap Python package
Stars: ✭ 76 (+43.4%)
Mutual labels:  gis

gdal2tiles

Documentation Status

A python library for generating map tiles inspired by gdal2tiles.py from GDAL project.

Dependancies

  • GDAL development header files, sometimes available as libgdal-dev or libgdal-devel packages.

Installation

To install gdal2tiles library you can use pip:

$ pip install gdal2tiles

Basic usage

import gdal2tiles

gdal2tiles.generate_tiles('/path/to/input_file', '/path/to/output_dir/')

You can also pass various keyword as optional keyword arguments to generate_tiles() function. For example

gdal2tiles.generate_tiles('input_file', 'output_dir/', nb_processes=2, zoom='7-9')

OR

options = {'zoom': (7, 9), 'resume': True}
gdal2tiles.generate_tiles('input_file', 'output_dir/', **options)

In general

gdal2tiles.generate_tiles(input_file, output_folder, **options)
Arguments:

input_file (str): Path to input file.

output_folder (str): Path to output folder.

options: Tile generation options.

Options:
profile (str): Tile cutting profile (mercator,geodetic,raster) - default
'mercator' (Google Maps compatible)
resampling (str): Resampling method (average,near,bilinear,cubic,cubicsp
line,lanczos,antialias) - default 'average'

s_srs: The spatial reference system used for the source input data

zoom: Zoom levels to render; format: '[int min, int max]',
'min-max' or 'int/str zoomlevel'.

tile_size (int): Size of tiles to render - default 256

resume (bool): Resume mode. Generate only missing files.

srcnodata: NODATA transparency value to assign to the input data

tmscompatible (bool): When using the geodetic profile, specifies the base
resolution as 0.703125 or 2 tiles at zoom level 0.

verbose (bool): Print status messages to stdout

kml (bool): Generate KML for Google Earth - default for 'geodetic'
profile and 'raster' in EPSG:4326. For a dataset with different projection use with caution!

url (str): URL address where the generated tiles are going to be published

webviewer (str): Web viewer to generate (all,google,openlayers,none) -
default 'all'

title (str): Title of the map

copyright (str): Copyright for the map

googlekey (str): Google Maps API key from
http://code.google.com/apis/maps/signup.html

bingkey (str): Bing Maps API key from https://www.bingmapsportal.com/

nb_processes (int): Number of processes to use for tiling.

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].