diff --git a/frontend/index.php b/frontend/index.php index 1a9bbb3..4614de5 100644 --- a/frontend/index.php +++ b/frontend/index.php @@ -388,6 +388,7 @@ function hexToABGR($hex) { // Get height using BIN from DOB dataset if ($_GET['height_radio_1'] == 'dob') { $dob_get = file_get_contents('https://data.cityofnewyork.us/resource/5zhs-2jue.json?bin=' . $bin_1); + print_r($dob_get); $meters_1 = json_decode($dob_get, true)['0']['heightroof'] * 0.3048; $alt_mode_1 = "relativeToGround"; } @@ -428,6 +429,7 @@ function hexToABGR($hex) { // Get height using BIN from DOB dataset if ($_GET['height_radio_2'] == 'dob') { $dob_get = file_get_contents('https://data.cityofnewyork.us/resource/5zhs-2jue.json?bin=' . $bin_2); + print_r($dob_get); $meters_2 = json_decode($dob_get, true)['0']['heightroof'] * 0.3048; $alt_mode_2 = "relativeToGround"; }