Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

housenumber with a '#' prefix #136

Open
missinglink opened this issue Jul 7, 2016 · 2 comments
Open

housenumber with a '#' prefix #136

missinglink opened this issue Jul 7, 2016 · 2 comments

Comments

@missinglink
Copy link
Member

missinglink commented Jul 7, 2016

"housenumber": "#2708",
{
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          -73.716908,
          45.513926
        ]
      },
      "properties": {
        "id": "ca/qc/montreal:330808",
        "gid": "openaddresses:address:ca/qc/montreal:330808",
        "layer": "address",
        "source": "openaddresses",
        "source_id": "ca/qc/montreal:330808",
        "name": "#2708 rue Équinoxes",
        "housenumber": "#2708",
        "street": "rue Équinoxes",
        "confidence": 0.74,
        "country": "Canada",
        "country_gid": "whosonfirst:country:85633041",
        "country_a": "CAN",
        "region": "Quebec",
        "region_gid": "whosonfirst:region:136251273",
        "locality": "Montréal",
        "locality_gid": "whosonfirst:locality:101736545",
        "neighbourhood": "Saint-Laurent",
        "neighbourhood_gid": "whosonfirst:neighbourhood:85895749",
        "label": "#2708 rue Équinoxes, Montréal, Quebec, Canada"
      }
    },

another one:

        "id": "ca/qc/montreal:331017",
        "gid": "openaddresses:address:ca/qc/montreal:331017",
        "housenumber": "#2855",
@trescube
Copy link
Contributor

trescube commented Jul 7, 2016

They should be sanitized away in our import process.

@orangejulius
Copy link
Member

Still happening:

/v1/search?text=2708 rue Équinoxes, Montréal, Quebec, Canada
image

"features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          -73.716908,
          45.513926
        ]
      },
      "properties": {
        "id": "ca/qc/montreal:365bc9b685b8aafd",
        "gid": "openaddresses:address:ca/qc/montreal:365bc9b685b8aafd",
        "layer": "address",
        "source": "openaddresses",
        "source_id": "ca/qc/montreal:365bc9b685b8aafd",
        "name": "#2708 Rue Équinoxes",
        "housenumber": "#2708",
        "street": "Rue Équinoxes",
        "confidence": 1,
        "match_type": "exact",
        "accuracy": "point",
        "country": "Canada",
        "country_gid": "whosonfirst:country:85633041",
        "country_a": "CAN",
        "region": "Quebec",
        "region_gid": "whosonfirst:region:136251273",
        "region_a": "QC",
        "locality": "Montreal",
        "locality_gid": "whosonfirst:locality:101736545",
        "borough": "Saint-Laurent",
        "borough_gid": "whosonfirst:borough:1108955739",
        "neighbourhood": "Bois-Francs",
        "neighbourhood_gid": "whosonfirst:neighbourhood:1108959341",
        "continent": "North America",
        "continent_gid": "whosonfirst:continent:102191575",
        "label": "#2708 Rue Équinoxes, Montreal, QC, Canada"
      }
    }
  ],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants