This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@6de621f3074a:/usr/local/pygeoprocessing# python setup.py install | |
running install | |
running bdist_egg | |
running egg_info | |
creating pygeoprocessing.egg-info | |
writing pygeoprocessing.egg-info/PKG-INFO | |
writing dependency_links to pygeoprocessing.egg-info/dependency_links.txt | |
writing requirements to pygeoprocessing.egg-info/requires.txt | |
writing top-level names to pygeoprocessing.egg-info/top_level.txt | |
writing manifest file 'pygeoprocessing.egg-info/SOURCES.txt' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import requests | |
def demo(mosaic_id, planet_api_key): | |
"""Demo of searching multiple bounding boxes. | |
Parameters: | |
mosaic_id (str): planet mosaic id. | |
planet_api_key (str): Planet API key. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from osgeo import osr | |
wgs84 = osr.SpatialReference() | |
wgs84.ImportFromEPSG(4326) | |
utm10 = osr.SpatialReference() | |
utm10.ImportFromEPSG(26910) | |
# Play with these settings, you'll find the utm10 strategey makes no difference bu | |
# the wgs84 one needs traditional order | |
wgs84.SetAxisMappingStrategy(osr.OAMS_TRADITIONAL_GIS_ORDER) |
NewerOlder