Questions tagged [city]

171 questions
3
votes
1 answer

How do I convert city names to time zones?

Sorry if this is repetitive, but I've looked everywhere and can't seem to find anything that addresses my specific problem in R. I have a column with city names: cities <-data.frame(c("Sydney", "Dusseldorf", "LidCombe",…
cheesetaco
  • 145
  • 1
  • 1
  • 8
3
votes
0 answers

Google Analytics : Location based Analytics for India

I want to plot city wise Map for India to display Location based analytics on our website using Google Analytics Embed API same as displayed on google analytics dashboard. I am able to plot country wise location analytics but it fails to plot city…
Kenil Domadia
  • 63
  • 2
  • 9
3
votes
1 answer

Draw map based on selected city in selectbox in angularjs

i have a select box for city which has number of cities getting through ng-options. i need to show the map on the website based on city selected in the selectbox. this is how i am getting city names // Code goes here $scope.data = [{ …
Thilak Raj
  • 880
  • 3
  • 10
  • 25
3
votes
2 answers

Geolocation without HTML5 API

All! I need to determine current user City. With HTML5 it's not a problem. But i need support old browsers (leke are ie 7,8). First of all i thought to find location using IP address. But its not easy to implement (i need actual database with…
user1562274
3
votes
4 answers

Get City Name From Latitude And Longitude in android Gives Service Not Available Android 4.0.3?

I am using the Android 4.0.3 version in apps. Now I want to get the city name or other information from LATITUDE and LONGITUDE but when I run the apps is show me service not available. Logcat 01-10 13:58:29.279: W/System.err(1211):…
Mahesh
  • 1,559
  • 6
  • 27
  • 57
3
votes
3 answers

Convert .txt to .sql - Contains a list of country, state, city, .. names

I've been googling a lot for a SQL database with all (or the many as posible) the cities of the world, But the best I've found is a .txt file with a format such as: -1049671 Kassel agglomeration 323216 -1049670 …
Toni Michel Caubet
  • 19,333
  • 56
  • 202
  • 378
3
votes
3 answers

How to add new State/Province and City dropdown in Magento 1.6.2?

How to add new State/Province and City dropdown in Magento 1.6.2? When we choose United States as country then we find a dropdown list for State/Province. But this is not available for all countries. What i want is - if i choose a country (Ireland…
user1480686
  • 33
  • 1
  • 1
  • 3
3
votes
2 answers

Retrieving city statistics (Any API's or Databases?)

What I am looking to do is retrieving city statistics. Much like the CIA World Factbook. But, I want an API, database or dataset that I can query and get results. Also, I would actually PREFER to use a UIWebView and load a website with those…
MCKapur
  • 9,127
  • 9
  • 58
  • 101
3
votes
1 answer

Get City name from GPS co-ordinates

I want to get the name of the city from the GPS coordinates. I can get the details of the GPS points using Google API http://maps.googleapis.com/maps/api/geocode/output?parameters Where output is XML which I don't want to be... For…
AL̲̳I
  • 2,441
  • 4
  • 29
  • 50
2
votes
1 answer

How to get a list of all cities in the world and their correponding time zone information including DST

As the title says, is there any way to get ahold of this information?
Francisco Aguilera
  • 3,099
  • 6
  • 31
  • 57
2
votes
2 answers

Clean up city names in python

in a dataframe, there is a 'City' column containing different city names as well as various formats/misspellings. Here are the unique values in the column: array(['somerville', 'hyde park', 'lexington', 'brookline', 'wellesley', 'dover ',…
Orchid9
  • 37
  • 3
2
votes
3 answers

API to pass lon/lat and return city name

I would like to use an API (preferred to be google maps if it's supported) in my android application to pass the longitude/latitude of a location and the API returns the city name. In the solution to this, you should go for getAddressLine(x)
mohamede1945
  • 7,092
  • 6
  • 47
  • 61
2
votes
1 answer

Change WooCommerce city fields to a dropdown in frontend and admin

I have added the city field as a dropdown list but I can't get it to show up in the backend. https://ibb.co/3rdsQpY /* city dropdown */ // UPDATE CHECKOUT CITY FIELD add_filter( 'woocommerce_default_address_fields' ,…
Bassam Radi
  • 169
  • 9
2
votes
1 answer

How to get city , state and Country name by Pincode in Swift iOS?

I have Five textFields and I want to autofill Area,City ,State and Country when I enter the pin code number. import UIKit import CoreLocation class CreateGroupView: UIViewController,UITextFieldDelegate,CLLocationManagerDelegate { //View Did…
Kishor Pahalwani
  • 1,010
  • 1
  • 23
  • 53
2
votes
2 answers

How to normalize city name from many similar names

I'm getting city name from a 3rd party API. That API doesn't return normalized city name. For example, sometimes its San Francisco, sometime its San Francisco, CA, sometimes its San Francisco, USA. I dont need street address etc.. I just need to…
Sahas
  • 3,046
  • 6
  • 32
  • 53
1 2
3
11 12