+
+ if ($sOutputFormat == 'jsonv2' || $sOutputFormat == 'geojson') {
+ $aFilteredPlaces['place_rank'] = $aPlace['rank_search'];
+
+ $aFilteredPlaces['category'] = $aPlace['class'];
+ $aFilteredPlaces['type'] = $aPlace['type'];
+
+ $aFilteredPlaces['importance'] = $aPlace['importance'];
+
+ $aFilteredPlaces['addresstype'] = strtolower($aPlace['addresstype']);
+
+ $aFilteredPlaces['name'] = $aPlace['placename'];
+ }
+