Skip to content

get a geoTiff from digital Globe, convert it to tiles and upload it

Notifications You must be signed in to change notification settings

simbiotica/dg-tile-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 

Repository files navigation

dg-tile-explorer

Get a geoTif from digital Globe, convert it to tiles and upload it.

Requirements

  • Python version: > 2.4
  • GDAL
  • s4cmd (or s3cmd)

SETUP (Mac OS X)

Python (Mac OS X)

Install Python for Mac OS X. Follow the instructions here.

GDAL (Mac OS X)

Install GDAL for Mac OS X. Follow the instructions here.

s4cmd

Install s4cmd: pip install s4cmd - Follow the instructions here.

Do not forget to set the S3_ACCESS_KEY and S3_SECRET_KEY environment variables to contain your S3 credentials.

Process

Get a geoTif from digital Globe

Download Images from digitalglobe or Get the bbox and select a featureid from the WFS service as an identifier https://services.digitalglobe.com/catalogservice/wfsaccess?SERVICE=WFS&REQUEST=GetFeature&maxFeatures=1&typeName=DigitalGlobe:FinishedFeature&VERSION=1.1.1&CONNECTID=<CONNECTID>&BBOX=<Your coordinates>&width=3000&height=3000

Next you will put the identifier for getCovertures from the WCS service. https://services.digitalglobe.com/deliveryservice/wcsaccess?service=WCS&request=GetCoverage&connectid=<CONNECTID>&identifier=<IDENTIFIER>&version=1.1.1&boundingBox=<BBOX>&Output:format=image/geotiff

Convert images to tiles

  gdal2tiles.py -z 1-18 image_file_name.tif [target folder]

Upload tiles to Amazon s3

  s4cmd.py sync /path_to/dirA s3://bucket/path_to/dirB/

About

get a geoTiff from digital Globe, convert it to tiles and upload it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •