Home > other >  I'm trying to pull data from an object array using php. However, I cannot seem to find the data
I'm trying to pull data from an object array using php. However, I cannot seem to find the data

Time:02-10

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:

  •  Tags:  
  • Related