Questions tagged [city]

171 questions
2
votes
0 answers

determine user location without any permission android

we are creating a library so we have to not using this permissions:
Enakhi
  • 1,143
  • 10
  • 16
2
votes
3 answers

Load cities from state laravel

I am working with laravel, right now, i am making an user registry Form, i am relating the state and its cities, so, i need to change a select field values according the state that user chooses. I have something in the form: {{ Form::select('city',…
Juan Pablo
  • 41
  • 2
  • 4
2
votes
0 answers

How to get a list of areas of the city Google Map Api?

For example, when prompted: http://maps.google.com/maps/api/geocode/json?latlng=47.2333330,39.7000000&sensor=false I get 'sublocality', but one. How do I get a full list of areas (sublocality) of any city its name?
2
votes
1 answer

Is there a Symfony2 form extension for a Country/Region/City selector?

Most things I build require someone select a country/state/city. I'd like to add a form type to symfony to easily add chained select fields for country/state/city. So, a user would pick a country and it'd filter the states; pick a state and it would…
joeyweb
  • 51
  • 1
  • 5
2
votes
3 answers

How to get city name based on IP address in java?

Is it possible to know the city name based on IP address in java?
Abhishek Dhote
  • 1,638
  • 10
  • 41
  • 62
2
votes
2 answers

Andorid How to get the name of the current city using coordinates

The title of the question pretty much sums up what I want to ask. So I have the code to get the name of the current city using LocationManager.NETWORK_PROVIDER and it works like a charm. However a question popped up: "What will happen if the phone…
user3182266
  • 1,270
  • 4
  • 23
  • 49
2
votes
1 answer

city not found Yahoo weather api

I am using yahoo weather api to pull weather data for a certain location. I am getting error that says "city not found". The location is "Islamabad, Pakistan" with WOEID=2211027 Here is the xml request uri, i am…
2
votes
1 answer

Mailchimp API merge_var address...how do I create a city list?

first I must say I'm a noob at MailChimp all round. I have looked at their documentation and wasn't able to understand enough to get my answer from that. I know, I'm a noob, but I'm also a noob that has done enough research to only be asking this as…
user1339316
  • 75
  • 2
  • 9
1
vote
1 answer

google maps - get state name by city or zip input

how is it possible to get the name of the state by entering a zip or city name? for example: city name: buffalo get state name: new york thanks for your help.
1
vote
0 answers

json manipulation and comprison typescripts (test equal)

and thanks for the support. i am haveing prbolem to compare two obj of City, one created and one read and hopefully "converted" from a json file. The one imported: import * as citiesJson from '../resources/cities.json'; const cities_test: City[] =…
1
vote
1 answer

How to output city by IP address to stdout?

I have a list of IP addresses in the ip.txt file (there are a lot of them). I used ipinfo.io services to search data by IP and sed to cut out only the city. #!/bin/bash while IFS= read -r ip; do curl ipinfo.io/$ip >> test.txt sed -i…
Lib
  • 29
  • 5
1
vote
0 answers

API to get a list of cities and states

We run an app that asks users to select their country, city and state. We wanted these to be dropdowns with prepopulated values. I went on the internet and amazingly I couldn't find a reliable source on getting countries, cities, and…
Fahad Sohail
  • 1,818
  • 4
  • 21
  • 33
1
vote
1 answer

How to find user city and its lat and long?

We are working on a mobile app that needs the user's city to work correctly and we want to give the user the freedom of entering the city by themselves. We have a list of around 24k+ cities from around the world but we have users started coming from…
1
vote
2 answers

Is there a python module, which can turn geocoordinates into the name of the corresponding city?

I have a bunch of coordinates and I want to transform them to human readable addresses. Is there a way to achieve this? It would be great if i can get the name of the city where the coordinates are located in.
Aufwind
  • 25,310
  • 38
  • 109
  • 154
1
vote
2 answers

Where can I find a database of main U.S cities?

I'm looking for a database containing the main cities in the U.S categorized be states.
oaziz
  • 1,362
  • 1
  • 17
  • 32