Changes between Version 1 and Version 2 of Ticket #14364


Ignore:
Timestamp:
2017-02-14T00:17:56+01:00 (7 years ago)
Author:
Stereo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14364

    • Property Summary overpass wizard geocoding doesn't interpret nominatim responses correctlyOverpass wizard geocoding doesn't interpret Nominatim responses correctly
  • Ticket #14364 – Description

    v1 v2  
    1313==== Please provide any additional information below. Attach a screenshot if possible.
    1414
    15 Changesets 11002/josm and 11003/josm introduced geocodeArea for the overpass wizard, but it can't work in its current implementation.
     15Changes r11002 and r11003 introduced geocodeArea for the overpass wizard, but it can't work in its current implementation.
    1616
    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:
     17Both 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:
    1818
    1919- JOSM will call `area(424298019)->.searchArea;` which is the id of the top node
    2020- Overpass-turbo will call `area(3602171347)->.searchArea;` which is the sum of the id of the top relation and the overpass relation constant
    2121
    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:
    2323
    2424 - 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 added
     25 - [https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#By_element_id A large constant that depends on the object type] gets added
    2626
    2727{{{