$aFilteredPlaces['osm_type'] = $sOSMType;\r
$aFilteredPlaces['osm_id'] = $aPlace['osm_id'];\r
}\r
+ if (isset($aPlace['lat'])) $aFilteredPlaces['lat'] = $aPlace['lat'];\r
+ if (isset($aPlace['lon'])) $aFilteredPlaces['lon'] = $aPlace['lon'];\r
+ $aFilteredPlaces['category'] = $aPlace['class'];\r
+ $aFilteredPlaces['type'] = $aPlace['type'];\r
+ $aFilteredPlaces['addresstype'] = strtolower($aPlace['addresstype']);\r
+\r
$aFilteredPlaces['display_name'] = $aPlace['langaddress'];\r
+ $aFilteredPlaces['name'] = $aPlace['placename'];\r
$aFilteredPlaces['address'] = $aAddress;\r
}\r
\r