@@ -7,14 +7,14 @@ |
||
| 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++; |
@@ -7,14 +7,14 @@ |
||
| 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++; |