geolocation

per state geolocation in webalizer

aside from getting the country geolocation, is there an option in webalizer to feed for my custom ip addresses so i will get the per state hits? ...

how can i convert an area code into a state using PHP or python?

I have a phone number, including area code. Is there a PHP or python-accessible API or library that will return its corresponding state? e.g. 415 -> CA. 212 -> NY. ...

Effective ip->location query

Hello all, I have two tables: one is ip_group_city from ipinfodb.com containing ip_start numbers for determining location of IPs, and other is "visits" with information about web site visitor containing column 'ip'. I need to select top 10 region_code (from ip_group_city) by checking region_code for each IP from "visits" table. Right ...

Find nearby shops for mobile applications

I'm looking for some kind of way to find nearby shops/companies given a GPS location. I was looking at the Google Places API but that is still under development. Is there any other way to accomplish this? ...

ip to country database or api

Hello! I'm developing an analytics website and I need a powerful and the most up to date database of IP addresses and countries ISO (us, fr, tn, ca...). I found a lot out there but I can't pick out the best one. Anyone to advise me please? Thank You. ...

Getting information from xml php

I'm creating a script that will take users location from their ip. I saw this api.But know idea how i can get them in array and print them. Here is a sample link: http://ipinfodb.com/ip_query.php?ip=74.125.45.100&amp;timezone=true This a sample respones <Response> <Ip>74.125.45.100</Ip> <Status>OK</Status> <CountryCode>US</CountryCode...

Google Maps: how to get country, state/province/region, city given a lat/long value?

I need a list of countries, states & cities based on a collection of lat/long values I have. I need to store this information in a manner that hierarchy is preserve and without duplicates (e.g. "USA" and "United States" and "United States of America" are the same country; I only want one instance of this country in my database). Is this...

What's the fastest C++ class or C library to convert latitude and longitude from decimal degrees to string and back

I'm looking for the best C or C++ code to encode and decode decimal latitude and longitude values from/to double/char. I'd prefer the code convert from double to char[] and vice-versa rather than c++ strings. If you have a code snippet that would be great too. To clarify: I need to convert from a string Degrees/Minutes/Seconds to doub...

zipcode distance range formula. Which formula is correct?

I need to find all the zipcodes with a certain range from a zipcode. I have all the zipcode lat/lon in a DB. I have found two formulas online that vary slightly from each other. Which one is correct? Formula 1: def latRange = range/69.172 def lonRange = Math.abs(range/(Math.cos(Math.toRadians(zip.latitude)) * 69.172)); def minLat = ...

Implementing Triangulation in android

Hi Guys: I am new to android. I am developing an application in android 2.2 to identify location of user by means of any available resources (GPS , Networks etc). I have done finding location through GPS and using SIM network along with internet. Now problem is want to locate device when no GPS and no internet is available. In this case ...

How to learn location of the web user?

Hi, We have started developing an application for location aware emergency service. The users can connect through computer,smart phone or even through WAP. The problem we are facing is, we don't know how to get the location of the user who is asking for service. If it is GPS enabled smart phone, it can be located though the app. I have ...

I need to strip dynamic information from a html/php file with PHP

Hi there, I have been trying to strip information out of a dynamically generated page and then insert the information into a database, this is only a one time thing. to explain the layout: I have a list of 700 IP addresses in my database currently but they have no location linked to them, I am using the following code to retrieve the ...

A good way to make Django geolocation aware? - Django/Geolocation

Hi folks, I would like to be able to associate various models (Venues, places, landmarks) with a City/Country. But I am not sure what some good ways of implementing this would be. I'm following a simple route, I have implemented a Country and City model. Whenever a new city or country is mentioned it is automatically created. Unfo...

business listing search apis

Hi, I would like to include local business address/phone numbers into my site. Does anyone have thoughts on using google local search api vs. twitter's geo api vs. purchasing a directory listing? ...

IP address list for Mexico?

Where can I find a list of country-specific IP ranges for Mexico? I know there are services I can query to determine if a specific address is based in Mexico, but doing that each time a new user loads a page seems like overkill. I'd like to create an XML file with IP ranges that I can check against. The best I've been able to find so fa...

Cartography and road maps in java

Hi all i'm developing an application must show a list of customers, resellers and other types of data an ao geographic map (from satellites) or on a road map for an university's exam. With this application i've to calulate the isodromi distance and the street route, where possible, from a source and a destination. I looked at Google Map...

Struts2 or Django for GAE and future scalability

Hi, I am developing location based service. FYI, the database will expand vastly as time and location are the variables. I am considering GAE for initial deployment. I am open for any of python or java based development. While calculating the scalability, I am getting confused. I never thought of scalability before as I haven't worked on...

Lookup telephone area code by latitude and longitude

Looking for a way to get a list of telephone area codes for a given latitude and longitude (and if necessary a given intl. code.) Note, I'm not talking about international dialing prefixes but the area codes within them. For example, Denver Colorado is covered by the area codes 303 and 720. It's at 39.739 -104.985 and is in NANP 1. So g...

How to link to database with coordinates to a Google Map

I have a huge database with geo-coordinates like -73.9637,40.7683 + a Google Map which shows some part of our world. Now, how to select all coordinates from my database which fit into the part of the map i can see? (Do i get a range from google? how to work with this range?) ...

Good service for getting location by IP?

Which detect location most accurate. ...