Ran
|
Files
183
|
Run time
13s
|
Badge
Embed ▾
README BADGES
|
travis-ci
<a href="https://github.com/OpenTreeMap/otm-core/commit/773a1c60c">Back end handles geocode search with and without a magic key When geocoding with a magic key (i.e. user chose an autocomplete suggestion) * Use `settings.OMGEO_SETTINGS_FOR_MAGIC_KEY` * Return only the top hit (except for "point of interest" searches) When geocoding without a magic key (i.e. user did not choose an autocomplete suggestion) * Use `settings.OMGEO_SETTINGS` * In `OMGEO_SETTINGS` filter out `locator_type == 'Locality'` candidates. Otherwise `DupePicker` may consider only them because it filters out candidates that don't have the highest score. * Create geocoder with `postprocessors=[]` (otherwise only non-specific results are returned) * Restore bounding box code removed in </a><a class="double-link" href="https://github.com/OpenTreeMap/otm-core/commit/45ddc6d0d">45ddc6d0d</a>
14052 of 16935 relevant lines covered (82.98%)
0.83 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|