Changes between Version 2 and Version 3 of RasterVrtDerivedBands


Ignore:
Timestamp:
Feb 16, 2012, 11:25:26 AM (12 years ago)
Author:
armin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RasterVrtDerivedBands

    v2 v3  
    8686Important to note that the pixel function works also for the image ''overviews'' (at least using the standard internal and external .ovr files, ERDAS .aux types have not been tested with this).
    8787
    88 == Use of VRT derived bands with PHP MapScript ==
    89 The above mentioned
     88== Use of VRT derived bands with PHP !MapScript ==
     89The above mentioned configuration works well using !MapServer CGI. If you want to use them via PHP !MapScript the GDAL plugin directory is not identified. In order to get this working add the respective GDAL configuration variable in the PHP !MapScript code that calls the $map->draw() function or that calls the WxS/OWS functions that returns the WxS/OWS output, like
     90{{{
     91putenv("GDAL_DRIVER_PATH=/usr/local/share/gdal/gdalplugins");
     92$_ENV['GDAL_DRIVER_PATH'] = "/usr/local/share/gdal/gdalplugins";
     93}}}
     94
     95(one of them might not be necessary...)
     96
     97Restart Apache and everything should work.
    9098
    9199
     100
     101