|
|
|
@ -43,7 +43,13 @@ class Peta extends Controller
|
|
|
|
|
or die("Unable to execute query\n"); |
|
|
|
|
|
|
|
|
|
while ($row = oci_fetch_assoc($stmt)) { |
|
|
|
|
print $row['GEOJSON']->load() . "\n"; |
|
|
|
|
if ($row['GEOJSON']) { |
|
|
|
|
|
|
|
|
|
print $row['GEOJSON']->load() . "\n"; |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
print null; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|