Changes between Version 1 and Version 2 of Ticket #14364
- Timestamp:
- 2017-02-14T00:17:56+01:00 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #14364
- Property Summary overpass wizard geocoding doesn't interpret nominatim responses correctly → Overpass wizard geocoding doesn't interpret Nominatim responses correctly
-
Ticket #14364 – Description
v1 v2 13 13 ==== Please provide any additional information below. Attach a screenshot if possible. 14 14 15 Changes ets 11002/josm and 11003/josmintroduced geocodeArea for the overpass wizard, but it can't work in its current implementation.15 Changes r11002 and r11003 introduced geocodeArea for the overpass wizard, but it can't work in its current implementation. 16 16 17 Both JOSM and overpass-turbo will call [ Nominatim for Luxembourg : https://nominatim.openstreetmap.org/search?format=xml&q=Luxembourg] but they will use different IDs for the actual overpass API call:17 Both JOSM and overpass-turbo will call [https://nominatim.openstreetmap.org/search?format=xml&q=Luxembourg Nominatim for Luxembourg] but they will use different IDs for the actual overpass API call: 18 18 19 19 - JOSM will call `area(424298019)->.searchArea;` which is the id of the top node 20 20 - Overpass-turbo will call `area(3602171347)->.searchArea;` which is the sum of the id of the top relation and the overpass relation constant 21 21 22 [ The relevant piece of code : https://github.com/tyrasd/overpass-turbo/blob/ae2d8b6dbf08b1b641a2d713da2997b202eb50eb/js/shortcuts.js#L91] in overpass-turbo does the following crucial steps that JOSM doesn't:22 [https://github.com/tyrasd/overpass-turbo/blob/ae2d8b6dbf08b1b641a2d713da2997b202eb50eb/js/shortcuts.js#L91 The relevant piece of code] in overpass-turbo does the following crucial steps that JOSM doesn't: 23 23 24 24 - nominatim.getBest returns objects that aren't nodes 25 - [ A large constant that depends on the object type : https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#By_element_id] gets added25 - [https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#By_element_id A large constant that depends on the object type] gets added 26 26 27 27 {{{