You are on page 1of 1

NetDirect GeoCoder 2.

01
GeoCoder 2 makes geocoding adresses to latitude and longitude coordinates easy w
ith the Google Maps API.
Simply click "LookUp" and the Geocoder 2 will give you a map with a marker showi
ng the address location on the map.
This location can be modified by clicking and dragging the marker to the right p
osition if the geo-coding was not 100% precise.
Should the geo-coding return a negative result (not found) you can set the marke
r by yourself or use the search function.
The coordinates will be updated automatically, and by clicking "Apply Lat/Lng" y
ou transfer the values back to the table form where it can be saved to your MySQ
L table.
Content
config.php
Configuration file for MySQL access
formate.css
Style Sheet
func.js JavaScript functions
index.php
The main application file
instructions.txt
How to install and use
mapdata.php
The core file that geo-codes the addresses and shows the map
taddress.sql
Demo table with address data to be geo-coded
Instructions
1. import taddress.sql to a MySQL database
2. modify config.php
3. get a google maps key at http://code.google.com/apis/maps/signup.html (takes
10 seconds)
4. replace "YOUR_KEY_HERE" with the google maps key in mapdata.php
It is quite easy to use your existing address table by adding 2 fields "lat" and
"lng", both VARCHAR(12).

You might also like