mysql> desc zipcodes;
+-----------+------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+------------------+------+-----+---------+----------------+
| id | int(10) unsigned | | PRI | NULL | auto_increment |
| zipcode | char(5) | | MUL | 00000 | |
| latitude | double(6,4) | YES | | NULL | |
| longitude | double(6,4) | YES | | NULL | |
+-----------+------------------+------+-----+---------+----------------+
works ok for me..
-----Original Message-----
From: Nelson Goforth [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 25, 2001 4:03 PM
To: [EMAIL PROTECTED]
Subject: Lat/Long storage?
I need to store latitude and longitude in a MySQL table. It needs to
allow human entry. Do you have a preferred storage technique for
these numbers?
Nelson Goforth
--
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php