cvs: pear /Image_GIS GIS.php
| From: | Sebastian Bergmann | Date: | Mon, 30 Dec 2002 11:46:58 +0000 |
| Subject: | cvs: pear /Image_GIS GIS.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-7995@lists.php.net to get a copy of this message | ||
sebastian Mon Dec 30 06:46:58 2002 EDT
Modified files:
/pear/Image_GIS GIS.php
Log:
Some comments for the example.
Index: pear/Image_GIS/GIS.php
diff -u pear/Image_GIS/GIS.php:1.2 pear/Image_GIS/GIS.php:1.3
--- pear/Image_GIS/GIS.php:1.2 Mon Dec 30 06:36:50 2002
+++ pear/Image_GIS/GIS.php Mon Dec 30 06:46:58 2002
@@ -13,7 +13,7 @@
// | license@php.net so we can mail you a copy immediately. |
// +------------------------------------------------------------------------+
//
-// $Id: GIS.php,v 1.2 2002/12/30 11:36:50 sebastian Exp $
+// $Id: GIS.php,v 1.3 2002/12/30 11:46:58 sebastian Exp $
//
require_once 'Image/Color.php';
@@ -29,18 +29,28 @@
* <?php
* require_once 'Image/GIS.php';
*
+* // Create new map.
* $map = new Image_GIS(960, 1280);
-* $map->setRange(9.7, 10.5, 54.2, 54.7);
*
+* // Political
+* $map->addDataFile('germany_ponet.e00', 'black');
+*
+* // Roads
* $map->addDataFile('germany_rdline.e00', 'gray');
+*
+* // Populated Places
* $map->addDataFile('germany_pppoly.e00', 'green');
+*
+* // Drainage
* $map->addDataFile('germany_dnnet.e00', 'blue');
-* $map->addDataFile('germany_ponet.e00', 'black');
+*
+* // Set range to Kiel.
+* $map->setRange(9.7, 10.5, 54.2, 54.7);
*
* $map->saveImage('kiel.png');
* ?>
*
-* @version $Revision: 1.2 $
+* @version $Revision: 1.3 $
* @since Image_GIS 1.0.0
*/
class Image_GIS {