GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
perl Geo::GeoNames module, username where?  XML
Forum Index -> FAQ - frequently asked questions
Author Message
euskomedia



Joined: 18/05/2011 12:01:52
Messages: 2
Offline

Hello:

I'm writing a script on perl to get ll's from a list of places, using Geo::GeoNames installed from CPAN (v 0.06). I have looked for a config file/parameter/place tu put my username on, but haven't found anything.

If i try to put username parameter when launching a search i get an error:

Code:
 my $result = $geo->search(q => uri_escape($top_txt), country => "ES", maxRows => 5, username => 'xxx');
 
 Invalid argument username at geonames.pl line 28
 


Of course, i can launch the search without username and it works (whenever the server is not overloaded).
Also, when inspecting the code i found that it is still conecting to ws.geonames.org instead of api.geonames.org

Is anyone working on a new version of the module?

Thanks!
marc



Joined: 08/12/2005 07:39:47
Messages: 4079
Offline

I don't know whether the perl project is still active.

You might want to create an issue on their project page:
http://code.google.com/p/geo-geonames/issues/list

Marc

[WWW]
euskomedia



Joined: 18/05/2011 12:01:52
Messages: 2
Offline

Sorry, i thought it was developed by you Thank you!
 
Forum Index -> FAQ - frequently asked questions
Go to:   
Powered by JForum 2.1.5 © JForum Team