smeijer / leaflet-geosearch

A geocoding/address-lookup library supporting various api providers.
https://smeijer.github.io/leaflet-geosearch/
MIT License
1.04k stars 273 forks source link

Some Canada Zip codes aren't working #273

Closed tbaustin closed 3 years ago

tbaustin commented 3 years ago

This is for the OSM provider and passing in ca, us into country codes.

Hopefully can make this straight to the point. There are multiple, but just an example of one zip code that isn't working is T6X 1C3, but if I only do the first 3 it seems to work.

https://nominatim.openstreetmap.org/search?countrycodes=ca%20us&addressdetails=1&format=json&q=T6X

When adding the full zip it doesn't work for some reason:

https://nominatim.openstreetmap.org/search?countrycodes=ca%20us&addressdetails=1&format=json&q=T6X%201C3

Not sure if this is expected or not? There are some other zip codes that also don't work.

smeijer commented 3 years ago

I'm closing this issue because you're asking a question that's not within the scope of this project. I don't maintain the nominatim servers, so I can't fix it, nor can I say anything meaningful about the expected workings without further research.