Skip to content
/ togeotiff Public

Create a GeoTIFF from a tile server given a GeoJSON bounding box and desired zoom level.

Notifications You must be signed in to change notification settings

zhm/togeotiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

togeotiff

Create a GeoTIFF from an XYZ/TMS tile server given a GeoJSON bounding box and desired zoom level.

Setup

git clone https://github.com/zhm/togeotiff.git
cd togeotiff
bundle --path .bundle

Usage

./togeotiff.rb geotiff --geojson https://gist.githubusercontent.com/zhm/321c025c218bad47e3a4/raw/677fa9400c3b94cbb82ae033ce9fd77dc22b6651/map.geojson --zoom 13 --output ~/Documents/pinellas_county_image.tif

Workflow

  • Draw bounding box on geojson.io
  • Save as gist, get the raw URL
  • ./togeotiff.rb geotiff --geojson <RAW GIST URL> --zoom <ZOOM LEVEL> --output <OUTPUT FILE>

Note

This is sorta hacky and just intended to be a simple tool to make some nice screenshots or printed maps.

About

Create a GeoTIFF from a tile server given a GeoJSON bounding box and desired zoom level.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages