]> git.openstreetmap.org Git - nominatim.git/blob - tests/features/db/import/simple.feature
Remove interpolation lines from placex and save them in an extra table.
[nominatim.git] / tests / features / db / import / simple.feature
1 @DB
2 Feature: Import of simple objects
3     Testing simple stuff
4
5     Scenario: Import place node
6         Given the place nodes:
7           | osm_id | class | type    | name           | geometry
8           | 1      | place | village | 'name' : 'Foo' | 10.0 -10.0
9         When importing
10         Then table placex contains
11           | object | class  | type    | name           | centroid
12           | N1     | place  | village | 'name' : 'Foo' | 10.0,-10.0 +- 1m
13         When sending query "Foo"
14         Then results contain
15          | ID | osm_type | osm_id
16          | 0  | N        | 1
17