The acis-php library provides tools for ACIS Web Services client applications. There is also a Python version.
PHP 5.2 - 5.4
All the required files are in the acis directory, or a self-contained phar archive can be downloaded. The directory or the phar file must be visible in the PHP include path.
To use the library either acis/acis.php
or acis.phar
must be included.
require_once 'acis/acis.php';
require_once 'acis.phar';
The library uses PHP's DateTime
class, which requires a time zone to be
defined before the class is used.
date_default_timezone_set('UTC'); // DateTime exception without this
ACIS_RequestQueue
is not part of the core library yet and requires a separate
include:
require_once 'acis/queue.php'
The tutorial has examples of how to use the library.
- ACIS_MultiStnDataResult will give the wrong dates when iterating over "groupby" results.
- ACIS_GridDataResult cannot be used with image output.
- ACIS_ReqeustQueue should be considered experimental.