mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
fix bdd tests and docs
This commit is contained in:
committed by
Sarah Hoffmann
parent
9a56e53d50
commit
d1479072ae
@@ -127,7 +127,7 @@ formats depending on the API call.
|
|||||||
</result>
|
</result>
|
||||||
<addressparts>
|
<addressparts>
|
||||||
<state>Bavaria</state>
|
<state>Bavaria</state>
|
||||||
<ISO3166-2-lvl4>DE-BY</state_code>
|
<ISO3166-2-lvl4>DE-BY</ISO3166-2-lvl4>
|
||||||
<country>Germany</country>
|
<country>Germany</country>
|
||||||
<country_code>de</country_code>
|
<country_code>de</country_code>
|
||||||
</addressparts>
|
</addressparts>
|
||||||
@@ -181,7 +181,7 @@ Additional information requested with `addressdetails=1`, `extratags=1` and
|
|||||||
<city>London</city>
|
<city>London</city>
|
||||||
<state_district>Greater London</state_district>
|
<state_district>Greater London</state_district>
|
||||||
<state>England</state>
|
<state>England</state>
|
||||||
<ISO3166-2-lvl4>GB-ENG</state_code>
|
<ISO3166-2-lvl4>GB-ENG</ISO3166-2-lvl4>
|
||||||
<postcode>SW1A 2DU</postcode>
|
<postcode>SW1A 2DU</postcode>
|
||||||
<country>United Kingdom</country>
|
<country>United Kingdom</country>
|
||||||
<country_code>gb</country_code>
|
<country_code>gb</country_code>
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ Feature: Search queries
|
|||||||
| postcode | 9495 |
|
| postcode | 9495 |
|
||||||
| country | Liechtenstein |
|
| country | Liechtenstein |
|
||||||
| country_code | li |
|
| country_code | li |
|
||||||
| ISO3166-2-lvl12 | LI-09 |
|
| ISO3166-2-lvl8 | LI-09 |
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
| format |
|
| format |
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ Feature: Search queries
|
|||||||
| postcode | 9497 |
|
| postcode | 9497 |
|
||||||
| country | Liechtenstein |
|
| country | Liechtenstein |
|
||||||
| country_code | li |
|
| country_code | li |
|
||||||
| ISO3166-2-lvl10 | LI-10 |
|
| ISO3166-2-lvl8 | LI-10 |
|
||||||
|
|
||||||
Scenario: House number interpolation
|
Scenario: House number interpolation
|
||||||
When sending json search query "Grosssteg 1023, Triesenberg" with address
|
When sending json search query "Grosssteg 1023, Triesenberg" with address
|
||||||
@@ -42,7 +42,7 @@ Feature: Search queries
|
|||||||
| town | Triesenberg |
|
| town | Triesenberg |
|
||||||
| country | Liechtenstein |
|
| country | Liechtenstein |
|
||||||
| country_code | li |
|
| country_code | li |
|
||||||
| ISO3166-2-lvl10 | LI-10 |
|
| ISO3166-2-lvl8 | LI-10 |
|
||||||
|
|
||||||
Scenario Outline: Housenumber 0 can be found
|
Scenario Outline: Housenumber 0 can be found
|
||||||
When sending <format> search query "Gnalpstrasse 0" with address
|
When sending <format> search query "Gnalpstrasse 0" with address
|
||||||
|
|||||||
Reference in New Issue
Block a user