Open DeaconDesperado opened 8 years ago
Could this be the relevant filter?
Thanks @parkan!
Do you perhaps know how this is exposed in the responses? I started out looking for it in names
since that's how geonames saves them. Is there another key that is dedicated to the postalCodes?
http://demo.twofishes.net/static/geocoder.html?query=10038
As you can see here, postal codes are just like any other features. There's no dedicated key, although the way we hack ids for these features in the geonamezip namespace allows you to parse out the country and postal code pretty easily. Notice the ids
field for the feature above has a single FeatureId object whose source is geonamezip
and id is US-10038
The geonames database exposes US postal codes as an alternate name with language "post".
Is there a way to include this name during the index building phase?