The problem is with this service
ws.geonames.org/findNearbyPlaceName?style=FULL&lat=48.865618158309374&lng=2.344207763671875
I need to get only country and city names but instead I get the next detailed info:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<geonames>
<geoname>
<name>Le Louvre</name>
<lat>48.8635007970663</lat>
<lng>2.33875751495361</lng>
<geonameId>6545270</geonameId>
<countryCode>FR</countryCode>
<countryName>France</countryName>
<fcl>P</fcl>
<fcode>PPLX</fcode>
<fclName>city, village,...</fclName>
<fcodeName>section of populated place</fcodeName>
<population/>
<alternateNames/>
<elevation>0</elevation>
<adminCode1>A8</adminCode1>
<adminName1>ГЋle-de-France</adminName1>
<adminCode2>75</adminCode2>
<adminName2>DГ©partement de Ville-de-Paris</adminName2>
<distance>0.8895490128233411</distance>
</geoname>
</geonames>
But there is no place where 'Paris' is mentioned (I clicked in the center of the city). How should I get ony country+city information?
Thanks,
Eugene