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
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
leafmap - A Python package for geospatial analysis and interactive mapping in a Jupyter environment.

A Python package for geospatial analysis and interactive mapping with minimal coding in a Jupyter environment

Qiusheng Wu 1.4k Jan 02, 2023
Geocode rows in a SQLite database table

Geocode rows in a SQLite database table

Chris Amico 225 Dec 08, 2022
A short term landscape evolution using a path sampling method to solve water and sediment flow continuity equations and model mass flows over complex topographies.

r.sim.terrain A short-term landscape evolution model that simulates topographic change for both steady state and dynamic flow regimes across a range o

Brendan Harmon 7 Oct 21, 2022
Code and coordinates for Matt's 2021 xmas tree

xmastree2021 Code and coordinates for Matt's 2021 xmas tree This repository contains the code and coordinates used for Matt's 2021 Christmas tree, as

Stand-up Maths 117 Jan 01, 2023
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
Imperial Valley Geomorphology Map

Roughly maps the extent of basins, basin edges, and mountains in the Imperial Valley by grouping terrain classes from the Iwahashi et al. 2021 California terrian classification model.

0 Dec 13, 2022
🌐 Local tile server for viewing geospatial raster files with ipyleaflet

🌐 Local Tile Server for Geospatial Rasters Need to visualize a rather large raster (gigabytes) you have locally? This is for you. A Flask application

Bane Sullivan 192 Jan 04, 2023
A Python interface between Earth Engine and xarray

eexarray A Python interface between Earth Engine and xarray Description eexarray was built to make processing gridded, mesoscale time series data quic

Aaron Zuspan 159 Dec 23, 2022
This is a simple python code to get IP address and its location using python

IP address & Location finder @DEV/ED : Pavan Ananth Sharma Dependencies: ip2geotools Note: use pip install ip2geotools to install this in your termin

Pavan Ananth Sharma 2 Jul 05, 2022
A simple python script that, given a location and a date, uses the Nasa Earth API to show a photo taken by the Landsat 8 satellite. The script must be executed on the command-line.

What does it do? Given a location and a date, it uses the Nasa Earth API to show a photo taken by the Landsat 8 satellite. The script must be executed

Caio 42 Nov 26, 2022
Specification for storing geospatial vector data (point, line, polygon) in Parquet

GeoParquet About This repository defines how to store geospatial vector data (point, lines, polygons) in Apache Parquet, a popular columnar storage fo

Open Geospatial Consortium 449 Dec 27, 2022
PySAL: Python Spatial Analysis Library Meta-Package

Python Spatial Analysis Library PySAL, the Python spatial analysis library, is an open source cross-platform library for geospatial data science with

Python Spatial Analysis Library 1.1k Dec 18, 2022
Minimum Bounding Box of Geospatial data

BBOX Problem definition: The spatial data users often are required to obtain the coordinates of the minimum bounding box of vector and raster data in

Ali Khosravi Kazazi 1 Sep 08, 2022
3D extension built off of shapely to make working with geospatial/trajectory data easier in python.

PyGeoShape 3D extension to shapely and pyproj to make working with geospatial/trajectory data easier in python. Getting Started Installation pip The e

Marc Brittain 5 Dec 27, 2022
Geospatial Image Processing for Python

GIPPY Gippy is a Python library for image processing of geospatial raster data. The core of the library is implemented as a C++ library, libgip, with

GIPIT 83 Aug 19, 2022
Asynchronous Client for the worlds fastest in-memory geo-database Tile38

This is an asynchonous Python client for Tile38 that allows for fast and easy interaction with the worlds fastest in-memory geodatabase Tile38.

Ben 53 Dec 29, 2022
Geocoding library for Python.

geopy geopy is a Python client for several popular geocoding web services. geopy makes it easy for Python developers to locate the coordinates of addr

geopy 3.8k Dec 30, 2022
geobeam - adds GIS capabilities to your Apache Beam and Dataflow pipelines.

geobeam adds GIS capabilities to your Apache Beam pipelines. What does geobeam do? geobeam enables you to ingest and analyze massive amounts of geospa

Google Cloud Platform 61 Nov 08, 2022
Pure Python NetCDF file reader and writer

Pyncf Pure Python NetCDF file reading and writing. Introduction Inspired by the pyshp library, which provides simple pythonic and dependency free data

Karim Bahgat 14 Sep 30, 2022