GeonamesServer icon indicating copy to clipboard operation
GeonamesServer copied to clipboard

null parent

Open pborreli opened this issue 12 years ago • 0 comments

I search "oujda", result is :

            {
                "geonameid": "2540482",
                "country": "MA",
                "name": "Oujda-Angad",
                "latitude": "34.236",
                "longitude": "-2.294",
                "population": 473922,
                "timezone": "Africa/Casablanca",
                "type": "ADM2",
                "parents": [
                    null,
                    {
                        "geonameid": "2542007",
                        "name": "Kingdom of Morocco",
                        "country": "MA",
                        "type": "country"
                    }
                ],
                "_score": 0.620548
            }

there is a null occurrence in "parents"

pborreli avatar May 02 '13 19:05 pborreli