symerio / pgeocode

Postal code geocoding and distance calculation
https://pgeocode.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
238 stars 58 forks source link

Allow looking up all the locations for a postcode #5

Closed zaro closed 5 years ago

zaro commented 5 years ago

Normally all the places under single postcode are merged in comma separated list. This adds non_unique parameter to the constructor which returns all locations per postcode, without squashing them into comma separated list.

The default value for the non_unique parameter is chosen so it doesn't change the current behaviour.