- location.name, location.class, location.type,
- location.place_type,
- location.admin_level, location.fromarea,
- location.isaddress and location.rank_address != current_rank_address,
- location.rank_address,
- location.distance)::addressline;
-
- IF location.isaddress THEN
- current_rank_address := location.rank_address;
- END IF;
+ location.name, location.class, location.type,
+ location.place_type,
+ location.admin_level, location.fromarea,
+ location_isaddress,
+ location.rank_address,
+ location.distance)::addressline;
+
+ current_rank_address := location.rank_address;