Import os, sys, time, gdal from gdalconst import. # start timing startTime = time.time # coordinates to get pixel values for OS Python week 4: Reading raster data 17 xValues = 447520.0, 432524.0, 451503.0 yValues = 4631976.0, 4608827.0, 4648114.0 # set directory os.chdir(r'Z: Data Classes Python data') # register all of the drivers. GDAL is a translator library for raster and vector geospatial data formats that is released under an X/MIT style Open Source License by the Open Source Geospatial Foundation. As a library, it presents a single raster abstract data model and single vector abstract data model to the calling application for all supported formats.
- Both 'GDAL' raster and 'OGR' vector map data can be imported into R, and 'GDAL' raster data and 'OGR' vector data exported. Use is made of classes defined in the 'sp' package. Windows and Mac Intel OS X binaries (including 'GDAL', 'PROJ.4' and 'Expat') are provided on 'CRAN'.
- The Kyngchaos GDAL frameworks will satisfy the GDAL/OGR dependency for OS X, as will Homebrew’s GDAL Formula (brew install gdal). Python Requirements. Fiona depends on the modules enum34, six, cligj, munch, argparse, and ordereddict (the two latter modules are standard in Python 2.7+). Pip will fetch these requirements for you, but users.
# gdal - 2016-08-04_10-44-02.txt
![Gdal for os x 10 Gdal for os x 10](/uploads/1/2/6/5/126558666/141519394.png)
Homebrew build logs for gdal on Mac OS X 10.11.6 |
Build date: 2016-08-04 10:44:02 |
00.config.out
HOMEBREW_VERSION: 0.9.9 |
ORIGIN: https://github.com/Homebrew/brew.git |
HEAD: 38209aadbfe4fd0c6772467c4bc5c63325d53f6c |
Last commit: 7 hours ago |
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core |
Core tap HEAD: 1ab8ee98465720bc88cb4764e48907c26dbab317 |
Core tap last commit: 29 minutes ago |
HOMEBREW_PREFIX: /usr/local |
HOMEBREW_REPOSITORY: /usr/local |
HOMEBREW_CELLAR: /usr/local/Cellar |
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com |
CPU: octa-core 64-bit skylake |
Homebrew Ruby: 2.0.0-p648 |
Clang: 7.3 build 703 |
Git: 2.7.4 => /Library/Developer/CommandLineTools/usr/bin/git |
Perl: /usr/bin/perl |
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/bin/python2.7 |
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby |
Java: 1.8.0_73, 1.6.0_65-b14-468 |
OS X: 10.11.6-x86_64 |
Xcode: N/A |
CLT: 7.3.1.0.1.1461711523 |
X11: 2.7.9 => /opt/X11 |
00.doctor.out
Warning: Calling Formula.sha1 is deprecated! |
Use Formula.sha256 instead. |
/usr/local/Library/Taps/osgeo/homebrew-osgeo4mac/Formula/gdal-grass64.rb:6:in `<class:GdalGrass64>' |
Please report this to the osgeo/osgeo4mac tap! |
Warning: Calling SoftwareSpec#sha1 is deprecated! |
Use SoftwareSpec#sha256 instead. |
/usr/local/Library/Taps/osgeo/homebrew-osgeo4mac/Formula/gdal-grass64.rb:6:in `<class:GdalGrass64>' |
Please report this to the osgeo/osgeo4mac tap! |
Warning: Calling Resource#sha1 is deprecated! |
Use Resource#sha256 instead. |
/usr/local/Library/Taps/osgeo/homebrew-osgeo4mac/Formula/gdal-grass64.rb:6:in `<class:GdalGrass64>' |
Please report this to the osgeo/osgeo4mac tap! |
Warning: Calling BottleSpecification#sha1 is deprecated! |
Use BottleSpecification#sha256 instead. |
/usr/local/Library/Taps/osgeo/homebrew-osgeo4mac/Formula/gdal-grass64.rb:11:in `block in <class:GdalGrass64>' |
Please report this to the osgeo/osgeo4mac tap! |
Warning: Calling BottleSpecification#sha1 is deprecated! |
Use BottleSpecification#sha256 instead. |
/usr/local/Library/Taps/osgeo/homebrew-osgeo4mac/Formula/gdal-grass64.rb:12:in `block in <class:GdalGrass64>' |
Please report this to the osgeo/osgeo4mac tap! |
Your system is ready to brew. |
01.autogen.sh
2016-08-04 10:44:02 -0700 |
./autogen.sh |
Platform is Darwin |
/usr/local/opt/libtool/bin/glibtoolize: line 406: /usr/local/Library/ENV/4.3/sed: No such file or directory |
/usr/local/opt/libtool/bin/glibtoolize: line 2513: /usr/local/Library/ENV/4.3/sed: No such file or directory |
/usr/local/opt/libtool/bin/glibtoolize: line 2513: /usr/local/Library/ENV/4.3/sed: No such file or directory |
/usr/local/opt/libtool/bin/glibtoolize: line 3601: /usr/local/Library/ENV/4.3/sed: No such file or directory |
/usr/local/opt/libtool/bin/glibtoolize: line 3845: /usr/local/Library/ENV/4.3/sed: No such file or directory |
/usr/local/opt/libtool/bin/glibtoolize: line 861: /usr/local/Library/ENV/4.3/sed: No such file or directory |
: putting auxiliary files in'.'. |
: copying file './ltmain.sh' |
/usr/local/opt/libtool/bin/glibtoolize: line 3771: /usr/local/Library/ENV/4.3/sed: No such file or directory |
configure.ac:11: installing 'config/ar-lib' |
configure.ac:11: installing 'config/compile' |
configure.ac:16: installing 'config/config.guess' |
configure.ac:16: installing 'config/config.sub' |
configure.ac:10: installing 'config/install-sh' |
configure.ac:16: error: required file 'config/ltmain.sh' not found |
configure.ac:10: installing 'config/missing' |
examples/engine/Makefile.am: installing 'config/depcomp' |
parallel-tests: installing 'config/test-driver' |
autoreconf: automake failed with exit status: 1 |
HOMEBREW_VERSION: 0.9.9 |
ORIGIN: https://github.com/Homebrew/brew.git |
HEAD: 38209aadbfe4fd0c6772467c4bc5c63325d53f6c |
Last commit: 7 hours ago |
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core |
Core tap HEAD: 1ab8ee98465720bc88cb4764e48907c26dbab317 |
Core tap last commit: 10 minutes ago |
HOMEBREW_PREFIX: /usr/local |
HOMEBREW_REPOSITORY: /usr/local |
HOMEBREW_CELLAR: /usr/local/Cellar |
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com |
CPU: octa-core 64-bit skylake |
Homebrew Ruby: 2.0.0-p648 |
GCC-4.2: build 0 |
Clang: 7.3 build 703 |
Git: 2.7.4 => /Library/Developer/CommandLineTools/usr/bin/git |
Perl: /usr/bin/perl |
Python: /usr/bin/python |
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby |
Java: 1.8.0_73, 1.6.0_65-b14-468 |
OS X: 10.11.6-x86_64 |
Xcode: N/A |
CLT: 7.3.1.0.1.1461711523 |
X11: 2.7.9 => /opt/X11 |
HOMEBREW_CC: clang |
HOMEBREW_CXX: clang++ |
MAKEFLAGS: -j8 |
CMAKE_PREFIX_PATH: /usr/local/opt/readline:/usr/local/opt/sqlite:/usr/local/opt/libxml2:/usr/local/opt/liblwgeom:/usr/local/opt/openssl:/usr/local |
CMAKE_INCLUDE_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers |
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries |
PKG_CONFIG_PATH: /usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/libtiff/lib/pkgconfig:/usr/local/opt/proj/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/freexl/lib/pkgconfig:/usr/local/opt/libxml2/lib/pkgconfig:/usr/local/opt/json-c/lib/pkgconfig:/usr/local/opt/libspatialite/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/postgresql/lib/pkgconfig |
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/Homebrew/os/mac/pkgconfig/10.11 |
ACLOCAL_PATH: /usr/local/opt/libxml2/share/aclocal:/usr/local/share/aclocal |
PATH: /usr/local/Library/Homebrew/shims/super:/usr/local/opt/libpng/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/giflib/bin:/usr/local/opt/libtiff/bin:/usr/local/opt/proj/bin:/usr/local/opt/libgeotiff/bin:/usr/local/opt/geos/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/libxml2/bin:/usr/local/opt/openssl/bin:/usr/local/opt/postgresql/bin:/usr/local/opt/autoconf/bin:/usr/local/opt/automake/bin:/usr/local/opt/libtool/bin:/usr/local/opt/gcc/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin |
![10.12 10.12](/uploads/1/2/6/5/126558666/418799667.jpg)
Gdal For Os X 8
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment