Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
Experimental New Python Bindings
================================

These bindings aim to improve performance by using numpy 'structured' arrays.

Numpy must be installed.

To build:

python setup.py build --gdalinclude=$GDAL_INCLUDE_PATH --boostinclude=$BOOST_INCLUDE_PATH \
        --gslinclude=$GSL_INCLUDE_PATH --cgalinclude=$CGAL_INCLUDE_PATH \
        --lasinclude=$LIBLAS_INCLUDE_PATH --hdf5include=$HDF5_INCLUDE_PATH
python setup.py install

Obviously, $GDAL_INCLUDE_PATH must be set properly for your install. If these packages are 
installed in default locations then you may be able to get away with just 'python setup.py build'

I would recommend using the --prefix to the install command and specifying the location
of the SPDLib installed directory and setting your PYTHONPATH environment variable
appropriately.

See test.py for a simple example of how to use these bindings.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.