cvs: pear /Image_GIS GIS.php
| From: | Sebastian Bergmann | Date: | Sun, 19 Jan 2003 12:25:17 +0000 |
| Subject: | cvs: pear /Image_GIS GIS.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-8413@lists.php.net to get a copy of this message | ||
sebastian Sun Jan 19 07:25:17 2003 EDT
Modified files:
/pear/Image_GIS GIS.php
Log:
Update example.
Index: pear/Image_GIS/GIS.php
diff -u pear/Image_GIS/GIS.php:1.12 pear/Image_GIS/GIS.php:1.13
--- pear/Image_GIS/GIS.php:1.12 Sun Jan 19 07:23:12 2003
+++ pear/Image_GIS/GIS.php Sun Jan 19 07:25:17 2003
@@ -13,7 +13,7 @@
// | license@php.net so we can mail you a copy immediately. |
// +------------------------------------------------------------------------+
//
-// $Id: GIS.php,v 1.12 2003/01/19 12:23:12 sebastian Exp $
+// $Id: GIS.php,v 1.13 2003/01/19 12:25:17 sebastian Exp $
//
require_once 'Image/Color.php';
@@ -32,7 +32,13 @@
* // Create new map.
* $map = new Image_GIS(
* 'width' => 960,
-* 'height' => 1280
+* 'height' => 1280,
+* 'range' => array(
+* 'x1' => 9.7,
+* 'x2' => 10.5,
+* 'y1' => 54.2,
+* 'y2' => 54.7
+* )
* );
*
* // Political
@@ -47,13 +53,10 @@
* // Drainage
* $map->addDataFile('germany_dnnet.e00', 'blue');
*
-* // Set range to Kiel.
-* $map->setRange(9.7, 10.5, 54.2, 54.7);
-*
* $map->saveImage('kiel.png');
* ?>
*
-* @version $Revision: 1.12 $
+* @version $Revision: 1.13 $
* @since Image_GIS 1.0.0
*/
class Image_GIS {