geodesign / django-raster

Django-raster allows you to create tiled map services (TMS) and raster map algebra end points for web maps. It is Python-based, and requires GeoDjango with a PostGIS backend.
BSD 3-Clause "New" or "Revised" License
96 stars 39 forks source link

GDAL compatibility #5

Closed jer-shiny closed 9 years ago

jer-shiny commented 9 years ago

I'm not able to install django-raster with GDAL 1.9.2 (which is the gdal build supplied with my OS of CentOS 6.4) It looks like django-raster is dependent on GDAL 1.10 or higher from the errors I'm getting, is that correct? Any possible workarounds, besides doing a re-install to GDAL 1.10? When I try to install, it appears the build tries to install GDAL 1.10 but cannot find the proper header files. Open to advice I'd really like to build this, it looks like a fantastic toolkit for what I need. Thank you, and apologies if this is not posted in the proper place (as it is a request more than an 'issue'.)

yellowcap commented 9 years ago

That's right, the setup file is configured to require GDAL 1.10. This is because the GDAL Raster Driver is slow and less stable in GDAL 1.9. You could try to install the package without dependencies through pip install django-raster --no-dependencies. If you have the gdal package in your pythonpath, this could work as it will skip the gdal install. I guess the package would also work with GDAL 1.9, but it might be slower and I am not sure, so far I used only GDAL 1.10.