| 1 | # -*- coding: utf-8 -*- |
| 2 | """ |
| 3 | Unique Territorial Code |
| 4 | REGION-PROVINCIA-COMUNA |
| 5 | |
| 6 | Description: |
| 7 | The list of Chilean regions, provinces and comunas with |
| 8 | its codes as "choices" in a formfield. |
| 9 | |
| 10 | source: |
| 11 | http://www.subdere.gov.cl/1510/article-73110.html |
| 12 | http://www.subdere.gov.cl/1510/articles-73110_recurso_1.pdf |
| 13 | """ |
| 14 | |
| 15 | REGION_CHOICES = ( |
| 16 | ('01', u'Región de Tarapacá'), |
| 17 | ('02', u'Región de Antofagasta'), |
| 18 | ('03', u'Región de Atacama'), |
| 19 | ('04', u'Región de Coquimbo'), |
| 20 | ('05', u'Región de Valparaíso'), |
| 21 | ('06', u'Región del Libertador General Bernardo O\'Higgins'), |
| 22 | ('07', u'Región del Maule'), |
| 23 | ('08', u'Región del Biobío'), |
| 24 | ('09', u'Región de La Araucanía'), |
| 25 | ('10', u'Región de Los Lagos'), |
| 26 | ('11', u'Región de Aisén del General Carlos Ibañez del Campo'), |
| 27 | ('12', u'Región de Magallanes y de la Antártica Chilena'), |
| 28 | ('13', u'Región Metropolitana de Santiago'), |
| 29 | ('14', u'Región de Los Ríos'), |
| 30 | ('15', u'Región de Arica y Parinacota'), |
| 31 | ) |
| 32 | |
| 33 | PROVINCIA_CHOICES = ( |
| 34 | ('151', u'Arica'), |
| 35 | ('152', u'Parinacota'), |
| 36 | ('011', u'Iquique'), |
| 37 | ('014', u'Tamarugal'), |
| 38 | ('021', u'Antofagasta'), |
| 39 | ('022', u'El Loa'), |
| 40 | ('023', u'Tocopilla'), |
| 41 | ('031', u'Copiapó'), |
| 42 | ('032', u'Chañaral'), |
| 43 | ('033', u'Huasco'), |
| 44 | ('041', u'Elqui'), |
| 45 | ('042', u'Choapa'), |
| 46 | ('043', u'Limarí'), |
| 47 | ('051', u'Valparaíso'), |
| 48 | ('052', u'Isla de Pascua'), |
| 49 | ('053', u'Los Andes'), |
| 50 | ('054', u'Petorca'), |
| 51 | ('055', u'Quillota'), |
| 52 | ('056', u'San Antonio'), |
| 53 | ('057', u'San Felipe de Aconcagua'), |
| 54 | ('061', u'Cachapoal'), |
| 55 | ('062', u'Cardenal Caro'), |
| 56 | ('063', u'Colchagua'), |
| 57 | ('071', u'Talca'), |
| 58 | ('072', u'Cauquenes'), |
| 59 | ('073', u'Curicó'), |
| 60 | ('074', u'Linares'), |
| 61 | ('081', u'Concepción'), |
| 62 | ('082', u'Arauco'), |
| 63 | ('083', u'Biobío'), |
| 64 | ('084', u'Ñuble'), |
| 65 | ('091', u'Cautín'), |
| 66 | ('092', u'Malleco'), |
| 67 | ('141', u'Valdivia'), |
| 68 | ('142', u'Ranco'), |
| 69 | ('101', u'Llanquihue'), |
| 70 | ('102', u'Chiloé'), |
| 71 | ('103', u'Osorno'), |
| 72 | ('104', u'Palena'), |
| 73 | ('111', u'Coihaique'), |
| 74 | ('112', u'Aisén'), |
| 75 | ('113', u'Capitán Prat'), |
| 76 | ('114', u'General Carrera'), |
| 77 | ('121', u'Magallanes'), |
| 78 | ('122', u'Antártica Chilena'), |
| 79 | ('123', u'Tierra del Fuego'), |
| 80 | ('124', u'Última Esperanza'), |
| 81 | ('131', u'Santiago'), |
| 82 | ('132', u'Cordillera'), |
| 83 | ('133', u'Chacabuco'), |
| 84 | ('134', u'Maipo'), |
| 85 | ('135', u'Melipilla'), |
| 86 | ('136', u'Talagante'), |
| 87 | ) |
| 88 | |
| 89 | |
| 90 | COMUNA_CHOICES = ( |
| 91 | ('15101', u'Arica'), |
| 92 | ('15102', u'Camarones'), |
| 93 | ('15201', u'Putre'), |
| 94 | ('15202', u'General '), |
| 95 | ('01101', u'Iquique'), |
| 96 | ('01107', u'Alto Hospicio'), |
| 97 | ('01401', u'Pozo Almonte'), |
| 98 | ('01402', u'Camiña'), |
| 99 | ('01403', u'Colchane'), |
| 100 | ('01404', u'Huara'), |
| 101 | ('01405', u'Pica'), |
| 102 | ('02101', u'Antofagasta'), |
| 103 | ('02102', u'Mejillones'), |
| 104 | ('02103', u'Sierra Gorda'), |
| 105 | ('02104', u'Taltal'), |
| 106 | ('02201', u'Calama'), |
| 107 | ('02202', u'Ollagüe'), |
| 108 | ('02203', u'San Pedro de Atacama'), |
| 109 | ('02301', u'Tocopilla'), |
| 110 | ('02302', u'María Elena'), |
| 111 | ('03101', u'Copiapó'), |
| 112 | ('03102', u'Caldera'), |
| 113 | ('03103', u'Tierra Amarilla'), |
| 114 | ('03201', u'Chañaral'), |
| 115 | ('03202', u'Diego de Almagro'), |
| 116 | ('03301', u'Vallenar'), |
| 117 | ('03302', u'Alto del Carmen'), |
| 118 | ('03303', u'Freirina'), |
| 119 | ('03304', u'Huasco'), |
| 120 | ('04101', u'La Serena'), |
| 121 | ('04102', u'Coquimbo'), |
| 122 | ('04103', u'Andacollo'), |
| 123 | ('04104', u'La Higuera'), |
| 124 | ('04105', u'Paiguano'), |
| 125 | ('04106', u'Vicuña', |
| 126 | ('04201', u'Illapel'), |
| 127 | ('04202', u'Canela'), |
| 128 | ('04203', u'Los Vilos'), |
| 129 | ('04204', u'Salamanca'), |
| 130 | ('04301', u'Ovalle'), |
| 131 | ('04302', u'Combarbalá'), |
| 132 | ('04303', u'Monte Patria'), |
| 133 | ('04304', u'Punitaqui'), |
| 134 | ('04305', u'Río Hurtado'), |
| 135 | ('05101', u'Valparaíso'), |
| 136 | ('05102', u'Casablanca'), |
| 137 | ('05103', u'Concón'), |
| 138 | ('05104', u'Juan Fernández'), |
| 139 | ('05105', u'Puchuncaví'), |
| 140 | ('05106', u'Quilpué'), |
| 141 | ('05107', u'Quintero'), |
| 142 | ('05108', u'Villa Alemana'), |
| 143 | ('05109', u'Viña del Mar'), |
| 144 | ('05201', u'Isla de Pascua'), |
| 145 | ('05301', u'Los Andes'), |
| 146 | ('05302', u'Calle Larga'), |
| 147 | ('05303', u'Rinconada'), |
| 148 | ('05304', u'San Esteban'), |
| 149 | ('05401', u'La Ligua'), |
| 150 | ('05402', u'Cabildo'), |
| 151 | ('05403', u'Papudo'), |
| 152 | ('05404', u'Petorca'), |
| 153 | ('05405', u'Zapallar'), |
| 154 | ('05501', u'Quillota'), |
| 155 | ('05502', u'Calera'), |
| 156 | ('05503', u'Hijuelas'), |
| 157 | ('05504', u'La Cruz'), |
| 158 | ('05505', u'Limache'), |
| 159 | ('05506', u'Nogales'), |
| 160 | ('05507', u'Olmué'), |
| 161 | ('05601', u'San Antonio'), |
| 162 | ('05602', u'Algarrobo'), |
| 163 | ('05603', u'Cartagena'), |
| 164 | ('05604', u'El Quisco'), |
| 165 | ('05605', u'El Tabo'), |
| 166 | ('05606', u'Santo Domingo'), |
| 167 | ('05701', u'San Felipe'), |
| 168 | ('05702', u'Catemu'), |
| 169 | ('05703', u'Llaillay'), |
| 170 | ('05704', u'Panquehue'), |
| 171 | ('05705', u'Putaendo'), |
| 172 | ('05706', u'Santa María'), |
| 173 | ('06101', u'Rancagua'), |
| 174 | ('06102', u'Codegua'), |
| 175 | ('06103', u'Coinco'), |
| 176 | ('06104', u'Coltauco'), |
| 177 | ('06105', u'Doñihue'), |
| 178 | ('06106', u'Graneros'), |
| 179 | ('06107', u'Las Cabras'), |
| 180 | ('06108', u'Machalí'), |
| 181 | ('06109', u'Malloa'), |
| 182 | ('06110', u'Mostazal'), |
| 183 | ('06111', u'Olivar'), |
| 184 | ('06112', u'Peumo'), |
| 185 | ('06113', u'Pichidegua'), |
| 186 | ('06114', u'Quinta de Tilcoco'), |
| 187 | ('06115', u'Rengo'), |
| 188 | ('06116', u'Requínoa'), |
| 189 | ('06117', u'San Vicente'), |
| 190 | ('06201', u'Pichilemu'), |
| 191 | ('06202', u'La Estrella'), |
| 192 | ('06203', u'Litueche'), |
| 193 | ('06204', u'Marchihue'), |
| 194 | ('06205', u'Navidad'), |
| 195 | ('06206', u'Paredones'), |
| 196 | ('06301', u'San Fernando'), |
| 197 | ('06302', u'Chépica'), |
| 198 | ('06303', u'Chimbarongo'), |
| 199 | ('06304', u'Lolol'), |
| 200 | ('06305', u'Nancagua'), |
| 201 | ('06306', u'Palmilla'), |
| 202 | ('06307', u'Peralillo'), |
| 203 | ('06308', u'Placilla'), |
| 204 | ('06309', u'Pumanque'), |
| 205 | ('06310', u'Santa Cruz'), |
| 206 | ('07101', u'Talca'), |
| 207 | ('07102', u'Constitución'), |
| 208 | ('07103', u'Curepto'), |
| 209 | ('07104', u'Empedrado'), |
| 210 | ('07105', u'Maule'), |
| 211 | ('07106', u'Pelarco'), |
| 212 | ('07107', u'Pencahue'), |
| 213 | ('07108', u'Río Claro'), |
| 214 | ('07109', u'San Clemente'), |
| 215 | ('07110', u'San Rafael'), |
| 216 | ('07201', u'Cauquenes'), |
| 217 | ('07202', u'Chanco'), |
| 218 | ('07203', u'Pelluhue'), |
| 219 | ('07301', u'Curicó'), |
| 220 | ('07302', u'Hualañe'), |
| 221 | ('07303', u'Licantén'), |
| 222 | ('07304', u'Molina'), |
| 223 | ('07305', u'Rauco'), |
| 224 | ('07306', u'Romeral'), |
| 225 | ('07307', u'Sagrada Familia'), |
| 226 | ('07308', u'Teno'), |
| 227 | ('07309', u'Vichuquén'), |
| 228 | ('07401', u'Linares'), |
| 229 | ('07402', u'Colbún'), |
| 230 | ('07403', u'Longaví'), |
| 231 | ('07404', u'Parral'), |
| 232 | ('07405', u'Retiro'), |
| 233 | ('07406', u'San Javier'), |
| 234 | ('07407', u'Villa Alegre'), |
| 235 | ('07408', u'Yerbas Buenas'), |
| 236 | ('08101', u'Concepción'), |
| 237 | ('08102', u'Coronel'), |
| 238 | ('08103', u'Chiguayante'), |
| 239 | ('08104', u'Florida'), |
| 240 | ('08105', u'Hualqui'), |
| 241 | ('08106', u'Lota'), |
| 242 | ('08107', u'Penco'), |
| 243 | ('08108', u'San Pedro de la Paz'), |
| 244 | ('08109', u'Santa Juana'), |
| 245 | ('08110', u'Talcahuano'), |
| 246 | ('08111', u'Tompe'), |
| 247 | ('08112', u'Hualpén'), |
| 248 | ('08201', u'Lebu'), |
| 249 | ('08202', u'Arauco'), |
| 250 | ('08203', u'Cañeete'), |
| 251 | ('08204', u'Contulmo'), |
| 252 | ('08205', u'Curanilahue'), |
| 253 | ('08206', u'Los Alamos'), |
| 254 | ('08207', u'Tirúa'), |
| 255 | ('08301', u'Los Angeles'), |
| 256 | ('08302', u'Antuco'), |
| 257 | ('08303', u'Cabrero'), |
| 258 | ('08304', u'Laja'), |
| 259 | ('08305', u'Mulchén'), |
| 260 | ('08306', u'Nacimiento'), |
| 261 | ('08307', u'Negrete'), |
| 262 | ('08308', u'Quilaco'), |
| 263 | ('08309', u'Quilleco'), |
| 264 | ('08310', u'San Rosendo'), |
| 265 | ('08311', u'Santa Bárbara'), |
| 266 | ('08312', u'Tucapel'), |
| 267 | ('08313', u'Yumbel'), |
| 268 | ('08314', u'Alto Biobío'), |
| 269 | ('08401', u'Chillán'), |
| 270 | ('08402', u'Bulnes'), |
| 271 | ('08403', u'Cobquecura'), |
| 272 | ('08404', u'Coelemu'), |
| 273 | ('08405', u'Coihueco'), |
| 274 | ('08406', u'Chillán Viejo'), |
| 275 | ('08407', u'El Carmen'), |
| 276 | ('08408', u'Ninhue'), |
| 277 | ('08409', u'Ñiquén'), |
| 278 | ('08410', u'Pemuco'), |
| 279 | ('08411', u'Pinto'), |
| 280 | ('08412', u'Portezuelo'), |
| 281 | ('08413', u'Quillón'), |
| 282 | ('08414', u'Quirihue'), |
| 283 | ('08415', u'Ráuil'), |
| 284 | ('08416', u'San Carlos'), |
| 285 | ('08417', u'San Fabián'), |
| 286 | ('08418', u'San Ignacio'), |
| 287 | ('08419', u'San Nicolás'), |
| 288 | ('08420', u'Treguaco'), |
| 289 | ('08421', u'Yungay'), |
| 290 | ('09101', u'Temuco'), |
| 291 | ('09102', u'Carahue'), |
| 292 | ('09103', u'Cunco'), |
| 293 | ('09104', u'Curarrehue'), |
| 294 | ('09105', u'Freire'), |
| 295 | ('09106', u'Galvarino'), |
| 296 | ('09107', u'Gorbea'), |
| 297 | ('09108', u'Lautaro'), |
| 298 | ('09109', u'Loncoche'), |
| 299 | ('09110', u'Melipeuco'), |
| 300 | ('09111', u'Nueva Imperial'), |
| 301 | ('09112', u'Padre Las Casas'), |
| 302 | ('09113', u'Perquenco'), |
| 303 | ('09114', u'Pitrufquén'), |
| 304 | ('09115', u'Pucón'), |
| 305 | ('09116', u'Saavedra'), |
| 306 | ('09117', u'Teodoro Schmidt'), |
| 307 | ('09118', u'Toltén'), |
| 308 | ('09119', u'Vilcún'), |
| 309 | ('09120', u'Villarrica'), |
| 310 | ('09121', u'Cholchol'), |
| 311 | ('09201', u'Angol'), |
| 312 | ('09202', u'Collipulli'), |
| 313 | ('09203', u'Curacautín'), |
| 314 | ('09204', u'Ercilla'), |
| 315 | ('09205', u'Lonquimay'), |
| 316 | ('09206', u'Los Sauces'), |
| 317 | ('09207', u'Lumaco'), |
| 318 | ('09208', u'Purén'), |
| 319 | ('09209', u'Renaico'), |
| 320 | ('09210', u'Traiguén'), |
| 321 | ('09211', u'Victoria'), |
| 322 | ('14101', u'Valdivia'), |
| 323 | ('14102', u'Corral'), |
| 324 | ('14103', u'Lanco'), |
| 325 | ('14104', u'Los Lagos'), |
| 326 | ('14105', u'Máfil'), |
| 327 | ('14106', u'Mariquina'), |
| 328 | ('14107', u'Paillaco'), |
| 329 | ('14108', u'Panguipulli'), |
| 330 | ('14201', u'La Unión'), |
| 331 | ('14202', u'Futrono'), |
| 332 | ('14203', u'Lago Ranco'), |
| 333 | ('14204', u'Río Bueno'), |
| 334 | ('10101', u'Puerto Montt'), |
| 335 | ('10102', u'Calbuco'), |
| 336 | ('10103', u'Cochamó'), |
| 337 | ('10104', u'Fresia'), |
| 338 | ('10105', u'Frutillar'), |
| 339 | ('10106', u'Los Muermos'), |
| 340 | ('10107', u'Llanquihue'), |
| 341 | ('10108', u'Maullín'), |
| 342 | ('10109', u'Puerto Varas'), |
| 343 | ('10201', u'Castro'), |
| 344 | ('10202', u'Ancud'), |
| 345 | ('10203', u'Chonchi'), |
| 346 | ('10204', u'Curaco de Vélez'), |
| 347 | ('10205', u'Dalcahue'), |
| 348 | ('10206', u'Puqueldón'), |
| 349 | ('10207', u'Queilén'), |
| 350 | ('10208', u'Quellón'), |
| 351 | ('10209', u'Quemchi'), |
| 352 | ('10210', u'Quinchao'), |
| 353 | ('10301', u'Osorno'), |
| 354 | ('10302', u'Puerto Octay'), |
| 355 | ('10303', u'Purranque'), |
| 356 | ('10304', u'Puyehue'), |
| 357 | ('10305', u'Río Negro'), |
| 358 | ('10306', u'San Juan de la Costa'), |
| 359 | ('10307', u'San Pablo'), |
| 360 | ('10401', u'Chaitén'), |
| 361 | ('10402', u'Futaleufú'), |
| 362 | ('10403', u'Hualaihué'), |
| 363 | ('10404', u'Palena'), |
| 364 | ('11101', u'Coihaique'), |
| 365 | ('11102', u'Lago Verde'), |
| 366 | ('11201', u'Aisén'), |
| 367 | ('11202', u'Cisnes'), |
| 368 | ('11203', u'Guaitecas'), |
| 369 | ('11301', u'Cochrane'), |
| 370 | ('11302', u'O\'Higgins'), |
| 371 | ('11303', u'Tortel'), |
| 372 | ('11401', u'Chile Chico'), |
| 373 | ('11402', u'Río Ibáñez'), |
| 374 | ('12101', u'Punta Arenas'), |
| 375 | ('12102', u'Laguna Blanca'), |
| 376 | ('12103', u'Río Verde'), |
| 377 | ('12104', u'San Gregorio'), |
| 378 | ('12201', u'Cabo de Hornos'), |
| 379 | ('12202', u'Antártica'), |
| 380 | ('12301', u'Porvenir'), |
| 381 | ('12302', u'Primavera'), |
| 382 | ('12303', u'Timaukel'), |
| 383 | ('12401', u'Natales'), |
| 384 | ('12402', u'Torres del Paine'), |
| 385 | ('13101', u'Santiago'), |
| 386 | ('13102', u'Cerrillos'), |
| 387 | ('13103', u'Cerro Navia'), |
| 388 | ('13104', u'Conchalí'), |
| 389 | ('13105', u'El Bosque'), |
| 390 | ('13106', u'Estación Central'), |
| 391 | ('13107', u'Huechuraba'), |
| 392 | ('13108', u'Independencia'), |
| 393 | ('13109', u'La Cisterna'), |
| 394 | ('13110', u'La Florida'), |
| 395 | ('13111', u'La Granja'), |
| 396 | ('13112', u'La Pintana'), |
| 397 | ('13113', u'La Reina'), |
| 398 | ('13114', u'Las Condes'), |
| 399 | ('13115', u'Lo Barnechea'), |
| 400 | ('13116', u'Lo Espejo'), |
| 401 | ('13117', u'Lo Prado'), |
| 402 | ('13118', u'Macul'), |
| 403 | ('13119', u'Maipú'), |
| 404 | ('13120', u'Ñuñoa'), |
| 405 | ('13121', u'Pedro Aguirre Cerda'), |
| 406 | ('13122', u'Peñalolén'), |
| 407 | ('13123', u'Providencia'), |
| 408 | ('13124', u'Pudahuel'), |
| 409 | ('13125', u'Quilicura'), |
| 410 | ('13126', u'Quinta Normal'), |
| 411 | ('13127', u'Recoleta'), |
| 412 | ('13128', u'Renca'), |
| 413 | ('13129', u'San Joaquín'), |
| 414 | ('13130', u'San Miguel'), |
| 415 | ('13131', u'San Ramón'), |
| 416 | ('13132', u'Vitacura'), |
| 417 | ('13201', u'Puente Alto'), |
| 418 | ('13202', u'Pirque'), |
| 419 | ('13203', u'San José de Maipo'), |
| 420 | ('13301', u'Colina'), |
| 421 | ('13302', u'Lampa'), |
| 422 | ('13303', u'Tiltil'), |
| 423 | ('13401', u'San Bernardo'), |
| 424 | ('13402', u'Buin'), |
| 425 | ('13403', u'Calera de Tango'), |
| 426 | ('13404', u'Paine'), |
| 427 | ('13501', u'Melipilla'), |
| 428 | ('13502', u'Alhué'), |
| 429 | ('13503', u'Curacaví'), |
| 430 | ('13504', u'María Pinto'), |
| 431 | ('13505', u'San Pedro'), |
| 432 | ('13601', u'Talagante'), |
| 433 | ('13602', u'El Monte'), |
| 434 | ('13603', u'Isla de Maipo'), |
| 435 | ('13604', u'Padre Hurtado'), |
| 436 | ('13605', u'Peñaflor'), |
| 437 | ) |
| 438 | No hay ningún carácter de nueva línea al final del fichero |