Ignore:
Timestamp:
2020-02-05T19:53:01+01:00 (4 years ago)
Author:
simon04
Message:

fix #18639 - Update to overpass-wizard 0.0.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/tools/OverpassTurboQueryWizardTest.java

    r15370 r15814  
    3131                "[out:xml][timeout:90][bbox:{{bbox}}];\n" +
    3232                "(\n" +
    33                 "  node[\"amenity\"=\"drinking_water\"];\n" +
    34                 "  way[\"amenity\"=\"drinking_water\"];\n" +
    35                 "  relation[\"amenity\"=\"drinking_water\"];\n" +
     33                "  nwr[\"amenity\"=\"drinking_water\"];\n" +
    3634                ");\n" +
    3735                "(._;>;);\n" +
     
    4846                "[out:xml][timeout:90][bbox:{{bbox}}];\n" +
    4947                "(\n" +
    50                 "  node[\"amenity\"!=\"drinking_water\"];\n" +
    51                 "  way[\"amenity\"!=\"drinking_water\"];\n" +
    52                 "  relation[\"amenity\"!=\"drinking_water\"];\n" +
     48                "  nwr[\"amenity\"!=\"drinking_water\"];\n" +
    5349                ");\n" +
    5450                "(._;>;);\n" +
     
    6460                "[out:xml][timeout:90][bbox:{{bbox}}];\n" +
    6561                "(\n" +
    66                 "  node[\"foo\"=\"bar\"][\"baz\"=\"42\"];\n" +
    67                 "  way[\"foo\"=\"bar\"][\"baz\"=\"42\"];\n" +
    68                 "  relation[\"foo\"=\"bar\"][\"baz\"=\"42\"];\n" +
     62                "  nwr[\"foo\"=\"bar\"][\"baz\"=\"42\"];\n" +
    6963                ");\n" +
    7064                "(._;>;);\n" +
     
    8377                "[out:xml][timeout:90][bbox:{{bbox}}];\n" +
    8478                "(\n" +
    85                 "  node[\"foo\"=\"bar\"];\n" +
    86                 "  way[\"foo\"=\"bar\"];\n" +
    87                 "  relation[\"foo\"=\"bar\"];\n" +
    88                 "  node[\"baz\"=\"42\"];\n" +
    89                 "  way[\"baz\"=\"42\"];\n" +
    90                 "  relation[\"baz\"=\"42\"];\n" +
     79                "  nwr[\"foo\"=\"bar\"];\n" +
     80                "  nwr[\"baz\"=\"42\"];\n" +
    9181                ");\n" +
    9282                "(._;>;);\n" +
     
    10696                "[out:xml][timeout:90][bbox:{{bbox}}];\n" +
    10797                "(\n" +
    108                 "  node[\"foo\"][\"asd\"];\n" +
    109                 "  way[\"foo\"][\"asd\"];\n" +
    110                 "  relation[\"foo\"][\"asd\"];\n" +
    111                 "  node[\"foo\"][\"fasd\"];\n" +
    112                 "  way[\"foo\"][\"fasd\"];\n" +
    113                 "  relation[\"foo\"][\"fasd\"];\n" +
    114                 "  node[\"bar\"][\"asd\"];\n" +
    115                 "  way[\"bar\"][\"asd\"];\n" +
    116                 "  relation[\"bar\"][\"asd\"];\n" +
    117                 "  node[\"bar\"][\"fasd\"];\n" +
    118                 "  way[\"bar\"][\"fasd\"];\n" +
    119                 "  relation[\"bar\"][\"fasd\"];\n" +
     98                "  nwr[\"foo\"][\"asd\"];\n" +
     99                "  nwr[\"foo\"][\"fasd\"];\n" +
     100                "  nwr[\"bar\"][\"asd\"];\n" +
     101                "  nwr[\"bar\"][\"fasd\"];\n" +
    120102                ");\n" +
    121103                "(._;>;);\n" +
     
    148130                "[out:xml][timeout:90][bbox:{{bbox}}];\n" +
    149131                "(\n" +
    150                 "  node(user:\"foo\");\n" +
    151                 "  way(user:\"foo\");\n" +
    152                 "  relation(user:\"foo\");\n" +
    153                 "  node(uid:42);\n" +
    154                 "  way(uid:42);\n" +
    155                 "  relation(uid:42);\n" +
     132                "  nwr(user:\"foo\");\n" +
     133                "  nwr(uid:42);\n" +
    156134                ");\n" +
    157135                "(._;>;);\n" +
     
    184162                "{{geocodeArea:Josmland}}->.searchArea;\n" +
    185163                "(\n" +
    186                 "  node[\"foo\"=\"bar\"](area.searchArea);\n" +
    187                 "  way[\"foo\"=\"bar\"](area.searchArea);\n" +
    188                 "  relation[\"foo\"=\"bar\"](area.searchArea);\n" +
     164                "  nwr[\"foo\"=\"bar\"](area.searchArea);\n" +
    189165                ");\n" +
    190166                "(._;>;);\n" +
     
    202178                "[out:xml][timeout:90];\n" +
    203179                "(\n" +
    204                 "  node[\"amenity\"=\"hospital\"];\n" +
    205                 "  way[\"amenity\"=\"hospital\"];\n" +
    206                 "  relation[\"amenity\"=\"hospital\"];\n" +
     180                "  nwr[\"amenity\"=\"hospital\"];\n" +
    207181                ");\n" +
    208182                "(._;>;);\n" +
Note: See TracChangeset for help on using the changeset viewer.