Create Siege configuration files from Cloud Optimized GeoTIFF.

Overview

cogeo-siege

Test Coverage Package version Downloads


Documentation:

Source Code: https://github.com/developmentseed/cogeo-siege


Description

Create siege configuration files from Cloud Optimized GeoTIFF.

This project is mostly inspired from the great TileSiege

Install

You can install cogeo-siege using pip

$ pip install -U pip
$ pip install -U cogeo-siege

or install from source:

$ git clone https://github.com/developmentseed/cogeo-siege.git
$ cd cogeo-siege
$ pip install -U pip
$ pip install -e .

Usage

$ cogeo-siege --help
Usage: cogeo-siege [OPTIONS] INPUT

  Create Siege configuration file from COG.

Options:
  -o, --output PATH  Output file name  [required]
  --minzoom INTEGER  Overide COG MinZoom.
  --maxzoom INTEGER  Overide COG MaxZoom.
  -q, --quiet        Remove progressbar and other non-error output.
  --version          Show the version and exit.
  --help             Show this message and exit.
$ cogeo-siege my_cog.tif -o test.txt
 6 |   677 █████
 7 |   731 █████
 8 |   873 ██████
 9 |   998 ██████
10 |  1284 ████████
11 |  1265 ████████
12 |  1765 ███████████
13 |  2407 ███████████████

$ head test.txt
PROT=http
HOST=localhost
PORT=8080
PATH=my_cog.tif
EXT=pbf
$(PROT)://$(HOST):$(PORT)/$(PATH)6/35/22.$(EXT)
$(PROT)://$(HOST):$(PORT)/$(PATH)6/35/21.$(EXT)
$(PROT)://$(HOST):$(PORT)/$(PATH)6/34/22.$(EXT)
$(PROT)://$(HOST):$(PORT)/$(PATH)6/35/22.$(EXT)
$(PROT)://$(HOST):$(PORT)/$(PATH)6/33/22.$(EXT)

Contribution & Development

See CONTRIBUTING.md

Authors

Created by Development Seed

See contributors for a listing of individual contributors.

License

See LICENSE

Owner
Development Seed
Development Seed
User friendly Rasterio plugin to read raster datasets.

rio-tiler User friendly Rasterio plugin to read raster datasets. Documentation: https://cogeotiff.github.io/rio-tiler/ Source Code: https://github.com

372 Dec 23, 2022
Python bindings to libpostal for fast international address parsing/normalization

pypostal These are the official Python bindings to https://github.com/openvenues/libpostal, a fast statistical parser/normalizer for street addresses

openvenues 651 Dec 16, 2022
Automated download of LANDSAT data from USGS website

LANDSAT-Download It seems USGS has changed the structure of its data, and so far, I have not been able to find the direct links to the products? Help

Olivier Hagolle 197 Dec 30, 2022
Solving the Traveling Salesman Problem using Self-Organizing Maps

Solving the Traveling Salesman Problem using Self-Organizing Maps This repository contains an implementation of a Self Organizing Map that can be used

Diego Vicente 3.1k Dec 31, 2022
Python script to locate mobile number

Python script to locate mobile number How to use this script run the command to install the required libraries pip install -r requirements.txt run the

Shekhar Gupta 8 Oct 10, 2022
A set of utility functions for working with GeoJSON annotations in Kaibu

kaibu-utils A set of utility functions for working with Kaibu. Create a new repository Create a new repository and select imjoy-team/imjoy-python-temp

ImJoy Team 0 Dec 12, 2021
Python project to generate Kerala's distrcit level panchayath map.

Kerala-Panchayath-Maps Python project to generate Kerala's distrcit level panchayath map. As of now, geojson files of Kollam and Kozhikode are added t

Athul R T 2 Jan 10, 2022
LEOGPS - Satellite Navigation with GPS on Python!

LEOGPS is an open-source Python software which performs relative satellite navigation between two formation flying satellites, with the objective of high accuracy relative positioning. Specifically,

Samuel Low 50 Dec 13, 2022
A toolbox for processing earth observation data with Python.

eo-box eobox is a Python package with a small collection of tools for working with Remote Sensing / Earth Observation data. Package Overview So far, t

13 Jan 06, 2022
A service to auto provision devices in Aruba Central based on the Geo-IP location

Location Based Provisioning Service for Aruba Central A service to auto provision devices in Aruba Central based on the Geo-IP location Geo-IP auto pr

Will Smith 3 Mar 22, 2022
Open GeoJSON data on geojson.io

geojsonio.py Open GeoJSON data on geojson.io from Python. geojsonio.py also contains a command line utility that is a Python port of geojsonio-cli. Us

Jacob Wasserman 114 Dec 21, 2022
GeoIP Legacy Python API

MaxMind GeoIP Legacy Python Extension API Requirements Python 2.5+ or 3.3+ GeoIP Legacy C Library 1.4.7 or greater Installation With pip: $ pip instal

MaxMind 230 Nov 10, 2022
Geographic add-ons for Django REST Framework. Maintained by the OpenWISP Project.

Geographic add-ons for Django REST Framework. Maintained by the OpenWISP Project.

OpenWISP 982 Jan 06, 2023
iNaturalist observations along hiking trails

This tool reads the route of a hike and generates a table of iNaturalist observations along the trails. It also shows the observations and the route of the hike on a map. Moreover, it saves waypoints

7 Nov 11, 2022
Logging the position of the car on an sdcard

audi-mmi-3g-gps-logging Logging the position of the car on an sdcard, startup script origin not clear to me, logging setup and time change is what I d

2 May 31, 2022
Geocode rows in a SQLite database table

Geocode rows in a SQLite database table

Chris Amico 225 Dec 08, 2022
Enable geospatial data mining through Google Earth Engine in Grasshopper 3D, via its most recent Hops component.

AALU_Geo Mining This repository is produced for a masterclass at the Architectural Association Landscape Urbanism programme. Requirements Rhinoceros (

4 Nov 16, 2022
Google maps for Jupyter notebooks

gmaps gmaps is a plugin for including interactive Google maps in the IPython Notebook. Let's plot a heatmap of taxi pickups in San Francisco: import g

Pascal Bugnion 747 Dec 19, 2022
Starlite-tile38 - Showcase using Tile38 via pyle38 in a Starlite application

Starlite-Tile38 Showcase using Tile38 via pyle38 in a Starlite application. Repo

Ben 8 Aug 07, 2022
Computer Vision in Python

Mahotas Python Computer Vision Library Mahotas is a library of fast computer vision algorithms (all implemented in C++ for speed) operating over numpy

Luis Pedro Coelho 792 Dec 20, 2022