GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Going from adm information to a string  XML
Forum Index -> Administrative Divisions
Author Message
mitasevm



Joined: 26/06/2014 02:31:34
Messages: 2
Offline

Hello! I am new to geonames, and working on a project for which one of the necessary parts is generating distinctive strings for geonames based on their administrative districts. I have many entries from the geonames database downloaded in a local postgresql database, and I am interacting with them using python. This so far has been for fine in cases where the first administrative district is enough, but in cases where the second administrative district is necessary, rather than an easy to search string I get a number. Is there a python library or some other resource with which I can convert the integer adm2 information to a meaningful string? Thanks!
mitasevm



Joined: 26/06/2014 02:31:34
Messages: 2
Offline

I actually ended up finding a way to find what I want using sql queries, disregard this post.
 
Forum Index -> Administrative Divisions
Go to:   
Powered by JForum 2.1.5 © JForum Team