|
Extraits de données CSV |
---|
"ville";"villeMaj";"codePostal";"codeInsee";"codeRegion";"longitude";"latitude";"googleWgs84Lon";"googleWgs84Lat";"googleStatusCode";"googleAccuracy";"googleAdministrativeAreaName";"googleSubAdministrativeAreaName";"googleLocalityName";"googlePostalCodeNumber";"yahooWgs84Lon";"yahooWgs84Lat";"yahooPrecision";"yahooCity";"yahooZip";"yahooWarning" "Lyon";"LYON";"69000";"69380";"82";"4.850000";"45.750000";"4.835173";"45.767609";"200";"9";"Rhône-Alpes";"Rhône";"Lyon";"69001";"4.829100";"45.759361";"zip";"Lyon";; "Glay";"GLAY";"69850";"69903";"82";"4.600000";"45.866669";"3.664222";"45.832325";"200";"6";"Auvergne";"Puy-de-Dôme";"Viscomtat";"63250";"4.520932";"45.640610";"city";"La Chèvre";"69850 ";"The exact location could not be found. Here is the center of the ZIP code." |
Extraits de données SQL |
INTO `wgs84_codes_postaux` (`ville`, `villeMaj`, `codePostal`, `codeInsee`, `codeRegion`, `longitude`, `latitude`, `googleWgs84Lon`, `googleWgs84Lat`, `googleStatusCode`, `googleAccuracy`, `googleAdministrativeAreaName`, `googleSubAdministrativeAreaName`, `googleLocalityName`, `googlePostalCodeNumber`, `yahooWgs84Lon`, `yahooWgs84Lat`, `yahooPrecision`, `yahooCity`, `yahooZip`, `yahooWarning`) VALUES ('Lyon', 'LYON', 69000, 69380, 82, 4.850000, 45.750000, 4.835173, 45.767609, 200, 9, 'Rhône-Alpes', 'Rhône', 'Lyon', '69001', 4.829100, 45.759361, 'zip', 'Lyon', '', ''), ('Glay', 'GLAY', 69850, 69903, 82, 4.600000, 45.866669, 3.664222, 45.832325, 200, 6, 'Auvergne', 'Puy-de-Dôme', 'Viscomtat', '63250', 4.520932, 45.640610, 'city', 'La Chèvre', '69850 ', 'The exact location could not be found. Here is the center of the ZIP code.'); |
Structure de la table SQL des villes et coordonnées GPS |
CREATE TABLE IF NOT EXISTS `wgs84_codes_postaux` ( `ville` varchar(255) NOT NULL, `villeMaj` varchar(255) NOT NULL COMMENT 'ville en majuscule sans caractères spéciaux (accent, apostrophe et tiret)', `codePostal` int(10) unsigned NOT NULL, `codeInsee` int(10) unsigned NOT NULL, `codeRegion` int(10) unsigned NOT NULL, `longitude` float(10,6) NOT NULL, `latitude` float(10,6) NOT NULL, `googleWgs84Lon` float(10,6) NOT NULL, `googleWgs84Lat` float(10,6) NOT NULL, `googleStatusCode` int(10) unsigned NOT NULL, `googleAccuracy` int(10) unsigned NOT NULL, `googleAdministrativeAreaName` varchar(255) NOT NULL, `googleSubAdministrativeAreaName` varchar(255) NOT NULL, `googleLocalityName` varchar(255) NOT NULL, `googlePostalCodeNumber` varchar(255) NOT NULL, `yahooWgs84Lon` float(10,6) NOT NULL, `yahooWgs84Lat` float(10,6) NOT NULL, `yahooPrecision` varchar(50) NOT NULL, `yahooCity` varchar(255) NOT NULL, `yahooZip` varchar(255) NOT NULL, `yahooWarning` varchar(255) NOT NULL, PRIMARY KEY (`codeInsee`) ); |