adds ATM to POI layer (#1375)
This PR adds ATM to POI layer. If ATM isn't provided with a name tag we'll try to use operator or network instead.
This commit is contained in:
@@ -160,6 +160,16 @@ BEGIN
|
||||
INSERT INTO omt_test_failures VALUES(500, 'import', 'osm_transportation_name_linestring z12 route_rank expected 1, got ' || cnt);
|
||||
END IF;
|
||||
|
||||
-- Test 600
|
||||
|
||||
-- verify that atms are imported with correct name which can come from tags like operator or network
|
||||
SELECT COUNT(*) INTO cnt FROM osm_poi_point
|
||||
WHERE subclass = 'atm'
|
||||
AND tags->'name' = 'OpenMapTiles ATM';
|
||||
IF cnt <> 3 THEN
|
||||
INSERT INTO omt_test_failures VALUES(600, 'import', 'osm_poi_point atm with name "OpenMapTiles ATM" expected 3, got ' || cnt);
|
||||
END IF;
|
||||
|
||||
END;
|
||||
|
||||
$$
|
||||
|
||||
Reference in New Issue
Block a user