markjoshwel/surplus

Incorrect format: repeated lines

Closed this issue · 1 comments

  • Query: CQPP+QM9 Singapore
  • Output
    surplus version 1.1.0, debug mode
    debug: args.query='CQPP+QM9 Singapore'
    debug: squery=['CQPP+QM9', 'Singapore']
    debug: lat=1.4369125, lon=103.78673437500001
    debug: location={'place_id': 285557295, 'licence': 'Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright', 'osm_type': 'way', 'osm_id': 953974850, 'lat': '1.43678515', 'lon': '103.78600340390815', 'display_name': 'Woodlands Integrated Transport Hub, Woodlands, Northwest, 738343, Singapore', 'address': {'amenity': 'Woodlands Integrated Transport Hub', 'road': 'Woodlands Integrated Transport Hub', 'suburb': 'Woodlands', 'county': 'Northwest', 'ISO3166-2-lvl6': 'SG-03', 'postcode': '738343', 'country': 'Singapore', 'country_code': 'sg'}, 'boundingbox': ['1.4363319', '1.437287', '103.7850131', '103.7871739']}
    Woodlands Integrated Transport Hub
    Woodlands Integrated Transport Hub
    738343
    Singapore
    
  • Expected
    Woodlands Integrated Transport Hub
    738343
    Singapore
    

For this, we could process the output for previously seen lines before joining.

Unrepeatable with query, using CQPP+QJ Singapore instead