@@ -68,24 +68,24 @@ def test_reverse_ignore_unindexed(apiobj, frontend):
68
68
(0.70003 , napi .DataLayer .MANMADE | napi .DataLayer .NATURAL , 225 ),
69
69
(5 , napi .DataLayer .ADDRESS , 229 )])
70
70
def test_reverse_rank_30_layers (apiobj , frontend , y , layer , place_id ):
71
- apiobj .add_placex (place_id = 223 , class_ = 'place' , type = 'house' ,
71
+ apiobj .add_placex (place_id = 223 , osm_type = 'N' , class_ = 'place' , type = 'house' ,
72
72
housenumber = '1' ,
73
73
rank_address = 30 ,
74
74
rank_search = 30 ,
75
75
centroid = (1.3 , 0.70001 ))
76
- apiobj .add_placex (place_id = 224 , class_ = 'amenity' , type = 'toilet' ,
76
+ apiobj .add_placex (place_id = 224 , osm_type = 'N' , class_ = 'amenity' , type = 'toilet' ,
77
77
rank_address = 30 ,
78
78
rank_search = 30 ,
79
79
centroid = (1.3 , 0.7 ))
80
- apiobj .add_placex (place_id = 225 , class_ = 'man_made' , type = 'tower' ,
80
+ apiobj .add_placex (place_id = 225 , osm_type = 'N' , class_ = 'man_made' , type = 'tower' ,
81
81
rank_address = 0 ,
82
82
rank_search = 30 ,
83
83
centroid = (1.3 , 0.70003 ))
84
- apiobj .add_placex (place_id = 226 , class_ = 'railway' , type = 'station' ,
84
+ apiobj .add_placex (place_id = 226 , osm_type = 'N' , class_ = 'railway' , type = 'station' ,
85
85
rank_address = 0 ,
86
86
rank_search = 30 ,
87
87
centroid = (1.3 , 0.70004 ))
88
- apiobj .add_placex (place_id = 227 , class_ = 'natural' , type = 'cave' ,
88
+ apiobj .add_placex (place_id = 227 , osm_type = 'N' , class_ = 'natural' , type = 'cave' ,
89
89
rank_address = 0 ,
90
90
rank_search = 30 ,
91
91
centroid = (1.3 , 0.70005 ))
0 commit comments