If for a boundary the place_type is defined, handle the address
part like a place node. This is the same behaviour as before
when class/type where patched earlier.
{
$aClassType = getList();
+ if ($aPlace['type'] == 'administrative' && isset($aPlace['place_type'])) {
+ $sName = 'place:'.$aPlace['place_type'];
+ if (isset($aClassType[$sName])) {
+ return $aClassType[$sName];
+ }
+ }
+
if (isset($aPlace['admin_level'])) {
$sName = $aPlace['class'].':'.$aPlace['type'].':'.$aPlace['admin_level'];
if (isset($aClassType[$sName])) {