the array looks like this:
Array
(
[type] => FeatureCollection
[features] => Array
(
[0] => Array
(
[type] => Feature
[properties] => Array
(
[name] => Bahamas
[iso_a2] => BS
[iso_a3] => BHS
[iso_n3] => 044
)
[geometry] => Array
(
[type] => MultiPolygon
[coordinates] => Array
(
[0] => Array
(
[0] => Array
(
[0] => Array
(
[0] => -77.53466
[1] => 23.75975
)
[1] => Array
(
[0] => -77.78
[1] => 23.71
)
CodePudding user response: