php - Drupal 6 Location Module get city name using zip code
I am using Location module and enabled Location CCK field. While creating content I am just collecting zip/postal code and country. I want to display the City name using the zip/postal code associated with node.
I know Location module comes with zip code database. Is there need to query this zip/postal code database to get City name? If that zip/postal code is not available then what could be solution?
Please guide me how could I achieve this?
Part of it has been resolved. This could be helpful for others. You can get zip/postal code information by the function available in the location module i.e. location_get_postalcode_data which accept Location parameter as array
Also I did some modification in my country specific .inc file available in supported directory to fetch extra information along with default lat-lon info.
But second part if zip/postal code not available in database then is pending.