Mexican LocalitiesThis database lists the communities, towns and cities within all 32 states in Mexico. This is a sub-set of the Mexican Postal Code database, with the postal codes left out. There are slightly fewer records because this database also leaves out the 'special' listings for individual buildings, organizations, etc. Each locality listed here includes the governing municipality and state within which it is located. The data is provided as a zipped 'comma separated file' -- although in fact the semi-colon is used as a separator, rather than comma. All fields are enclosed in quote marks. There are four fields in the database:
MySQL Db Table Structure: CREATE TABLE `MEXLOC` ( `num` int(6) unsigned NOT NULL auto_increment, `locality` varchar(80) NOT NULL default '', `municipality` varchar(60) NOT NULL default '', `state` varchar(30) NOT NULL default '', PRIMARY KEY (`num`), KEY `locality` (`locality`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ; Sample Records:
Database: Mexican Localities
Copyright 2008 by Andrew J Morris, All rights reserved |