Created
December 11, 2014 20:44
-
-
Save sgillies/8e9133fdad4b92acad3d to your computer and use it in GitHub Desktop.
Take 2
This file contains 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
# Copy and paste lines 2-8 (or 4-8 if you didn't delete the miniconda directory) into your terminal, hit return, and check back in 2 mins. | |
curl http://repo.continuum.io/miniconda/Miniconda-3.7.0-MacOSX-x86_64.sh > /tmp/miniconda.sh | |
bash /tmp/miniconda.sh -b | |
export PATH=$HOME/miniconda/bin:$PATH | |
conda create -n osgeoenv --yes -c https://conda.binstar.org/osgeo gdal | |
conda install -n osgeoenv --yes -c https://conda.binstar.org/sgillies rasterio | |
source activate osgeoenv | |
rio transform --src_crs epsg:4326 --dst_crs epsg:3857 "[-105, 40]" | |
# Result should be: | |
# [-11688546.533293728, 4865942.279503176] | |
# Go ahead and delete $HOME/miniconda when finished. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment