Completed
Push — master ( b47f29...4465ab )
by Michal
03:24
created
examples/read_polygon.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -7,14 +7,14 @@
 block discarded – undo
7 7
 $shp->loadFromFile('../data/mexico.*');
8 8
 
9 9
 $i = 1;
10
-foreach ($shp->records as $record){
10
+foreach ($shp->records as $record) {
11 11
     echo "<pre>";
12 12
     echo "Record No. $i:\n\n\n";
13 13
     echo "SHP Data = ";
14
-    print_r($record->SHPData);   //All the data related to the poligon
14
+    print_r($record->SHPData); //All the data related to the poligon
15 15
     print_r("\n\n\n");
16 16
     echo "DBF Data = ";
17
-    print_r($record->DBFData);   //All the information related to each poligon
17
+    print_r($record->DBFData); //All the information related to each poligon
18 18
     print_r("\n\n\n");
19 19
     echo "</pre>";
20 20
     $i++;
Please login to merge, or discard this patch.
examples/read_point.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -7,14 +7,14 @@
 block discarded – undo
7 7
 $shp->loadFromFile('../data/capitals.*');
8 8
 
9 9
 $i = 1;
10
-foreach ($shp->records as $record){
10
+foreach ($shp->records as $record) {
11 11
     echo "<pre>";
12 12
     echo "Record No. $i:\n\n\n";
13 13
     echo "SHP Data = ";
14
-    print_r($record->SHPData);   //All the data related to the point
14
+    print_r($record->SHPData); //All the data related to the point
15 15
     print_r("\n\n\n");
16 16
     echo "DBF Data = ";
17
-    print_r($record->DBFData);   //All the information related to each point
17
+    print_r($record->DBFData); //All the information related to each point
18 18
     print_r("\n\n\n");
19 19
     echo "</pre>";
20 20
     $i++;
Please login to merge, or discard this patch.