Questions tagged [geonames]

Geonames refers to a database / webservice to query various geographic data items such as names of places, latitude, longitude, elevation, population in various languages. It contains over 10 million geographical names categorized into nine classes and further subcategorized.

GeoNames is a worldwide geographical database. It is available for download free of charge under a creative commons attribution license. It is also available via a webservice API.

198 questions
0
votes
1 answer

Implementing Google API search from geonames

I have been following a great tutorial that allows a user to input a postcode, then a ListView displays places around the globe that match the postcode. Once an address from the populated ListView is clicked its position is shown by a marker on the…
user1352057
  • 3,162
  • 9
  • 51
  • 117
0
votes
1 answer

Why IE gives "show all content" warning? How to avoid this warning programatically?

I Have implemented jquery autocomplete functionality on HTTPS page and that works fine for all browser except Internet Explorer. While on IE, it does not shows auto popup list for and shows warning as "Show all content". I have used JSON for cross…
Akki
  • 1,718
  • 2
  • 29
  • 53
0
votes
3 answers

Form to enter City and Country in Rails

My application has a form where you need to enter a purchase in (date, amount, description, location etc). The location part is where im struggling a little. I'm trying to decide on the easiest method to enter City and Country so that later i can…
arsk
  • 25
  • 1
  • 6
0
votes
2 answers

Can I get Only US zipcodes from geonames JSON response?

Hi I am Using jquery UI autocomplete plugin for zipcode field. jQuery UI autocomplete plugin uses geonames.org's JSON response. Here is my code to get response :- jQuery( "#"+prefix+"_zip" ).autocomplete({ source: function( request,…
Akki
  • 1,718
  • 2
  • 29
  • 53
0
votes
1 answer

Get the Current Time from Latitude and Longitude Using GeoNames API

I am currently creating application which requires Current Time From the Country. I have latitude and longitude of different Country. I have use following Link to get the Current…
Sagar Rawal
  • 1,442
  • 2
  • 12
  • 39
0
votes
1 answer

How to use GeoNames Web Services using PHP

I have read this post and it looks very promising. However, the answer does not go in detail with regards the implementation. Basically, given the latitude and longitude, how can I use the GeoNames Web Service to get the country. I would like the…
Goaler444
  • 2,591
  • 6
  • 35
  • 53
0
votes
1 answer

Retrieving Tags in Geoname XML in Python

I am looking to retrieve the timezoneId tag from the geoname api, by providing latitude and longitude. http://api.geonames.org/timezone?lat=39.758720&lng=116.041420&username=demo It is structured this way:
ekianjo
  • 31
  • 1
  • 4
0
votes
1 answer

geonames exception - Caused by: java.lang.ClassNotFoundException: org.jdom.input.SAXBuilder

I am trying to run a piece of software with which I can estabilish if an entity is geographical or not: public boolean isgeo(String e) throws Exception{ ToponymSearchCriteria searchCriteria = new ToponymSearchCriteria(); …
Ema
  • 241
  • 1
  • 6
  • 12
0
votes
1 answer

Using functionality of one class in another

I'm trying to use ILGeoNames classes in my project. But I have problem with understanding in which way I can use this classes for my purpose. There is "simple project" in this framework. From it I want only one thing: country time zone (I already…
RomanHouse
  • 2,552
  • 3
  • 23
  • 44
-1
votes
1 answer

Geonames java client: How to retrieve the country and adminName1?

Geonames database works fine for me when to query via WEB. However, there are java packages org.geonames with classes WebService, Toponym and other ones, which seem to do the same from within java application. So, I try to use org.geonames for…
Spectorsky
  • 608
  • 4
  • 23
-1
votes
1 answer

SPARQL query: no return

Why does this SPARQL query return a result: SELECT * WHERE { ?c ?a .} LIMIT 20 result: While this returns an empty table of columns a and b: SELECT * WHERE { ?c ?a…
-1
votes
1 answer

How to get country name from longitudes and latitudes in AIR?

What is the simplest way to get the country name from longitudes and latitudes. I have been looking on the internet and I did find an ANE but it's not free. I need a very simple way, I don't need any other features. It can be online or offline.…
Danish Ajaib
  • 83
  • 10
-1
votes
1 answer

How to use geonames api to validate zip code / postal code against a country?

The requirement is to validate whether zip code really exists or not in a specific country?? Country = US State = California I wants to know how to call geonames API using REST to get country code by zip code? I would prefer an output in a JSON…
Nilam Patil - Naik
  • 75
  • 1
  • 2
  • 15
-1
votes
1 answer

Python MemoryError in dictionary of millions of GeoNames locations?

I'm trying to create a dictionary of location names and information from Geonames to use in a program that reads documents, extracts location names, and outputs their information. Keys are location names and a list of tuples of the latitude and…
user3753722
  • 153
  • 2
  • 11
-2
votes
1 answer

Is it possible to use the latitude and longitude obtained by google places detail api to get the geonameid from the geoname table?

Using google places API I get the geometry field that includes the latitude and longitude of a destination. Then with the latitude and longitude values I need to get the geonameid from the geoname table. The problem is that the results for a…
Mario
  • 4,784
  • 3
  • 34
  • 50
1 2 3
13
14