Personal tools
You are here: Home zindep's blog Interface Python pour geonames

Interface Python pour geonames

Submitted by nlaurance. on 20/03/2006 20:26 . Actualités

geoname.py is a python wrapper around the geonames web service. module python pour accéder au web services de localisation geonames

geoname fournit gratuitement un service web de localisation

le module geoname.py permet d'accéder à la plupart de ces services depuis python.

postalCodeSearch
retourne une liste des codes postaux en fonction de la ville, ou une liste de ville pour un code postal
postalCodeLookupJSON
Idem ci dessus, sortie en dictionnaire python.
findNearbyPostalCodes
listes des villes et codes postaux pour une latitude longitude, un code postal ou une ville.
postalCodeCountryInfo
Liste des pays desservis par le service
search
Result : returns the names found for the searchterm
findNearbyPlaceName
Retourne une liste de villes proches d'un endroit donné


geonames provides a free localization web service.

the geonamy.py module allows easy access to those functions from python scripts.

postalCodeSearch
Result : returns a list of postal codes and places for the placename/postalcode query
postalCodeLookupJSON
Result : returns a list of places for the given postalcode as python dictionary.
findNearbyPostalCodes
Result : returns a list of postalcodes and places for the lat/lng query
postalCodeCountryInfo
Result : countries for which postal code geocoding is available.
search
Result : returns the names found for the searchterm
findNearbyPlaceName
Result : returns the closest populated place for the lat/lng query

Téléchargement / Download

geoname_gnosis-1.0.tgz

uses gnosis objectify

geoname_minidom-1.0.tgz

uses minidom parser





Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: