geocoding

What is the best way to plot points on a Google map?

What is the best way to plot points on a Google map? I have a bunch of addresses (about 300) stored in my database, and right now I am outputting each address into a JS array and plotting each address by looping over the array and running a function that geocodes the address and creates a new marker. However, I'm not sure if that is the ...

Prevent tampering with client-side geocoding results

We are building a service that uses location-based pricing. The user can input an address and see prices in his area as determined by various server-side algorithms. It is then possible to order items based on these prices. I'm trying to figure out if there is a way we can use client-side geocoding in this scenario (to avoid hitting Goo...

GIS: PostGIS/PostgreSQL vs. MySql vs. SQL Server?

I need to analyze a few million geocoded records, each of which will have latitude and longitude. These records include data of at least three different types, and I will be trying to see if each set influences the other. What database is best for the underlying data store for all this data? Here's my desires: I'm familiar with the DB...

map geo coordinates (lat, lng) to map (x, y)

I have the geo-coordinates (latidute & longitude) of some cities and would like to get the x,y coordinates so can plot them into a map. The map is a standart one, just like http://www.wordtravels.com/images/map/Spain/Fuerteventura_map.jpg for example. I tried several formular I found, but none seems to really work :(. Simple javascrip...

Problem with geocoding address

I have the following code to geocode the entered address but it displays error saying that variables is undefined ,permission is denied can anyone help to tackle this problem . <script src="jquery-1.3.2.min.js" type="text/javascript"></script> <script type="text/javascript" src="json2.js"></script> <script type="text/javascript" src="ht...

get from csv or xml with multiple adresses their geocode

hi! anybody know how can i parse a csv or xml document with multiple addresses, to get their latitude and longitude? im talkin'about 300+ addresses.. thanks a lot in advance :) ...

Geocoding - accuracy required in GPS coordinates?

My question in a nutshell is: Is there a correlation between the number of decimals used in GPS co-ordinates and the accuracy of the location? Right now I happen to be working with the Android SDK but I'm sure this question can apply to many other geolocation SDKs. Basically, Android returns GPS coordinates with up to 14 digits. That se...

finding same locations in a database

Consider an app that stores geocode data for photos. I want to be able to return albums of photos from within a city, within a state or within a country. Currently the database uses location strings for matching (location_name = "London, UK"). This is a very simple calculation compared to actively querying through map geometry, but has...

Geocode Area Names of a City to get Lat and Long

I have a list of areas names in my City and i need the Lat and Long of the same. Is there any service which i can use the get the Data ? i dont wanna use any map. i would like to make simple api calls and get the lat long via jSon or xml. ...

Google map integration by php

I have all info City name,state,Country,street name,house number and zip code.Can i locate this in Google map.How will i do? From where i can get API for google for such problems? ...

US Address Validation (Zip+4)

I have a database that has a list of zip codes which has latitude, longitude, state, city, state fips code, time zone, etc. I'd like to extend this and write either a C# function or TSQL (SQL Server 2008) function that will take a street, city, state and zip and return the zip+4. I've searched high and low and there's many programs out t...

How to zoom to a place by street name in Google Maps API in Flash?

I'm sorry if I'm asking a basic question, but I can't find it anywhere and I don't understand too much from the provided documentation. Basically, I want to make a *.SWF in which the user inserts an address in the first frame, then in the second frame Google Maps shows that place. The problem is that I don't know how to zoom on a point w...

using google map geocoding service at service side

i wrote the following code to get the coordinate of a address package test; import java.net.HttpURLConnection; import java.net.URL; import sun.net.www.content.text.PlainTextInputStream; public class a{ public static void main(String[] arg) throws Exception{ String address = "台北市信義路五段七號101樓"; // 查詢經緯度 String output = ...

IP Geocoding in Rails 3

I'm looking for a working gem/plugin for rails3 that does IP geocoding, and ideally, distance calculations. geokit seems to be a popular choice, but it doesn't support rails3 yet. ...

google map v3 KmlLayer, Geocoder

Hi, I have some problems making a google map that loads XML file that have addresses instead of latlng. XML file holds about 10 records. I can not figure out how to do this. $(document).ready(function(){ var refreshId = setInterval(function(){ var latlng = new google.maps.LatLng(18.156291402835436, 22.2802734375); ...

uninitialized constant Geocode

Installing an old project on a new computer. If I type : $> rake db:migrate It returns: uninitialized constant Geocode /Users/macuser/Sites/hq_channel/vendor/rails/activesupport/lib/active_support/dependencies.rb:443:in `load_missing_constant' ... I sudo gem install'd all the gems that were in the environment.rb.. I did a rake ge...

IP address in rails

Hello, I have Rails 2.3.8, Ruby 1.8.7, Mongrel Web Server and MySQL database. I need to find the IP address but I am facing problems. I am in the development mode. I googled and found code, that its simple to get the IP address using request.remote_ip but, I am getting the output only as 127.0.0.1 In the controller, I have def ind...

How to make a Google Maps address - like lookup

You've probably all seen the maps.google.com.au address lookup. Start typing into the text box and your address auto completes in the list before you've finished. It also bolds the matching sections of the text that link to what you are typing. I've used both the javascript api of maps and the http api. The geocoding seems to do someth...

Does anyone know of a service/db I can use for businesses and geocode?

I was wondering how and where companies like Foursquare/Gowalla find and keep up to date their list of location/businesses. Is it a web service? Do they buy a directory and enter it into a database? ...

Are there any libraries to determine if somebody is inside your area (Geolocation range) of business (kind of like a store locator)?

Hi, I have a need to provide a widget on a webpage that allows a user to enter in a zipcode or suburb to determine if the website's business delivers to their area (basically are they inside of some range/radius). Anyone know of any libraries (commercial or opensource that would help achieve this instead of writing my own bit of code. ...