├── LICENSE ├── README.md ├── geocoder ├── csv_in.csv ├── geocoder_sample.ipynb └── geojsonio.PNG └── pythoncordoba2019 ├── GEOPYTHON.pdf ├── cordobapnoa4326.tif ├── fondo.xcf ├── geodjango.py ├── grid250cordoba.geojson ├── grid250cordoba4326.geojson ├── ieca_coord.csv ├── ieca_coord.xls ├── ieca_renta_media_habitante.xls ├── muni_pun.cpg ├── muni_pun.dbf ├── muni_pun.prj ├── muni_pun.qpj ├── muni_pun.shp ├── muni_pun.shx ├── osm.gpkg └── pob.csv /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # GeoPython 2 | Recursos sobre Python y Geo 3 | 4 | ## Charlas 5 | - **Charla GeoPython** Grupo Python Cordoba (21/10). 6 | - [Presentación](https://docs.google.com/presentation/d/1JUmYrmZr7c0wTTbO6aOoEsi_r4LFWLahS0D-tnNV1I8/edit?usp=sharing) 7 | - [PDF](/pythoncordoba2019/GEOPYTHON.pdf) 8 | 9 | 10 | ## Documentos 11 | 12 | - Python : el lenguaje que los geomáticos deberían priorizar http://www.geofumadas.com/python-lenguaje-los-geomaticos-deberian-aprender/ 13 | - Sobre Python, módulos espaciales, programas SIG y controversias http://geotux.tuxfamily.org/index.php/es/component/k2/item/318-sobre-python-modulos-espaciales-programas-sig-y-controversias 14 | - Introducción a Python para usos geoespaciales. Roger Veciana i Rovira. Jornadas SIG Libre Girona 2014 http://geoexamples.com/introduccion-python-geoespacial/ 15 | - Repo github con ejemplos del taller https://github.com/rveciana/introduccion-python-geoespacial 16 | - Geoprocessing with Python using Open Source GIS (2009) https://www.gis.usu.edu/~chrisg/python/2009/ 17 | - Geotalleres. Geoprocesamiento con Python. El presente taller da una visión sobre cómo realizar geoprocesamiento en Python con el uso de Fiona, Shapely y Rasterio. http://geotalleres.github.io/geotalleres/geopython/index.html 18 | - Geoprocesamiento: comparación entre R y Python. Publicado el 21 de julio de 2017. Antonio Pantoja C. https://www.linkedin.com/pulse/geoprocesamiento-comparaci%C3%B3n-entre-r-y-python-antonio-pantoja-c 19 | - Obscure PSA of the day: Use Conda to correctly install Python GDAL on your Mac https://hackernoon.com/install-python-gdal-using-conda-on-mac-8f320ca36d90 20 | - Python Jupyter for GIS https://github.com/RobBlackwell/python-jupyter-for-gis 21 | - Introduction to GIS in Python https://github.com/jonathf/gis-course 22 | 23 | 24 | ## Librerías 25 | 26 | - Essential Python Geospatial Libraries (2013) http://carsonfarmer.com/2013/07/essential-python-geo-libraries/ 27 | - Los módulos Python con finalidad espacial: ¿qué, por qué, para qué y cómo? (203) http://geotux.tuxfamily.org/index.php/es/component/k2/item/330-modulos-python-con-finalidad-espacial-que-por-que-para-que-y-como 28 | - Charla de Jorge y Rafa en Pycon de Valencia Video https://www.youtube.com/watch?v=aK1WVxHvRxw https://nbviewer.jupyter.org/github/geoinquietosvlc/2015.es.pycon/blob/master/geospatial-python.ipynb 29 | - Curso Geoinquietos madrid http://medialab-prado.es/article/programacion-gis-iii 30 | - Librerias Python GIS http://www.geomapik.com/desarrollo-programacion-gis/librerias-python-gis/ 31 | - https://www.gis.usu.edu/~chrisg/python/2009/ 32 | - https://medium.com/dataexplorations/working-with-open-data-shape-files-using-geopandas-how-to-match-up-your-data-with-the-areas-9377471e49f2 33 | - https://automating-gis-processes.github.io/CSC/notebooks/L5/plotting-raster.html 34 | - http://www.geomapik.com/desarrollo-programacion-gis/mapas-plotly-visualizacion-datos-espaciales/ 35 | - https://www.cursosgis.com/mdt-en-3-dimensiones-con-python/ 36 | - https://github.com/ljwolf/geopython 37 | - https://acolita.com/analisis-de-hotspot-en-qgis-3/ 38 | - https://pcjericks.github.io/py-gdalogr-cookbook/index.html 39 | - https://towardsdatascience.com/getting-started-with-geographic-data-science-in-python-part-2-f9e2b1d8abd7 40 | - http://darribas.org/gds15/content/labs/lab_03.html 41 | - https://medium.com/geoai/high-resolution-land-cover-mapping-using-deep-learning-7126fee571dd 42 | - https://medium.com/geoai/integrating-deep-learning-with-gis-70e7c5aa9dfe 43 | 44 | 45 | 46 | ### Core 47 | - https://docs.python.org/3/library/index.html 48 | - sys.Funcionalidades directamente relacionadas con el intérprete. 49 | - os Funcionalidades del SO 50 | - os.path, shutil Funcionalidades relacionadas con los nombres de las rutas de archivos y directorios, mover, copiar, cortar 51 | - urllib.request Peticiones HTTP 52 | - csv Manejo de archivos CSV 53 | - zipfile Trabajo con archivos comprimidos 54 | - psycopg2. Conexión a PostgreSQL 55 | 56 | ### Entrada/salida 57 | 58 | - GDAL Librería para lectura y escritura de formatos de datos geoespaciales vectoriales (OGR) y raster (GDAL) 59 | - Shapely Fiona Manipulación y el análisis de datos vectoriales 60 | - Rasterio Leer, manipular y escribir archivos de tipo ráster. 61 | - geojson Trabajo con archivos GeoJSON. 62 | - GeoPandas Permitir el uso de archivos y operaciones espaciales. 63 | - pyproj Interfaz de la librería PROJ4 de OSGeo para proyección y conversión de geometrías entre sistemas de referencia de - coordenadas. 64 | - geocoder Geocodifiación y geocodificación inversa mediante APIs de geocodificación (GoogleMaps, Nominatim. Here..) 65 | 66 | ### Visualización 67 | - Matplotlib Viisualizaciones 2D. Gráficos de barras, ternarios, de líneas, temporales, diagramas de dispersión… ¡y también mapas! 68 | - Ploty Librería de de gráficos para crear gráficos interactivos 69 | 70 | ### Análisis 71 | - PySAL https://pysal.readthedocs.io/en/latest/ 72 | - Keras 73 | - TensorFlow 74 | - Pytorch 75 | 76 | ### Web 77 | - Folium 78 | 79 | 80 | ## Tools 81 | 82 | - https://www.adictosaltrabajo.com/2019/06/04/google-colab-python-y-machine-learning-en-la-nube/ 83 | - https://www.datahack.es/introduccion-a-google-colab-para-data-science/ 84 | 85 | ## Libros 86 | 87 | - **Geospatial Development By Example with Python** - From Python programming good practices to the advanced use of analysis packages, this book teaches you how to write applications that will perform complex geoprocessing tasks that can be replicated and reused. 88 | - **Geoprocessing with Python** - Geoprocessing with Python teaches you how to use the Python programming language along with free and open source tools to read, write, and process geospatial data. 89 | - **Python Geospatial Analysis Cookbook** - Over 60 recipes to work with topology, overlays, indoor routing, and web application analysis with Python. 90 | - “Python Geospatial Analysis Essentials” - Process, analyze, and display geospatial data using Python libraries and related tools 91 | - **“Python Geospatial Development Essentials”** - Utilize Python with open source libraries to build a lightweight, portable, and customizable GIS desktop application. 92 | - **“Learning Geospatial Analysis with Python”** - If you know Python and would like to use it for Geospatial Analysis this book is exactly what you've been looking for. With an organized, user-friendly approach it covers all the bases to give you the necessary skills and know-how. 93 | - **“Python Geospatial Development”** - Build your own complete and sophisticated mapping applications in Python. Walks you through the process of building your own online system for viewing and editing geospatial data. Practical, hands-on tutorial that teaches you all about geospatial development in Python 94 | 95 | ## Configurar IDEs 96 | 97 | - https://mappinggis.com/2015/05/configurar-pycharm-para-usarlo-con-qgis/ 98 | - http://armillary-geomatica.blogspot.com.es/2016/10/configuracion-de-una-ide-para-trabajar.html?m=1 99 | 100 | ## PyQGIS 101 | 102 | - pyqgis-resources http://spatialgalaxy.net/2014/10/18/pyqgis-resources/ 103 | - como-crear-nuestro-propio-plugin-para-qgis http://www.cursosgis.com/como-crear-nuestro-propio-plugin-para-qgis 104 | - pyqgis-101-introduction-to-qgis-python-programming-for-non-programmers https://anitagraser.com/projects/pyqgis-101-introduction-to-qgis-python-programming-for-non-programmers/ 105 | - Curso programación QGIS 3 con Python Victor Olaya Madrid 2018 https://github.com/volaya/curso-qgis-python https://www.youtube.com/- watch?v=vZ08dYlM-7U 106 | - Curso "Introducción al Desarrollo de Plugins para QGIS 3 con Python" Mathias khun https://www.youtube.com/watch?v=QeT4iij4Jbo&- list=PLVPATWZyLENyVjo3F-h3ZrE2uTHAl2EHL 107 | - Pirelly developqgisplugins http://slides.com/luigipirelli/developqgisplugins-nodebo2017#/17 108 | - Fran Raga pyqgis http://slides.com/franciscojoseragalopez/pyqgis/fullscreen#/12 109 | - Fran programacion-gis http://slides.com/franciscojoseragalopez/programacion-gis-iii#/ 110 | - best-practices-for-writing-python-qgis-expression-functions http://www.opengis.ch/2017/05/10/best-practices-for-writing-python-qgis-expression-functions/ 111 | - pyqgis-resources http://spatialgalaxy.net/2014/10/18/pyqgis-resources/ 112 | - script-de-python-para-filtrar-por-patron-de-texto-los-metodos-de-clases-en-pyqgis https://www.google.es/amp/s/joseguerreroa.wordpress.com/2014/03/16/script-de-python-para-filtrar-por-patron-de-texto-los-metodos-de-clases-en-pyqgis/amp/ 113 | 114 | ### Libros 115 | 116 | - qgis-python-programming-cookbook-second-edition-joel-lawhead http://www.barnesandnoble.com/w/qgis-python-programming-cookbook-second-edition-joel-lawhead/1125265238?ean=9781787121102 117 | 118 | -------------------------------------------------------------------------------- /geocoder/csv_in.csv: -------------------------------------------------------------------------------- 1 | id,'direccion','tipo' 2 | 1,'CALLE RONQUILLO BRICEÑO 10',100 3 | 2,'CALLEJA DEL POSADERO 21',100 4 | 3,'AVENIDA DEL MEDITERRÁNEO Y CALLE CANTÁBRICO',200 5 | 4,'AVENIDA DE LIBIA',200 6 | 5,'JARDINES DE LA AGRICULTURA',300 7 | 6,'PLAN PARCIAL O7 PARCELA 12 B',400 8 | 7,'IGLESIA DE LA TRINIDAD',300 9 | 8,'CALLE DON LOPE DE LOS RÍOS 24',100 10 | 9,'CALLE FUENTE DE LOS PICADORES 4',300 11 | 10,'CALLE JOSE MARÍA VALDENEBRO 35 Y PREVISIÓN 24',500 12 | 11,'CALLE MORISCOS 28',100 13 | 12,'CALLE JULIO VALDELOMAR ESQUINA CALLE ANTÓN MONTORO',600 14 | 13,'AVENIDA DE AMÉRICA 5',100 15 | 14,'CALLE RONDA DE MARRUBIAL ESQUINA AGRUPACIÓN DE CÓRDOBA',600 16 | 15,'CABALLERIZAS REALES',300 17 | 16,'POLIGONO INDUSTRIAL LAS QUEMADAS',200 18 | 17,'AVENIDA DE LAS OLLERÍAS',200 19 | 18,'CALLE MARÍA CRISTINA 4',100 20 | 19,'CALLE PINTOR MARIANO BELMONTE 5',100 21 | 20,'CALLE CERRO 3',100 -------------------------------------------------------------------------------- /geocoder/geocoder_sample.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "[Geocoder](https://geocoder.readthedocs.io/) es una librería de Python para realizar trabajos de geocodifiación (obtener coordendas a partir de una dirección) y geocodificación inversa (obtener dirección a partir de coordenadas) mediante APIs de geocodificación tales como Google, Nominatim de OpenStreet, Bing, Yahoo, Here...\n", 8 | "\n", 9 | "Los pasos para usar este módulo son bastantes sencillos:\n", 10 | "\n", 11 | "- Tener instalado [Python](https://www.python.org/downloads/). Python 3 mejor que mejor....\n", 12 | "- Instalar el módulo en nuestro equipo por ejemplo usando el [instalador de paquetes pip](https://pypi.org/project/pip/) (pip install geocoder)\n", 13 | "\n", 14 | "Comenzamos importando el paquete Geocoder" 15 | ] 16 | }, 17 | { 18 | "cell_type": "code", 19 | "execution_count": 1, 20 | "metadata": {}, 21 | "outputs": [], 22 | "source": [ 23 | "import geocoder" 24 | ] 25 | }, 26 | { 27 | "cell_type": "markdown", 28 | "metadata": {}, 29 | "source": [ 30 | "Una vez importada la librería podemos usar sus funciones. En la sisguiente línea un ejemplo de geocodificación de una dirección usando el servicio de Google" 31 | ] 32 | }, 33 | { 34 | "cell_type": "code", 35 | "execution_count": 2, 36 | "metadata": {}, 37 | "outputs": [], 38 | "source": [ 39 | "loc = geocoder.google('Calle El Almendro 6, Córdoba, Spain')" 40 | ] 41 | }, 42 | { 43 | "cell_type": "markdown", 44 | "metadata": {}, 45 | "source": [ 46 | "Podemos comprobar que la dirección ha sido indetificada imprimiendo la variale" 47 | ] 48 | }, 49 | { 50 | "cell_type": "code", 51 | "execution_count": 3, 52 | "metadata": {}, 53 | "outputs": [ 54 | { 55 | "data": { 56 | "text/plain": [ 57 | "<[OK] Google - Geocode [Calle el Almendro, 6, 14006 Córdoba, Spain]>" 58 | ] 59 | }, 60 | "execution_count": 3, 61 | "metadata": {}, 62 | "output_type": "execute_result" 63 | } 64 | ], 65 | "source": [ 66 | "loc" 67 | ] 68 | }, 69 | { 70 | "cell_type": "markdown", 71 | "metadata": {}, 72 | "source": [ 73 | "Para obtener las coordenadadas accedemos a los atributos" 74 | ] 75 | }, 76 | { 77 | "cell_type": "code", 78 | "execution_count": 4, 79 | "metadata": {}, 80 | "outputs": [ 81 | { 82 | "data": { 83 | "text/plain": [ 84 | "[37.8961199, -4.7830962]" 85 | ] 86 | }, 87 | "execution_count": 4, 88 | "metadata": {}, 89 | "output_type": "execute_result" 90 | } 91 | ], 92 | "source": [ 93 | "loc.latlng" 94 | ] 95 | }, 96 | { 97 | "cell_type": "markdown", 98 | "metadata": {}, 99 | "source": [ 100 | "Al presentarse como una lista, el acceso a la latitud y longitud de forma independiente se realiza mediante su índice" 101 | ] 102 | }, 103 | { 104 | "cell_type": "code", 105 | "execution_count": 5, 106 | "metadata": {}, 107 | "outputs": [ 108 | { 109 | "name": "stdout", 110 | "output_type": "stream", 111 | "text": [ 112 | "Latitud: 37.8961199 Longitud: -4.7830962\n" 113 | ] 114 | } 115 | ], 116 | "source": [ 117 | "print('Latitud: {} Longitud: {}'.format(loc.latlng[0],loc.latlng[1]))" 118 | ] 119 | }, 120 | { 121 | "cell_type": "markdown", 122 | "metadata": {}, 123 | "source": [ 124 | "Podemos usar otros servicios de geocodifiación, por ejemplo Nominatim de OpenStreetMap. en este caso geocodificamos na dirección por el nombre del inmueble." 125 | ] 126 | }, 127 | { 128 | "cell_type": "code", 129 | "execution_count": 6, 130 | "metadata": {}, 131 | "outputs": [ 132 | { 133 | "data": { 134 | "text/plain": [ 135 | "<[OK] Osm - Geocode [Hospital Universitario Virgen del Rocío, Calle Antonio Maura Montaner, Tabladilla-La Estrella, Distrito Sur, Sevilla, Andalucía, 41005, España]>" 136 | ] 137 | }, 138 | "execution_count": 6, 139 | "metadata": {}, 140 | "output_type": "execute_result" 141 | } 142 | ], 143 | "source": [ 144 | "loc1 = geocoder.osm('Hospital Universitario Virgen del Rocío, Sevilla, Spain')\n", 145 | "loc1" 146 | ] 147 | }, 148 | { 149 | "cell_type": "code", 150 | "execution_count": 7, 151 | "metadata": {}, 152 | "outputs": [ 153 | { 154 | "data": { 155 | "text/plain": [ 156 | "[37.3629504, -5.97893023224876]" 157 | ] 158 | }, 159 | "execution_count": 7, 160 | "metadata": {}, 161 | "output_type": "execute_result" 162 | } 163 | ], 164 | "source": [ 165 | "loc1.latlng" 166 | ] 167 | }, 168 | { 169 | "cell_type": "markdown", 170 | "metadata": {}, 171 | "source": [ 172 | "Añadimos el módulo CSV para trabajar con este tipo de archivos" 173 | ] 174 | }, 175 | { 176 | "cell_type": "code", 177 | "execution_count": 8, 178 | "metadata": {}, 179 | "outputs": [], 180 | "source": [ 181 | "import csv" 182 | ] 183 | }, 184 | { 185 | "cell_type": "markdown", 186 | "metadata": {}, 187 | "source": [ 188 | "Abrimos el fichero indicando el sistema de codificación del archivo. A continuación iteramos para ver los datos que posee." 189 | ] 190 | }, 191 | { 192 | "cell_type": "code", 193 | "execution_count": 9, 194 | "metadata": {}, 195 | "outputs": [ 196 | { 197 | "name": "stdout", 198 | "output_type": "stream", 199 | "text": [ 200 | "['id', 'direccion', 'tipo']\n", 201 | "['1', 'CALLE RONQUILLO BRICEÑO 10', '100']\n", 202 | "['2', 'CALLEJA DEL POSADERO 21', '100']\n", 203 | "['3', 'AVENIDA DEL MEDITERRÁNEO Y CALLE CANTÁBRICO', '200']\n", 204 | "['4', 'AVENIDA DE LIBIA', '200']\n", 205 | "['5', 'JARDINES DE LA AGRICULTURA', '300']\n", 206 | "['6', 'PLAN PARCIAL O7 PARCELA 12 B', '400']\n", 207 | "['7', 'IGLESIA DE LA TRINIDAD', '300']\n", 208 | "['8', 'CALLE DON LOPE DE LOS RÍOS 24', '100']\n", 209 | "['9', 'CALLE FUENTE DE LOS PICADORES 4', '300']\n", 210 | "['10', 'CALLE JOSE MARÍA VALDENEBRO 35 Y PREVISIÓN 24', '500']\n", 211 | "['11', 'CALLE MORISCOS 28', '100']\n", 212 | "['12', 'CALLE JULIO VALDELOMAR ESQUINA CALLE ANTÓN MONTORO', '600']\n", 213 | "['13', 'AVENIDA DE AMÉRICA 5', '100']\n", 214 | "['14', 'CALLE RONDA DE MARRUBIAL ESQUINA AGRUPACIÓN DE CÓRDOBA', '600']\n", 215 | "['15', 'CABALLERIZAS REALES', '300']\n", 216 | "['16', 'POLIGONO INDUSTRIAL LAS QUEMADAS', '200']\n", 217 | "['17', 'AVENIDA DE LAS OLLERÍAS', '200']\n", 218 | "['18', 'CALLE MARÍA CRISTINA 4', '100']\n", 219 | "['19', 'CALLE PINTOR MARIANO BELMONTE 5', '100']\n", 220 | "['20', 'CALLE CERRO 3', '100']\n" 221 | ] 222 | } 223 | ], 224 | "source": [ 225 | "with open('csv_in.csv', encoding=\"utf8\") as csv_file:\n", 226 | " csv_data = csv.reader(csv_file, delimiter=',', quotechar='\\'')\n", 227 | " for row in csv_data:\n", 228 | " print(row)" 229 | ] 230 | }, 231 | { 232 | "cell_type": "markdown", 233 | "metadata": {}, 234 | "source": [ 235 | "Una vez cargados los datos y accediendo a la información de cada uno de ellos haremos correr el script para que nos busque las coordenadas. En este caso usaremos el servicio de Google al que **le hemos añadido el nombre de la ciudad, a comunidad autónoma y el país para limitar más la búsqueda**.\n", 236 | "\n", 237 | "El servicio de Google tiene algunas restricciones respecto al número de peticiones y tiempo entre peticiones. Tenemos que tener en cuenta ya que los resultados pueden variar.\n" 238 | ] 239 | }, 240 | { 241 | "cell_type": "code", 242 | "execution_count": 10, 243 | "metadata": {}, 244 | "outputs": [ 245 | { 246 | "name": "stdout", 247 | "output_type": "stream", 248 | "text": [ 249 | "id direccion tipo\n", 250 | "Coordenadas: [37.889395, -4.776749199999999]:\n", 251 | "1 CALLE RONQUILLO BRICEÑO 10 100\n", 252 | "Coordenadas: [37.881442, -4.7696885]:\n", 253 | "2 CALLEJA DEL POSADERO 21 100\n", 254 | "Coordenadas: None:\n", 255 | "3 AVENIDA DEL MEDITERRÁNEO Y CALLE CANTÁBRICO 200\n", 256 | "Coordenadas: None:\n", 257 | "4 AVENIDA DE LIBIA 200\n", 258 | "Coordenadas: [37.8913159, -4.7571579]:\n", 259 | "5 JARDINES DE LA AGRICULTURA 300\n", 260 | "Coordenadas: [37.8876884, -4.7856429]:\n", 261 | "6 PLAN PARCIAL O7 PARCELA 12 B 400\n", 262 | "Coordenadas: [37.8881751, -4.7793835]:\n", 263 | "7 IGLESIA DE LA TRINIDAD 300\n", 264 | "Coordenadas: None:\n", 265 | "8 CALLE DON LOPE DE LOS RÍOS 24 100\n", 266 | "Coordenadas: [37.8980935, -4.7769355]:\n", 267 | "9 CALLE FUENTE DE LOS PICADORES 4 300\n", 268 | "Coordenadas: [37.8959443, -4.785800399999999]:\n", 269 | "10 CALLE JOSE MARÍA VALDENEBRO 35 Y PREVISIÓN 24 500\n", 270 | "Coordenadas: [37.8792955, -4.7916745]:\n", 271 | "11 CALLE MORISCOS 28 100\n", 272 | "Coordenadas: None:\n", 273 | "12 CALLE JULIO VALDELOMAR ESQUINA CALLE ANTÓN MONTORO 600\n", 274 | "Coordenadas: [37.8870909, -4.7672471]:\n", 275 | "13 AVENIDA DE AMÉRICA 5 100\n", 276 | "Coordenadas: [37.8907273, -4.7819829]:\n", 277 | "14 CALLE RONDA DE MARRUBIAL ESQUINA AGRUPACIÓN DE CÓRDOBA 600\n", 278 | "Coordenadas: [37.8933605, -4.7689894]:\n", 279 | "15 CABALLERIZAS REALES 300\n", 280 | "Coordenadas: [37.8766372, -4.783135]:\n", 281 | "16 POLIGONO INDUSTRIAL LAS QUEMADAS 200\n", 282 | "Coordenadas: [37.90303180000001, -4.7244521]:\n", 283 | "17 AVENIDA DE LAS OLLERÍAS 200\n", 284 | "Coordenadas: [37.892047, -4.773498]:\n", 285 | "18 CALLE MARÍA CRISTINA 4 100\n", 286 | "Coordenadas: [37.8850085, -4.7771383]:\n", 287 | "19 CALLE PINTOR MARIANO BELMONTE 5 100\n", 288 | "Coordenadas: [37.8927635, -4.7853749]:\n", 289 | "20 CALLE CERRO 3 100\n", 290 | "Coordenadas: [37.8861559, -4.767593499999999]:\n" 291 | ] 292 | } 293 | ], 294 | "source": [ 295 | "with open('csv_in.csv', encoding=\"utf8\") as csv_file:\n", 296 | " csv_data = csv.reader(csv_file, delimiter=',', quotechar='\\'')\n", 297 | " for row in csv_data:\n", 298 | " print(row[0], row[1], row[2])\n", 299 | " geodir = geocoder.google('{}, Córdoba, Andalucía, Spain'.format(row[1]))\n", 300 | " print('Coordenadas: {}:'.format(geodir.latlng))\n" 301 | ] 302 | }, 303 | { 304 | "cell_type": "markdown", 305 | "metadata": {}, 306 | "source": [ 307 | "Para terminar y ahorraremos un paso en el trabajo SIG posterior vamos a crear un archivo de tipo **geojson** (geo_results.geojson) con los resultados para lo cual necesitaremos usar la librería JSON. Creamos la estructura del archivo geográfico y vamos añadiendo la información de las coordenadas y los datos auxiliarea (id y tipo de expediente). \n", 308 | "\n", 309 | "Para los registros no localizados también vamos generar un informe que los almacene (report.txt).\n", 310 | "\n", 311 | "El código final sería el siguiente." 312 | ] 313 | }, 314 | { 315 | "cell_type": "code", 316 | "execution_count": 11, 317 | "metadata": {}, 318 | "outputs": [ 319 | { 320 | "name": "stdout", 321 | "output_type": "stream", 322 | "text": [ 323 | "1,CALLE RONQUILLO BRICEÑO 10,100,-4.7696885,37.881442\n", 324 | "2,CALLEJA DEL POSADERO 21,100,-4.7717183,37.8813662\n", 325 | "3,AVENIDA DEL MEDITERRÁNEO Y CALLE CANTÁBRICO,200,-4.8016214,37.8932353\n", 326 | "4,AVENIDA DE LIBIA,200,0,0\n", 327 | "5,JARDINES DE LA AGRICULTURA,300,-4.7856429,37.8876884\n", 328 | "6,PLAN PARCIAL O7 PARCELA 12 B,400,-4.7793835,37.8881751\n", 329 | "7,IGLESIA DE LA TRINIDAD,300,-4.7832253,37.8825864\n", 330 | "8,CALLE DON LOPE DE LOS RÍOS 24,100,-4.7769355,37.8980935\n", 331 | "9,CALLE FUENTE DE LOS PICADORES 4,300,-4.785800399999999,37.8959443\n", 332 | "10,CALLE JOSE MARÍA VALDENEBRO 35 Y PREVISIÓN 24,500,-4.7916745,37.8792955\n", 333 | "11,CALLE MORISCOS 28,100,-4.773073999999999,37.8905922\n", 334 | "12,CALLE JULIO VALDELOMAR ESQUINA CALLE ANTÓN MONTORO,600,-4.7672471,37.8870909\n", 335 | "13,AVENIDA DE AMÉRICA 5,100,-4.7819829,37.8907273\n", 336 | "14,CALLE RONDA DE MARRUBIAL ESQUINA AGRUPACIÓN DE CÓRDOBA,600,-4.7689894,37.8933605\n", 337 | "15,CABALLERIZAS REALES,300,0,0\n", 338 | "16,POLIGONO INDUSTRIAL LAS QUEMADAS,200,-4.7235637,37.9021637\n", 339 | "17,AVENIDA DE LAS OLLERÍAS,200,-4.773498,37.892047\n", 340 | "18,CALLE MARÍA CRISTINA 4,100,-4.7771383,37.8850085\n", 341 | "19,CALLE PINTOR MARIANO BELMONTE 5,100,-4.7853749,37.8927635\n", 342 | "20,CALLE CERRO 3,100,-4.767593499999999,37.8861559\n", 343 | "Number of matches 18/20\n" 344 | ] 345 | } 346 | ], 347 | "source": [ 348 | "import csv\n", 349 | "import json\n", 350 | "\n", 351 | "import geocoder\n", 352 | "\n", 353 | "geojson = {\n", 354 | " 'type': 'FeatureCollection',\n", 355 | " 'features': []\n", 356 | "}\n", 357 | "report_noloc = ''\n", 358 | "results = 0\n", 359 | "total = 0\n", 360 | "\n", 361 | "with open('csv_in.csv', encoding=\"utf8\") as csv_file:\n", 362 | " csv_data = csv.reader(csv_file, delimiter=',', quotechar='\\'')\n", 363 | " next(csv_data) # skip header\n", 364 | "\n", 365 | " for row in csv_data:\n", 366 | " geodir = geocoder.google('{}, Córdoba, Andalucía, España'.format(row[1]))\n", 367 | " total += 1\n", 368 | " if geodir:\n", 369 | " print('{},{},{},{},{}'.format(\n", 370 | " int(row[0]), row[1], row[2], geodir.latlng[1], geodir.latlng[0]))\n", 371 | " geojson['features'].append({\n", 372 | " 'type': 'Feature',\n", 373 | " 'geometry': {\n", 374 | " 'type': 'Point',\n", 375 | " 'coordinates': [geodir.latlng[1], geodir.latlng[0]],\n", 376 | " },\n", 377 | " \"properties\": {\n", 378 | " \"id\": row[0],\n", 379 | " \"direccion\": row[1],\n", 380 | " \"tipo\": row[2],\n", 381 | " }\n", 382 | " })\n", 383 | " results += 1\n", 384 | " else:\n", 385 | " print('{},{},{},0,0'.format(int(row[0]), row[1], row[2]))\n", 386 | " report_noloc += '{},{},{}\\n'.format(int(row[0]), row[1], row[2])\n", 387 | "\n", 388 | " print('Number of matches {}/{}'.format(results, total))\n", 389 | "\n", 390 | "with open('geo_results.geojson', 'w') as geofile:\n", 391 | " geofile.write(json.dumps(geojson, indent=2))\n", 392 | "\n", 393 | "with open('report.txt', 'w') as report_file:\n", 394 | " report_file.write('Number of matches {}/{}\\n\\n'.format(results, total))\n", 395 | " report_file.write(report_noloc)" 396 | ] 397 | }, 398 | { 399 | "cell_type": "markdown", 400 | "metadata": {}, 401 | "source": [ 402 | "Podemos ver el resultado en la aplicación [geojson.io](http://geojson.io/)\n", 403 | "\n", 404 | "![geojsonio.PNG](geojsonio.PNG)" 405 | ] 406 | }, 407 | { 408 | "cell_type": "code", 409 | "execution_count": null, 410 | "metadata": {}, 411 | "outputs": [], 412 | "source": [] 413 | } 414 | ], 415 | "metadata": { 416 | "kernelspec": { 417 | "display_name": "Python 3", 418 | "language": "python", 419 | "name": "python3" 420 | }, 421 | "language_info": { 422 | "codemirror_mode": { 423 | "name": "ipython", 424 | "version": 3 425 | }, 426 | "file_extension": ".py", 427 | "mimetype": "text/x-python", 428 | "name": "python", 429 | "nbconvert_exporter": "python", 430 | "pygments_lexer": "ipython3", 431 | "version": "3.6.5" 432 | } 433 | }, 434 | "nbformat": 4, 435 | "nbformat_minor": 2 436 | } 437 | -------------------------------------------------------------------------------- /geocoder/geojsonio.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sigdeletras/geopython/2b865a71752e294488288bb8c850f17e168ebd53/geocoder/geojsonio.PNG -------------------------------------------------------------------------------- /pythoncordoba2019/GEOPYTHON.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sigdeletras/geopython/2b865a71752e294488288bb8c850f17e168ebd53/pythoncordoba2019/GEOPYTHON.pdf -------------------------------------------------------------------------------- /pythoncordoba2019/cordobapnoa4326.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sigdeletras/geopython/2b865a71752e294488288bb8c850f17e168ebd53/pythoncordoba2019/cordobapnoa4326.tif -------------------------------------------------------------------------------- /pythoncordoba2019/fondo.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sigdeletras/geopython/2b865a71752e294488288bb8c850f17e168ebd53/pythoncordoba2019/fondo.xcf -------------------------------------------------------------------------------- /pythoncordoba2019/geodjango.py: -------------------------------------------------------------------------------- 1 | 2 | 3 | from django.contrib.gis.db import models 4 | 5 | class Hotel(models.Model): 6 | nombre = models.CharField(max_length=100) 7 | localizacion = models.PointField() 8 | direccion = models.CharField(max_length=100) 9 | ciudad = models.CharField(max_length=50) 10 | 11 | 12 | from django.contrib.gis.admin import OSMGeoAdmin 13 | from .models import Hotel 14 | 15 | @admin.register(Hotel) 16 | class HotelAdmin(OSMGeoAdmin): 17 | list_display = ('nombre', 'localizacion') -------------------------------------------------------------------------------- /pythoncordoba2019/ieca_coord.csv: -------------------------------------------------------------------------------- 1 | municipio,codine,lat,lon,altitud 2 | Abla,4001,37.141333,-2.779552,843.47998047 3 | Abrucena,4002,37.133339,-2.7966,972.42999268 4 | Adra,4003,36.749285,-3.014555,4.13999987 5 | Albánchez,4004,37.287141,-2.181433,469.22000122 6 | Alboloduy,4005,37.032782,-2.621786,383.23999023 7 | Albox,4006,37.389533,-2.147988,424.22000122 8 | Alcolea,4007,36.974476,-2.960926,750.25 9 | Alcóntar,4008,37.335927,-2.597479,962.42999268 10 | Alcudia de Monteagud,4009,37.235984,-2.266242,1011.7199707 11 | Alhabia,4010,36.989457,-2.587275,287.86999512 12 | Alhama de Almería,4011,36.957265,-2.570083,517.5300293 13 | Alicún,4012,36.966198,-2.602299,420.98001099 14 | Almería (capital),4013,36.839804,-2.467585,20.46999931 15 | Almócita,4014,37.002779,-2.790385,832.66998291 16 | Alsodux,4015,37.001569,-2.594425,316.82998657 17 | Antas,4016,37.245247,-1.917422,104.95999908 18 | Arboleas,4017,37.350331,-2.074705,280.57000732 19 | Armuña de Almanzora,4018,37.350105,-2.411407,629.22998047 20 | Bacares,4019,37.260723,-2.453265,1190.16003418 21 | Balanegra,4904,36.748418,-2.906291,21.61000061 22 | Bayárcal,4020,37.029829,-2.99507,1254.93994141 23 | Bayarque,4021,37.330035,-2.436237,804.90997314 24 | Bédar,4022,37.18941,-1.98197,388.8500061 25 | Beires,4023,37.012205,-2.791411,929.90997314 26 | Benahadux,4024,36.92577,-2.455477,114.41999817 27 | Benitagla,4026,37.231074,-2.23845,944.53997803 28 | Benizalón,4027,37.211707,-2.241565,926.67999268 29 | Bentarique,4028,36.98654,-2.61936,326.32000732 30 | Berja,4029,36.846306,-2.949297,334.79998779 31 | Canjáyar,4030,37.009703,-2.739648,608.80999756 32 | Cantoria,4031,37.352646,-2.193468,381.86999512 33 | Carboneras,4032,36.997166,-1.894428,11.42000008 34 | Castro de Filabres,4033,37.185199,-2.439819,950.71002197 35 | Chercos,4036,37.266342,-2.257902,793.28997803 36 | Chirivel,4037,37.595495,-2.26548,1036.69995117 37 | Cóbdar,4034,37.262086,-2.210081,605.59997559 38 | Cuevas del Almanzora,4035,37.29711,-1.881448,95.48999786 39 | Dalías,4038,36.821009,-2.870127,411.05999756 40 | Ejido (El),4902,36.774866,-2.812757,72.16999817 41 | Enix,4041,36.877048,-2.60178,710.88000488 42 | Felix,4043,36.868959,-2.657532,810.90002441 43 | Fines,4044,37.358753,-2.262863,446.58999634 44 | Fiñana,4045,37.171185,-2.840946,949.15997314 45 | Fondón,4046,36.979731,-2.858784,845.02001953 46 | Gádor,4047,36.954024,-2.493079,165.57000732 47 | Gallardos (Los),4048,37.169521,-1.940058,115.91000366 48 | Garrucha,4049,37.179377,-1.821953,7.15999985 49 | Gérgal,4050,37.120625,-2.53806,744.35998535 50 | Huécija,4051,36.968696,-2.610287,402.5 51 | Huércal de Almería,4052,36.884734,-2.436113,72.06999969 52 | Huércal-Overa,4053,37.390506,-1.943777,279.61999512 53 | Illar,4054,36.985224,-2.639158,423.32998657 54 | Instinción,4055,36.993251,-2.659915,429.89001465 55 | Laroya,4056,37.296379,-2.331903,872.02001953 56 | Láujar de Andarax,4057,36.994,-2.889521,906.15997314 57 | Líjar,4058,37.295227,-2.220068,590.97998047 58 | Lubrín,4059,37.215943,-2.067111,516.46002197 59 | Lucainena de las Torres,4060,37.040185,-2.200936,549.14001465 60 | Lúcar,4061,37.4011,-2.42424,911.75 61 | Macael,4062,37.332129,-2.304833,538.04998779 62 | María,4063,37.711233,-2.165775,1193.7800293 63 | Mojácar,4064,37.139911,-1.851279,158.33999634 64 | Mojonera (La),4903,36.752626,-2.688378,39.59000015 65 | Nacimiento,4065,37.105229,-2.647996,595.05999756 66 | Níjar,4066,36.965668,-2.206326,353.02999878 67 | Ohanes,4067,37.037354,-2.745141,952.26000977 68 | Olula de Castro,4068,37.174722,-2.474033,989.11999512 69 | Olula del Río,4069,37.352162,-2.298208,490.1499939 70 | Oria,4070,37.485139,-2.295063,1037.47998047 71 | Padules,4071,36.998427,-2.772876,738.71002197 72 | Partaloa,4072,37.405958,-2.226582,548.36999512 73 | Paterna del Río,4073,37.021575,-2.952771,1197.20996094 74 | Pechina,4074,36.916373,-2.440549,106.29000092 75 | Pulpí,4075,37.409687,-1.746669,191.16000366 76 | Purchena,4076,37.348487,-2.360905,532.32000732 77 | Rágol,4077,36.995486,-2.681,402.29998779 78 | Rioja,4078,36.943907,-2.462431,130.3999939 79 | Roquetas de Mar,4079,36.764468,-2.615305,7.44999981 80 | Santa Cruz de Marchena,4080,37.016678,-2.603248,328.85998535 81 | Santa Fe de Mondújar,4081,36.974847,-2.530658,216.02999878 82 | Senés,4082,37.204588,-2.347449,1013.09997559 83 | Serón,4083,37.343639,-2.508749,800.28997803 84 | Sierro,4084,37.32099,-2.399444,751.90997314 85 | Somontín,4085,37.392458,-2.388426,827.98999023 86 | Sorbas,4086,37.097995,-2.124218,402.30999756 87 | Suflí,4087,37.338496,-2.389802,633.08001709 88 | Tabernas,4088,37.049633,-2.392651,403.77999878 89 | Taberno,4089,37.468207,-2.078566,700.47998047 90 | Tahal,4090,37.227697,-2.284702,1011.67999268 91 | Terque,4091,36.983861,-2.597189,277.83999634 92 | Tíjola,4092,37.345251,-2.439779,680.95001221 93 | Tres Villas (Las),4901,37.134358,-2.712001,686.23999023 94 | Turre,4093,37.152403,-1.894763,48.06999969 95 | Turrillas,4094,37.029838,-2.265112,838.67999268 96 | Uleila del Campo,4095,37.185045,-2.203628,619.21002197 97 | Urrácal,4096,37.397203,-2.365522,734.70001221 98 | Velefique,4097,37.193416,-2.402742,903.10998535 99 | Vélez-Blanco,4098,37.690814,-2.095522,1069.4699707 100 | Vélez-Rubio,4099,37.647854,-2.074209,833.80999756 101 | Vera,4100,37.246889,-1.868213,96.16000366 102 | Viator,4101,36.889754,-2.426383,69.87999725 103 | Vícar,4102,36.800205,-2.646388,105.84999847 104 | Zurgena,4103,37.342604,-2.039624,241.02000427 105 | Alcalá de los Gazules,11001,36.461918,-5.721263,167.00999451 106 | Alcalá del Valle,11002,36.905025,-5.173264,618.86999512 107 | Algar,11003,36.655279,-5.657568,205.30000305 108 | Algeciras,11004,36.131684,-5.447767,18.11000061 109 | Algodonales,11005,36.88073,-5.404604,365.58999634 110 | Arcos de la Frontera,11006,36.747979,-5.806655,183.05000305 111 | Barbate,11007,36.192893,-5.918854,10 112 | Barrios (Los),11008,36.185533,-5.493038,21.89999962 113 | Benalup-Casas Viejas,11901,36.346441,-5.812127,106.75 114 | Benaocaz,11009,36.699493,-5.421256,792.98999023 115 | Bornos,11010,36.815414,-5.744811,160.33000183 116 | Bosque (El),11011,36.759293,-5.505291,285.05999756 117 | Cádiz (capital),11012,36.529539,-6.292913,2.8599999 118 | Castellar de la Frontera,11013,36.286044,-5.420114,27.09000015 119 | Chiclana de la Frontera,11015,36.419699,-6.149286,5.51000023 120 | Chipiona,11016,36.738002,-6.427671,5.82999992 121 | Conil de la Frontera,11014,36.277038,-6.088055,30.07999992 122 | Espera,11017,36.872679,-5.807175,144.80999756 123 | Gastor (El),11018,36.854959,-5.323763,608.61999512 124 | Grazalema,11019,36.758926,-5.366331,825.30999756 125 | Jerez de la Frontera,11020,36.682877,-6.138431,44.58000183 126 | Jimena de la Frontera,11021,36.434101,-5.453467,145.05000305 127 | Línea de la Concepción (La),11022,36.160504,-5.351808,3.01999998 128 | Medina-Sidonia,11023,36.456057,-5.927587,261.61999512 129 | Olvera,11024,36.935369,-5.267563,603.13000488 130 | Paterna de Rivera,11025,36.523191,-5.865788,123.01000214 131 | Prado del Rey,11026,36.787564,-5.556617,431.13000488 132 | Puerto de Santa María (El),11027,36.594655,-6.22782,3.97000003 133 | Puerto Real,11028,36.528874,-6.192335,6.48000002 134 | Puerto Serrano,11029,36.923848,-5.544358,162.58000183 135 | Rota,11030,36.61842,-6.358085,9.22999954 136 | San Fernando,11031,36.464911,-6.198771,19.28000069 137 | San José del Valle,11902,36.605476,-5.79884,140.36999512 138 | San Roque,11033,36.209636,-5.383813,103.58000183 139 | Sanlúcar de Barrameda,11032,36.775012,-6.354649,27.60000038 140 | Setenil de las Bodegas,11034,36.863958,-5.181404,560.27001953 141 | Tarifa,11035,36.011581,-5.602094,8.38000011 142 | Torre Alháquime,11036,36.915884,-5.234348,482.38000488 143 | Trebujena,11037,36.869573,-6.176709,70.58000183 144 | Ubrique,11038,36.677459,-5.443146,334.98999023 145 | Vejer de la Frontera,11039,36.253361,-5.962855,167.30000305 146 | Villaluenga del Rosario,11040,36.696409,-5.38633,867.48999023 147 | Villamartín,11041,36.861156,-5.641523,168.36999512 148 | Zahara,11042,36.840627,-5.390829,509.42001343 149 | Adamuz,14001,38.027443,-4.524987,243.72999573 150 | Aguilar de la Frontera,14002,37.515012,-4.656169,372.88000488 151 | Alcaracejos,14003,38.388257,-4.967698,607.57000732 152 | Almedinilla,14004,37.439002,-4.090714,628.35998535 153 | Almodóvar del Río,14005,37.809532,-5.019826,110.76000214 154 | Añora,14006,38.412229,-4.897914,625.07000732 155 | Baena,14007,37.614388,-4.326432,427.88000488 156 | Belalcázar,14008,38.578395,-5.167082,491.23001099 157 | Belmez,14009,38.272403,-5.208721,527.59002686 158 | Benamejí,14010,37.267541,-4.540447,455.48999023 159 | Blázquez (Los),14011,38.406687,-5.438429,595.10998535 160 | Bujalance,14012,37.897009,-4.382645,346.35998535 161 | Cabra,14013,37.473344,-4.442479,450.79998779 162 | Cañete de las Torres,14014,37.867528,-4.318804,321.86999512 163 | Carcabuey,14015,37.443627,-4.273624,624.04998779 164 | Cardeña,14016,38.270286,-4.323764,747.60998535 165 | Carlota (La),14017,37.673578,-4.932812,213.53999329 166 | Carpio (El),14018,37.940665,-4.498684,178.19999695 167 | Castro del Río,14019,37.688753,-4.481677,237.46000671 168 | Conquista,14020,38.408172,-4.501055,597.02001953 169 | Córdoba (capital),14021,37.884984,-4.776235,111.01999664 170 | Doña Mencía,14022,37.55447,-4.357639,590.26000977 171 | Dos Torres,14023,38.445221,-4.894762,586.44000244 172 | Encinas Reales,14024,37.272804,-4.487471,444.04998779 173 | Espejo,14025,37.682438,-4.55225,389.69000244 174 | Espiel,14026,38.188604,-5.018259,544.90997314 175 | Fernán-Núñez,14027,37.671937,-4.724009,313.8500061 176 | Fuente la Lancha,14028,38.422586,-5.048896,558.21002197 177 | Fuente Obejuna,14029,38.267027,-5.419849,624.77001953 178 | Fuente Palmera,14030,37.703505,-5.103925,157.63000488 179 | Fuente-Tójar,14031,37.5093,-4.145245,606.88000488 180 | Granjuela (La),14032,38.371032,-5.351398,553.07000732 181 | Guadalcázar,14033,37.757421,-4.944792,160.32000732 182 | Guijo (El),14034,38.496128,-4.782865,565.84002686 183 | Hinojosa del Duque,14035,38.499452,-5.152051,545.23999023 184 | Hornachuelos,14036,37.830749,-5.243372,148.91999817 185 | Iznájar,14037,37.257258,-4.308411,517.76000977 186 | Lucena,14038,37.408854,-4.485644,485.72000122 187 | Luque,14039,37.559418,-4.276476,662.40002441 188 | Montalbán de Córdoba,14040,37.582839,-4.749802,279.23001099 189 | Montemayor,14041,37.648243,-4.699232,388.01000977 190 | Montilla,14042,37.586221,-4.640479,373.77999878 191 | Montoro,14043,38.026218,-4.381888,195.13999939 192 | Monturque,14044,37.473342,-4.581772,376.33999634 193 | Moriles,14045,37.435352,-4.608857,376.38000488 194 | Nueva Carteya,14046,37.586209,-4.467187,431.80999756 195 | Obejo,14047,38.134277,-4.800102,703.03997803 196 | Palenciana,14048,37.249335,-4.583814,392.95001221 197 | Palma del Río,14049,37.701711,-5.283386,55.72999954 198 | Pedro Abad,14050,37.967199,-4.457219,161.5 199 | Pedroche,14051,38.428729,-4.763228,620.92999268 200 | Peñarroya-Pueblonuevo,14052,38.299784,-5.268556,534.59002686 201 | Posadas,14053,37.800449,-5.107048,86.41999817 202 | Pozoblanco,14054,38.377396,-4.848388,643.4699707 203 | Priego de Córdoba,14055,37.438917,-4.194907,650.70001221 204 | Puente Genil,14056,37.390452,-4.77043,215.72999573 205 | Rambla (La),14057,37.607998,-4.742104,327.29000854 206 | Rute,14058,37.325899,-4.37129,632.5300293 207 | San Sebastián de los Ballesteros,14059,37.654722,-4.824905,311.79998779 208 | Santa Eufemia,14061,38.595406,-4.902757,543.79998779 209 | Santaella,14060,37.566401,-4.845447,238.22999573 210 | Torrecampo,14062,38.475119,-4.679275,573.67999268 211 | Valenzuela,14063,37.775477,-4.219725,342.10998535 212 | Valsequillo,14064,38.40498,-5.351635,577.86999512 213 | Victoria (La),14065,37.68106,-4.852287,263.89001465 214 | Villa del Río,14066,37.982293,-4.290364,165.69000244 215 | Villafranca de Córdoba,14067,37.961971,-4.546,144.13000488 216 | Villaharta,14068,38.139569,-4.901534,571.48999023 217 | Villanueva de Córdoba,14069,38.322916,-4.628366,723.91998291 218 | Villanueva del Duque,14070,38.392914,-5.000235,581.35998535 219 | Villanueva del Rey,14071,38.199697,-5.151431,551.40002441 220 | Villaralto,14072,38.455682,-4.984342,581.03997803 221 | Villaviciosa de Córdoba,14073,38.076236,-5.014256,696.75 222 | Viso (El),14074,38.48269,-4.955481,574.63000488 223 | Zuheros,14075,37.54354,-4.316572,658.96002197 224 | Agrón,18001,37.030104,-3.829328,1059.98999023 225 | Alamedilla,18002,37.581725,-3.244387,864.35998535 226 | Albolote,18003,37.230548,-3.657339,649.47998047 227 | Albondón,18004,36.827281,-3.211111,919.77001953 228 | Albuñán,18005,37.227319,-3.13335,1115.43005371 229 | Albuñol,18006,36.791937,-3.205847,243.91999817 230 | Albuñuelas,18007,36.928082,-3.631948,731.67999268 231 | Aldeire,18010,37.162661,-3.072466,1267.11999512 232 | Alfacar,18011,37.23668,-3.570867,915.69000244 233 | Algarinejo,18012,37.324969,-4.158785,596.30999756 234 | Alhama de Granada,18013,37.002333,-3.988115,878.2199707 235 | Alhendín,18014,37.107916,-3.645331,739.13000488 236 | Alicún de Ortega,18015,37.607501,-3.137822,721.71002197 237 | Almegíjar,18016,36.902507,-3.299573,805.55999756 238 | Almuñécar,18017,36.733935,-3.691159,14.27000046 239 | Alpujarra de la Sierra,18904,36.980846,-3.155549,1192.65002441 240 | Alquife,18018,37.178857,-3.115089,1191.31005859 241 | Arenas del Rey,18020,36.957938,-3.894029,866.2199707 242 | Armilla,18021,37.142924,-3.627869,670.97998047 243 | Atarfe,18022,37.222655,-3.686485,600.01000977 244 | Baza,18023,37.49064,-2.774403,843.7199707 245 | Beas de Granada,18024,37.215584,-3.481557,1077.06005859 246 | Beas de Guadix,18025,37.27948,-3.205941,950.54998779 247 | Benalúa,18027,37.350499,-3.166533,863.48999023 248 | Benalúa de las Villas,18028,37.427462,-3.683348,844.78997803 249 | Benamaurel,18029,37.608813,-2.698723,718.52001953 250 | Bérchules,18030,36.976792,-3.190406,1331.20996094 251 | Bubión,18032,36.94882,-3.356736,1300.04003906 252 | Busquístar,18033,36.937765,-3.294789,1153.88000488 253 | Cacín,18034,37.059881,-3.917068,700.51000977 254 | Cádiar,18035,36.946403,-3.180378,925.22998047 255 | Cájar,18036,37.134215,-3.570766,731.47998047 256 | Calahorra (La),18114,37.181375,-3.064416,1193.72998047 257 | Calicasas,18037,37.273452,-3.618514,758.39001465 258 | Campotéjar,18038,37.481485,-3.616453,925.95001221 259 | Caniles,18039,37.436252,-2.722161,903.89001465 260 | Cáñar,18040,36.926103,-3.427846,1022.82000732 261 | Capileira,18042,36.96132,-3.35851,1457.26000977 262 | Carataunas,18043,36.922938,-3.40807,763.65997314 263 | Cástaras,18044,36.931439,-3.25369,1000.58001709 264 | Castilléjar,18045,37.714635,-2.643025,770.91998291 265 | Castril,18046,37.795671,-2.77872,890.46002197 266 | Cenes de la Vega,18047,37.159494,-3.538663,736.55999756 267 | Chauchina,18059,37.201197,-3.772831,550.70001221 268 | Chimeneas,18061,37.131158,-3.823279,696.47998047 269 | Churriana de la Vega,18062,37.147688,-3.645997,656.35998535 270 | Cijuela,18048,37.19975,-3.810344,540.5300293 271 | Cogollos de Guadix,18049,37.224425,-3.161329,1138.06005859 272 | Cogollos de la Vega,18050,37.274761,-3.574609,998.35998535 273 | Colomera,18051,37.371653,-3.714027,841.75 274 | Cortes de Baza,18053,37.655027,-2.769849,705.30999756 275 | Cortes y Graena,18054,37.303739,-3.218759,967.52001953 276 | Cuevas del Campo,18912,37.608653,-2.930687,830.88000488 277 | Cúllar,18056,37.583537,-2.576013,886.33001709 278 | Cúllar Vega,18057,37.153332,-3.670337,641.40997314 279 | Darro,18063,37.349226,-3.292417,1114.02001953 280 | Dehesas de Guadix,18064,37.58872,-3.102209,679.11999512 281 | Dehesas Viejas,18065,37.47259,-3.551874,1014.2199707 282 | Deifontes,18066,37.325209,-3.594458,737.5300293 283 | Diezma,18067,37.321036,-3.331604,1225.90002441 284 | Dílar,18068,37.075173,-3.601891,876.63000488 285 | Dólar,18069,37.180004,-2.989343,1199.25 286 | Domingo Pérez de Granada,18915,37.497209,-3.508484,973.90997314 287 | Dúdar,18070,37.185748,-3.483683,805.72998047 288 | Dúrcal,18071,36.987846,-3.565899,786.59002686 289 | Escúzar,18072,37.061816,-3.761289,878.54998779 290 | Ferreira,18074,37.172297,-3.036104,1273.04003906 291 | Fonelas,18076,37.413556,-3.173364,789.25 292 | Freila,18078,37.528715,-2.906763,823.55999756 293 | Fuente Vaqueros,18079,37.219592,-3.78308,544.86999512 294 | Gabias (Las),18905,37.136481,-3.669222,678.08001709 295 | Galera,18082,37.742936,-2.551189,834.27001953 296 | Gobernador,18083,37.477373,-3.320578,1039.98999023 297 | Gójar,18084,37.104452,-3.605663,796.64001465 298 | Gor,18085,37.36958,-2.969437,1238.47998047 299 | Gorafe,18086,37.479484,-3.042928,849.01000977 300 | Granada (capital),18087,37.17433,-3.598653,679.5300293 301 | Guadahortuna,18088,37.556468,-3.40077,966.40002441 302 | Guadix,18089,37.300458,-3.134481,909.78997803 303 | Guajares (Los),18906,36.841566,-3.584333,323.25 304 | Gualchos,18093,36.722559,-3.35931,5.05000019 305 | Güejar Sierra,18094,37.159859,-3.438513,1086.32995605 306 | Güevéjar,18095,37.256856,-3.597672,876.95001221 307 | Huélago,18096,37.419788,-3.260167,910.45001221 308 | Huéneja,18097,37.176897,-2.948302,1148.23999023 309 | Huéscar,18098,37.809532,-2.539589,951.59997559 310 | Huétor de Santillán,18099,37.218314,-3.517341,1025.34997559 311 | Huétor Tájar,18100,37.194383,-4.047191,484.36999512 312 | Huétor Vega,18101,37.145463,-3.569772,751.28997803 313 | Illora,18102,37.288585,-3.879583,775.64001465 314 | Itrabo,18103,36.799578,-3.638671,388.25 315 | Iznalloz,18105,37.392578,-3.529837,803.05999756 316 | Jayena,18107,36.948919,-3.822867,914.14001465 317 | Jerez del Marquesado,18108,37.183902,-3.159787,1236.61999512 318 | Jete,18109,36.797355,-3.667876,139.49000549 319 | Jun,18111,37.220706,-3.594422,764.20001221 320 | Juviles,18112,36.948215,-3.225747,1258.13000488 321 | Láchar,18115,37.195029,-3.834029,556.57000732 322 | Lanjarón,18116,36.918093,-3.480523,656.33001709 323 | Lanteira,18117,37.168888,-3.138501,1273.10998535 324 | Lecrín,18119,36.947994,-3.550565,708.52001953 325 | Lentegí,18120,36.834357,-3.6746,631.84997559 326 | Lobras,18121,36.92914,-3.21245,918.16998291 327 | Loja,18122,37.166604,-4.150049,486.04000854 328 | Lugros,18123,37.229845,-3.240861,1247.59997559 329 | Lújar,18124,36.786705,-3.404706,511.20001221 330 | Malahá (La),18126,37.101558,-3.722587,710.44000244 331 | Maracena,18127,37.207232,-3.63439,657.58001709 332 | Marchal,18128,37.296356,-3.202383,937.47998047 333 | Moclín,18132,37.340044,-3.785836,1004.57000732 334 | Molvízar,18133,36.786816,-3.607438,234.5 335 | Monachil,18134,37.131624,-3.539292,806 336 | Montefrío,18135,37.320884,-4.01132,838.19000244 337 | Montejícar,18136,37.57186,-3.503816,1131.68994141 338 | Montillana,18137,37.500051,-3.671881,1015.76000977 339 | Moraleda de Zafayona,18138,37.169735,-3.965105,622.82000732 340 | Morelábor,18909,37.439236,-3.330814,1083.56994629 341 | Motril,18140,36.745091,-3.520302,37.27999878 342 | Murtas,18141,36.887385,-3.108975,1116.13000488 343 | Nevada,18903,37.008294,-3.014593,1010.32000732 344 | Nigüelas,18143,36.977406,-3.539144,933.67999268 345 | Nívar,18144,37.257919,-3.577942,1040.42004395 346 | Ogíjares,18145,37.120102,-3.606701,720.75 347 | Orce,18146,37.721424,-2.479266,926.5 348 | Órgiva,18147,36.902229,-3.423895,460.17999268 349 | Otívar,18148,36.81495,-3.681488,265.51000977 350 | Otura,18149,37.094342,-3.635014,779.09997559 351 | Padul,18150,37.024364,-3.626671,754.71002197 352 | Pampaneira,18151,36.940047,-3.361398,1056.27001953 353 | Pedro Martínez,18152,37.501711,-3.230609,1035.17004395 354 | Peligros,18153,37.230841,-3.628789,689.27001953 355 | Peza (La),18154,37.27562,-3.284715,996.35998535 356 | Pinar (El),18910,36.912791,-3.553768,686.64001465 357 | Pinos Genil,18157,37.163243,-3.502917,773.96002197 358 | Pinos Puente,18158,37.251665,-3.749438,577.55999756 359 | Píñar,18159,37.442584,-3.44061,914.33001709 360 | Polícar,18161,37.257355,-3.232839,1153.82995605 361 | Polopos,18162,36.746341,-3.278661,2.05999994 362 | Pórtugos,18163,36.942339,-3.310296,1320.38000488 363 | Puebla de Don Fadrique,18164,37.95806,-2.434914,1159.26000977 364 | Pulianas,18165,37.222638,-3.608192,728.78997803 365 | Purullena,18167,37.31755,-3.190846,912.32000732 366 | Quéntar,18168,37.192063,-3.468211,847.83001709 367 | Rubite,18170,36.808847,-3.347964,794.03997803 368 | Salar,18171,37.152435,-4.066863,537.45001221 369 | Salobreña,18173,36.743134,-3.588271,67.68000031 370 | Santa Cruz del Comercio,18174,37.060523,-3.976348,741.54998779 371 | Santa Fe,18175,37.18951,-3.718098,580.79998779 372 | Soportújar,18176,36.928435,-3.40495,926.90002441 373 | Sorvilán,18177,36.79437,-3.267336,757.86999512 374 | Taha (La),18901,36.936019,-3.325925,1251.02001953 375 | Torre-Cardela,18178,37.504611,-3.355839,1215.35998535 376 | Torvizcón,18179,36.877897,-3.298511,667.35998535 377 | Trevélez,18180,37.002515,-3.266432,1543.15002441 378 | Turón,18181,36.863656,-3.057704,698.91998291 379 | Ugíjar,18182,36.960986,-3.05454,547.40997314 380 | Valderrubio,18914,37.236024,-3.817556,545.09002686 381 | Valle (El),18902,36.928986,-3.581625,538.40997314 382 | Valle del Zalabí,18907,37.262526,-3.100058,1001.53997803 383 | Válor,18183,36.996329,-3.080909,908.98999023 384 | Vegas del Genil,18911,37.171963,-3.665378,617.72998047 385 | Vélez de Benaudalla,18184,36.831965,-3.516017,174.66000366 386 | Ventas de Huelma,18185,37.066884,-3.821149,864.35998535 387 | Villamena,18908,36.99081,-3.589366,764.95001221 388 | Villanueva de las Torres,18187,37.556602,-3.090199,643.76000977 389 | Villanueva Mesía,18188,37.214202,-4.011366,494.70001221 390 | Víznar,18189,37.231138,-3.55388,1078.93994141 391 | Zafarraya,18192,36.973733,-4.141557,893.23999023 392 | Zagra,18913,37.253533,-4.168099,685 393 | Zubia (La),18193,37.120597,-3.584906,744.53997803 394 | Zújar,18194,37.541053,-2.84211,766.85998535 395 | Fornes,18077,36.95446,-3.855482,851.85998535 396 | Játar,18106,36.934147,-3.9094,973.47998047 397 | Alájar,21001,37.874717,-6.665922,577.20001221 398 | Aljaraque,21002,37.271086,-7.021507,30.75 399 | Almendro (El),21003,37.507055,-7.270293,231.13000488 400 | Almonaster la Real,21004,37.87181,-6.787712,574.54998779 401 | Almonte,21005,37.262293,-6.518126,74.37999725 402 | Alosno,21006,37.549245,-7.113934,179.32000732 403 | Aracena,21007,37.8921,-6.55961,673.05999756 404 | Aroche,21008,37.944256,-6.953943,411.51000977 405 | Arroyomolinos de León,21009,38.024684,-6.42384,594.70001221 406 | Ayamonte,21010,37.214251,-7.409304,2.93000007 407 | Beas,21011,37.426171,-6.792004,118.94000244 408 | Berrocal,21012,37.608989,-6.542644,297.01000977 409 | Bollullos Par del Condado,21013,37.335877,-6.535482,107.51000214 410 | Bonares,21014,37.321604,-6.683188,70 411 | Cabezas Rubias,21015,37.72564,-7.087043,219.61999512 412 | Cala,21016,37.971878,-6.315515,583.4699707 413 | Calañas,21017,37.654656,-6.878593,296.98999023 414 | Campillo (El),21018,37.69324,-6.629671,430.8500061 415 | Campofrío,21019,37.767421,-6.572638,516.51000977 416 | Cañaveral de León,21020,38.014444,-6.527546,540.90997314 417 | Cartaya,21021,37.282973,-7.155092,19.29000092 418 | Castaño del Robledo,21022,37.895087,-6.70367,743.03997803 419 | Cerro de Andévalo (El),21023,37.735233,-6.939448,299.07998657 420 | Chucena,21030,37.361813,-6.393668,144.58000183 421 | Corteconcepción,21024,37.895863,-6.506386,577.76000977 422 | Cortegana,21025,37.910201,-6.820645,672.84002686 423 | Cortelazor,21026,37.935812,-6.624681,621.32000732 424 | Cumbres de Enmedio,21027,38.072467,-6.693135,589.2199707 425 | Cumbres de San Bartolomé,21028,38.077346,-6.74326,578.73999023 426 | Cumbres Mayores,21029,38.06235,-6.646758,685.04998779 427 | Encinasola,21031,38.134898,-6.872594,427.29998779 428 | Escacena del Campo,21032,37.410155,-6.389107,169.75 429 | Fuenteheridos,21033,37.903759,-6.661149,703.07000732 430 | Galaroza,21034,37.926461,-6.712125,546.92999268 431 | Gibraleón,21035,37.374852,-6.970498,25.04000092 432 | Granada de Río-Tinto (La),21036,37.768417,-6.508061,432.70999146 433 | Granado (El),21037,37.52076,-7.416505,135 434 | Higuera de la Sierra,21038,37.838157,-6.447506,622.64001465 435 | Hinojales,21039,38.008693,-6.591407,610.95001221 436 | Hinojos,21040,37.292538,-6.376469,80.16000366 437 | Huelva (capital),21041,37.256739,-6.949734,9.72999954 438 | Isla Cristina,21042,37.199458,-7.325079,1.73000002 439 | Jabugo,21043,37.916798,-6.728944,652.72998047 440 | Lepe,21044,37.254189,-7.203326,18.39999962 441 | Linares de la Sierra,21045,37.879821,-6.620206,472.48001099 442 | Lucena del Puerto,21046,37.303974,-6.730062,82.48999786 443 | Manzanilla,21047,37.387962,-6.429294,159.13000488 444 | Marines (Los),21048,37.903016,-6.623085,717.34997559 445 | Minas de Riotinto,21049,37.693468,-6.591705,416.51000977 446 | Moguer,21050,37.274516,-6.838557,48.58000183 447 | Nava (La),21051,37.96364,-6.745434,418.47000122 448 | Nerva,21052,37.695109,-6.550837,329.58999634 449 | Niebla,21053,37.360291,-6.679246,38.58000183 450 | Palma del Condado (La),21054,37.388147,-6.552489,88.76999664 451 | Palos de la Frontera,21055,37.228504,-6.893729,20.26000023 452 | Paterna del Campo,21056,37.421371,-6.402011,176.46000671 453 | Paymogo,21057,37.740804,-7.346117,176.36000061 454 | Puebla de Guzmán,21058,37.612901,-7.247412,195.72000122 455 | Puerto Moral,21059,37.892861,-6.478227,522.30999756 456 | Punta Umbría,21060,37.18061,-6.958823,2.74000001 457 | Rociana del Condado,21061,37.30801,-6.598273,96.51999664 458 | Rosal de la Frontera,21062,37.967379,-7.220409,223.57000732 459 | San Bartolomé de la Torre,21063,37.446317,-7.106541,126.41000366 460 | San Juan del Puerto,21064,37.314234,-6.84066,5.5999999 461 | San Silvestre de Guzmán,21066,37.388418,-7.349871,151.58000183 462 | Sanlúcar de Guadiana,21065,37.473144,-7.46765,7.76999998 463 | Santa Ana la Real,21067,37.863988,-6.724827,637.45001221 464 | Santa Bárbara de Casa,21068,37.796726,-7.189253,308.6499939 465 | Santa Olalla del Cala,21069,37.90622,-6.229441,515.75 466 | Trigueros,21070,37.383492,-6.83489,75.83000183 467 | Valdelarco,21071,37.950666,-6.683443,621.98999023 468 | Valverde del Camino,21072,37.573391,-6.753386,274.01998901 469 | Villablanca,21073,37.303596,-7.341675,91.02999878 470 | Villalba del Alcor,21074,37.397587,-6.477064,156.77999878 471 | Villanueva de las Cruces,21075,37.627726,-7.024276,118.45999908 472 | Villanueva de los Castillejos,21076,37.500646,-7.272717,222.42999268 473 | Villarrasa,21077,37.390023,-6.606462,65.31999969 474 | Zalamea la Real,21078,37.679867,-6.660916,399.14001465 475 | Zufre,21079,37.834091,-6.338769,452.60998535 476 | Albanchez de Mágina,23001,37.791609,-3.468438,851.72998047 477 | Alcalá la Real,23002,37.463541,-3.925037,918.70001221 478 | Alcaudete,23003,37.591023,-4.086685,663.96002197 479 | Aldeaquemada,23004,38.411912,-3.371652,698.14001465 480 | Andújar,23005,38.036749,-4.05448,209.49000549 481 | Arjona,23006,37.936643,-4.055104,443.70001221 482 | Arjonilla,23007,37.973553,-4.106816,344.23001099 483 | Arquillos,23008,38.18205,-3.431089,379.79998779 484 | Arroyo del Ojanco,23905,38.320926,-2.894915,533.46002197 485 | Baeza,23009,37.99353,-3.469582,750.42999268 486 | Bailén,23010,38.096026,-3.774887,347.22000122 487 | Baños de la Encina,23011,38.171024,-3.774108,405.48999023 488 | Beas de Segura,23012,38.252516,-2.890076,574.77001953 489 | Bedmar y Garcíez,23902,37.822947,-3.411624,636.25 490 | Begíjar,23014,37.984739,-3.534479,554.35998535 491 | Bélmez de la Moraleda,23015,37.724204,-3.382346,857.26000977 492 | Benatae,23016,38.352611,-2.650677,854.70001221 493 | Cabra del Santo Cristo,23017,37.705112,-3.286057,939.15002441 494 | Cambil,23018,37.677173,-3.565062,757.2199707 495 | Campillo de Arenas,23019,37.555998,-3.635897,869.70001221 496 | Canena,23020,38.048451,-3.481982,518.51000977 497 | Carboneros,23021,38.229516,-3.631381,406 498 | Cárcheles,23901,37.634415,-3.641079,800.29998779 499 | Carolina (La),23024,38.274361,-3.615138,593.51000977 500 | Castellar,23025,38.256139,-3.128785,756.0300293 501 | Castillo de Locubín,23026,37.528294,-3.943778,695.21002197 502 | Cazalilla,23027,37.984497,-3.88221,300.5 503 | Cazorla,23028,37.910638,-3.001893,799.2800293 504 | Chiclana de Segura,23029,38.312302,-3.042803,881.78997803 505 | Chilluévar,23030,38.001452,-3.030893,742.7199707 506 | Escañuela,23031,37.878579,-4.03309,315.44000244 507 | Espelúy,23032,38.033097,-3.861839,277.67001343 508 | Frailes,23033,37.485954,-3.837219,942.38000488 509 | Fuensanta de Martos,23034,37.647606,-3.90546,715.72998047 510 | Fuerte del Rey,23035,37.874076,-3.884152,440.30999756 511 | Génave,23037,38.430154,-2.732817,829.5 512 | Guardia de Jaén (La),23038,37.742481,-3.692987,602.53997803 513 | Guarromán,23039,38.181448,-3.6865,344.77999878 514 | Higuera de Calatrava,23041,37.797361,-4.155346,326.64001465 515 | Hinojares,23042,37.715467,-2.999234,659.27001953 516 | Hornos,23043,38.216663,-2.720453,823.47998047 517 | Huelma,23044,37.65022,-3.459621,987.55999756 518 | Huesa,23045,37.764212,-3.078262,631.46002197 519 | Ibros,23046,38.022903,-3.50232,596.15997314 520 | Iruela (La),23047,37.920461,-2.993969,937.96002197 521 | Iznatoraf,23048,38.157677,-3.032711,1037.31005859 522 | Jabalquinto,23049,38.019321,-3.724011,485 523 | Jaén (capital),23050,37.76451,-3.790981,572.84002686 524 | Jamilena,23051,37.74717,-3.912256,748.89001465 525 | Jimena,23052,37.841339,-3.476352,607.14001465 526 | Jódar,23053,37.844247,-3.352858,649.94000244 527 | Lahiguera,23040,37.970707,-3.989281,371.32998657 528 | Larva,23054,37.759877,-3.202211,731.13000488 529 | Linares,23055,38.093812,-3.636206,406.02999878 530 | Lopera,23056,37.943603,-4.214981,269.3999939 531 | Lupión,23057,37.99662,-3.546958,500.57000732 532 | Mancha Real,23058,37.786522,-3.612644,757.14001465 533 | Marmolejo,23059,38.044669,-4.170882,244.44000244 534 | Martos,23060,37.722789,-3.965924,743.95001221 535 | Mengíbar,23061,37.968441,-3.808595,315.30999756 536 | Montizón,23062,38.342609,-3.103986,644.96002197 537 | Navas de San Juan,23063,38.185102,-3.315514,654.75 538 | Noalejo,23064,37.529498,-3.653725,1083.93005371 539 | Orcera,23065,38.317781,-2.659363,801.32000732 540 | Peal de Becerro,23066,37.913146,-3.121496,547.09002686 541 | Pegalajar,23067,37.737924,-3.650932,797.53997803 542 | Porcuna,23069,37.870918,-4.184529,465.29998779 543 | Pozo Alcón,23070,37.70515,-2.934247,860.75 544 | Puente de Génave,23071,38.35346,-2.804388,544.97998047 545 | Puerta de Segura (La),23072,38.348571,-2.737185,580.82000732 546 | Quesada,23073,37.84513,-3.067683,677.39001465 547 | Rus,23074,38.047905,-3.461907,583.80999756 548 | Sabiote,23075,38.069146,-3.306575,829.42999268 549 | Santa Elena,23076,38.339125,-3.539043,742.23999023 550 | Santiago de Calatrava,23077,37.75306,-4.169481,390.94000244 551 | Santiago-Pontones,23904,38.112698,-2.551625,1327 552 | Santisteban del Puerto,23079,38.247549,-3.206459,701.89001465 553 | Santo Tomé,23080,38.02819,-3.101793,452.38000488 554 | Segura de la Sierra,23081,38.2978,-2.651532,1086.80004883 555 | Siles,23082,38.387583,-2.581489,826.5 556 | Sorihuela del Guadalimar,23084,38.23908,-3.054679,622.71002197 557 | Torre del Campo,23086,37.770414,-3.897022,645.32000732 558 | Torreblascopedro,23085,37.997572,-3.636622,333.8999939 559 | Torredonjimeno,23087,37.765769,-3.95876,586.57000732 560 | Torreperogil,23088,38.034622,-3.287702,749.2800293 561 | Torres,23090,37.786082,-3.509667,881.63000488 562 | Torres de Albánchez,23091,38.41433,-2.676966,825.5300293 563 | Úbeda,23092,38.008069,-3.36789,729.09997559 564 | Valdepeñas de Jaén,23093,37.590299,-3.819723,915.11999512 565 | Vilches,23094,38.204719,-3.507691,536.92999268 566 | Villacarrillo,23095,38.115416,-3.087534,785.08001709 567 | Villanueva de la Reina,23096,38.005041,-3.919602,219.8500061 568 | Villanueva del Arzobispo,23097,38.169294,-3.010185,664.65997314 569 | Villardompardo,23098,37.839624,-4.001397,442.48001099 570 | Villares (Los),23099,37.689351,-3.818487,633.0300293 571 | Villarrodrigo,23101,38.48801,-2.636177,868.19000244 572 | Villatorres,23903,37.939832,-3.72999,347.63000488 573 | Alameda,29001,37.207774,-4.660575,457.63000488 574 | Alcaucín,29002,36.902359,-4.114274,509.1499939 575 | Alfarnate,29003,36.995167,-4.261057,886.32000732 576 | Alfarnatejo,29004,36.979435,-4.272925,851.98999023 577 | Algarrobo,29005,36.772643,-4.038978,64.51000214 578 | Algatocín,29006,36.572789,-5.276554,687.77001953 579 | Alhaurín de la Torre,29007,36.663365,-4.561152,94.95999908 580 | Alhaurín el Grande,29008,36.641968,-4.691618,263.29998779 581 | Almáchar,29009,36.809178,-4.217417,231.55000305 582 | Almargen,29010,37.001316,-5.023091,505.18185425 583 | Almogía,29011,36.825379,-4.540476,346.45999146 584 | Álora,29012,36.82289,-4.70702,209.07000732 585 | Alozaina,29013,36.727621,-4.856557,368.30999756 586 | Alpandeire,29014,36.634274,-5.203044,700.39001465 587 | Antequera,29015,37.019393,-4.56246,511.3500061 588 | Árchez,29016,36.838545,-3.990114,444.22000122 589 | Archidona,29017,37.094834,-4.387459,712.27001953 590 | Ardales,29018,36.878021,-4.846607,404.75 591 | Arenas,29019,36.81537,-4.045251,396.29000854 592 | Arriate,29020,36.798845,-5.141867,596.9699707 593 | Atajate,29021,36.64012,-5.245067,746.72998047 594 | Benadalid,29022,36.606086,-5.268884,698.57000732 595 | Benahavís,29023,36.524617,-5.046527,173.69999695 596 | Benalauría,29024,36.594143,-5.261045,668.2199707 597 | Benalmádena,29025,36.59504,-4.573271,236.71000671 598 | Benamargosa,29026,36.834994,-4.194083,109.77999878 599 | Benamocarra,29027,36.791154,-4.160346,135.97000122 600 | Benaoján,29028,36.718802,-5.25313,568.80999756 601 | Benarrabá,29029,36.551695,-5.276436,529.38000488 602 | Borge (El),29030,36.814272,-4.233965,242.32000732 603 | Burgo (El),29031,36.789058,-4.94682,576.65002441 604 | Campillos,29032,37.044989,-4.8614,459.73001099 605 | Canillas de Aceituno,29033,36.873299,-4.081781,657.10998535 606 | Canillas de Albaida,29034,36.846336,-3.987589,578.04998779 607 | Cañete la Real,29035,36.951601,-5.024117,735.78997803 608 | Carratraca,29036,36.851607,-4.818123,529.73999023 609 | Cartajima,29037,36.645738,-5.153835,851.20001221 610 | Cártama,29038,36.709931,-4.631295,112.72000122 611 | Casabermeja,29039,36.893025,-4.430079,558.63000488 612 | Casarabonela,29040,36.785158,-4.842721,486.79000854 613 | Casares,29041,36.444101,-5.272341,359.10998535 614 | Coín,29042,36.658961,-4.760486,211.22000122 615 | Colmenar,29043,36.905129,-4.335074,672.34997559 616 | Comares,29044,36.848859,-4.246746,701.82000732 617 | Cómpeta,29045,36.834247,-3.976666,636.91998291 618 | Cortes de la Frontera,29046,36.616847,-5.342822,617.63000488 619 | Cuevas Bajas,29047,37.235812,-4.487174,312.94000244 620 | Cuevas de San Marcos,29049,37.269474,-4.414288,412.73999023 621 | Cuevas del Becerro,29048,36.876364,-5.045744,731.35998535 622 | Cútar,29050,36.831069,-4.228435,324.66000366 623 | Estepona,29051,36.425529,-5.147395,15.47999954 624 | Faraján,29052,36.616337,-5.188787,640.45001221 625 | Frigiliana,29053,36.79257,-3.898092,318.11999512 626 | Fuengirola,29054,36.53807,-4.623056,3.72000003 627 | Fuente de Piedra,29055,37.135211,-4.729682,440.92999268 628 | Gaucín,29056,36.518231,-5.317573,619.0300293 629 | Genalguacil,29057,36.545284,-5.236041,514.07000732 630 | Guaro,29058,36.656559,-4.833128,342.07998657 631 | Humilladero,29059,37.114431,-4.702613,446.8999939 632 | Igualeja,29060,36.631722,-5.121913,728.01000977 633 | Istán,29061,36.582485,-4.949135,287.82998657 634 | Iznate,29062,36.776079,-4.183539,317.39001465 635 | Jimera de Líbar,29063,36.651531,-5.274192,538.60998535 636 | Jubrique,29064,36.564308,-5.215091,566.33001709 637 | Júzcar,29065,36.625418,-5.170291,622.20001221 638 | Macharaviaya,29066,36.762404,-4.215166,244.24000549 639 | Málaga (capital),29067,36.72034,-4.414939,5.94999981 640 | Manilva,29068,36.376994,-5.249364,130.8999939 641 | Marbella,29069,36.510523,-4.885085,24 642 | Mijas,29070,36.59647,-4.636774,400.10998535 643 | Moclinejo,29071,36.771333,-4.253764,439.39001465 644 | Mollina,29072,37.125706,-4.656965,476.27999878 645 | Monda,29073,36.630208,-4.832257,364.3500061 646 | Montecorto,29903,36.815658,-5.296733,491.45999146 647 | Montejaque,29074,36.733633,-5.25147,691.92999268 648 | Nerja,29075,36.745569,-3.876723,21.52000046 649 | Ojén,29076,36.564261,-4.856554,309.92001343 650 | Parauta,29077,36.656032,-5.128802,812.5 651 | Periana,29079,36.928499,-4.192059,551.34002686 652 | Pizarra,29080,36.767264,-4.707717,85.98000336 653 | Pujerra,29081,36.612681,-5.15026,775.55999756 654 | Rincón de la Victoria,29082,36.715405,-4.285561,3.20000005 655 | Riogordo,29083,36.914589,-4.293612,381.23001099 656 | Ronda,29084,36.736957,-5.164807,721.07000732 657 | Salares,29085,36.854313,-4.024233,550.48999023 658 | Sayalonga,29086,36.79792,-4.01215,362.42001343 659 | Sedella,29087,36.862758,-4.033305,696.34002686 660 | Serrato,29904,36.886072,-4.981196,510.54000854 661 | Sierra de Yeguas,29088,37.124676,-4.868671,449.23999023 662 | Teba,29089,36.983382,-4.9206,531.78997803 663 | Tolox,29090,36.687098,-4.904478,308.08999634 664 | Torremolinos,29901,36.622266,-4.50056,44.65999985 665 | Torrox,29091,36.758454,-3.952673,148.80999756 666 | Totalán,29092,36.765541,-4.29731,297.1000061 667 | Valle de Abdalajís,29093,36.931262,-4.682912,341.32998657 668 | Vélez-Málaga,29094,36.783177,-4.102035,65.41999817 669 | Villanueva de Algaidas,29095,37.185532,-4.450036,543.57000732 670 | Villanueva de la Concepción,29902,36.932526,-4.528983,606.9699707 671 | Villanueva de Tapia,29098,37.181893,-4.335472,654.86999512 672 | Villanueva del Rosario,29096,36.996438,-4.364999,689.28997803 673 | Villanueva del Trabuco,29097,37.02792,-4.338743,680.61999512 674 | Viñuela,29099,36.861911,-4.141209,161.77999878 675 | Yunquera,29100,36.73174,-4.920861,678.52001953 676 | Aguadulce,41001,37.252739,-4.991359,268.1000061 677 | Alanís,41002,38.037746,-5.715076,670.01000977 678 | Albaida del Aljarafe,41003,37.426978,-6.166026,163.49000549 679 | Alcalá de Guadaíra,41004,37.33384,-5.84913,36.66999817 680 | Alcalá del Río,41005,37.518241,-5.978853,31.95999908 681 | Alcolea del Río,41006,37.614445,-5.671275,31.79999924 682 | Algaba (La),41007,37.461912,-6.014001,9.31999969 683 | Algámitas,41008,37.016238,-5.150206,420.05999756 684 | Almadén de la Plata,41009,37.873789,-6.080053,451.26000977 685 | Almensilla,41010,37.309263,-6.114009,43.72000122 686 | Arahal,41011,37.262524,-5.544516,112.90000153 687 | Aznalcázar,41012,37.304025,-6.250828,65.30000305 688 | Aznalcóllar,41013,37.523746,-6.269394,136.83000183 689 | Badolatosa,41014,37.307874,-4.674225,218.8500061 690 | Benacazón,41015,37.353479,-6.198981,120.80000305 691 | Bollullos de la Mitación,41016,37.340361,-6.138735,88.59999847 692 | Bormujos,41017,37.372226,-6.07128,100.84999847 693 | Brenes,41018,37.55054,-5.873083,17.95000076 694 | Burguillos,41019,37.585777,-5.967466,77.30000305 695 | Cabezas de San Juan (Las),41020,36.981739,-5.94008,68.34999847 696 | Camas,41021,37.400945,-6.03287,7.61000013 697 | Campana (La),41022,37.569452,-5.426364,132.47000122 698 | Cantillana,41023,37.60709,-5.826521,24.56999969 699 | Cañada Rosal,41901,37.599343,-5.209635,155.25999451 700 | Carmona,41024,37.472424,-5.638221,234.41000366 701 | Carrión de los Céspedes,41025,37.368613,-6.32885,98.55999756 702 | Casariche,41026,37.294457,-4.759777,303.48001099 703 | Castilblanco de los Arroyos,41027,37.674969,-5.99014,326.29000854 704 | Castilleja de Guzmán,41028,37.40897,-6.058209,132.63999939 705 | Castilleja de la Cuesta,41029,37.386973,-6.05272,97.90000153 706 | Castilleja del Campo,41030,37.385811,-6.334326,118.84999847 707 | Castillo de las Guardas (El),41031,37.691785,-6.314303,348.98999023 708 | Cazalla de la Sierra,41032,37.929704,-5.760459,583.88000488 709 | Constantina,41033,37.872777,-5.618705,554.59997559 710 | Coria del Río,41034,37.285217,-6.051526,7 711 | Coripe,41035,36.970373,-5.440747,323.41000366 712 | Coronil (El),41036,37.082367,-5.633263,132.63999939 713 | Corrales (Los),41037,37.097617,-4.983118,384.13000488 714 | Cuervo de Sevilla (El),41903,36.853431,-6.040733,58.75 715 | Dos Hermanas,41038,37.283725,-5.922342,40.77999878 716 | Écija,41039,37.540843,-5.080175,102.70999908 717 | Espartinas,41040,37.380134,-6.123121,127.33000183 718 | Estepa,41041,37.291767,-4.878185,532.01000977 719 | Fuentes de Andalucía,41042,37.462179,-5.349098,173.44000244 720 | Garrobo (El),41043,37.625346,-6.172389,265.76000977 721 | Gelves,41044,37.336656,-6.025137,4.55999994 722 | Gerena,41045,37.525625,-6.157673,93.23999786 723 | Gilena,41046,37.251284,-4.913288,463.63000488 724 | Gines,41047,37.387126,-6.078118,117.18000031 725 | Guadalcanal,41048,38.092109,-5.820671,664.95001221 726 | Guillena,41049,37.539237,-6.052099,19.82999992 727 | Herrera,41050,37.364555,-4.850463,247.00999451 728 | Huévar del Aljarafe,41051,37.356336,-6.276693,66.70999908 729 | Isla Mayor,41902,37.131391,-6.165388,2.94000006 730 | Lantejuela (La),41052,37.353758,-5.22303,149.80000305 731 | Lebrija,41053,36.919673,-6.078565,30.80999947 732 | Lora de Estepa,41054,37.26827,-4.827851,446.20999146 733 | Lora del Río,41055,37.654545,-5.530762,38.75999832 734 | Luisiana (La),41056,37.526347,-5.248579,165.83999634 735 | Madroño (El),41057,37.645643,-6.512062,357.45001221 736 | Mairena del Alcor,41058,37.373113,-5.747687,125.86000061 737 | Mairena del Aljarafe,41059,37.344652,-6.065269,64.73999786 738 | Marchena,41060,37.33009,-5.416085,129.52000427 739 | Marinaleda,41061,37.369169,-4.960971,201.49000549 740 | Martín de la Jara,41062,37.106582,-4.961842,403.6000061 741 | Molares (Los),41063,37.155462,-5.719633,75.01000214 742 | Montellano,41064,36.995725,-5.570829,270.64001465 743 | Morón de la Frontera,41065,37.122228,-5.451985,230.19000244 744 | Navas de la Concepción (Las),41066,37.93297,-5.465183,428.82998657 745 | Olivares,41067,37.418894,-6.155864,166.97999573 746 | Osuna,41068,37.237041,-5.102536,296.41000366 747 | Palacios y Villafranca (Los),41069,37.158738,-5.924309,6.11999989 748 | Palomares del Río,41070,37.322752,-6.05768,35.36999893 749 | Paradas,41071,37.289793,-5.497195,119.80000305 750 | Pedrera,41072,37.226251,-4.893513,460.30999756 751 | Pedroso (El),41073,37.842229,-5.763444,407.5 752 | Peñaflor,41074,37.707478,-5.346211,51.68999863 753 | Pilas,41075,37.301617,-6.302494,66.31999969 754 | Pruna,41076,36.971725,-5.220973,551.65002441 755 | Puebla de Cazalla (La),41077,37.224411,-5.312343,172.22000122 756 | Puebla de los Infantes (La),41078,37.778596,-5.388922,229.99000549 757 | Puebla del Río (La),41079,37.267465,-6.062643,19.54999924 758 | Real de la Jara (El),41080,37.950092,-6.15548,460.69000244 759 | Rinconada (La),41081,37.487777,-5.979389,11.02999973 760 | Roda de Andalucía (La),41082,37.201126,-4.779205,402.52999878 761 | Ronquillo (El),41083,37.725483,-6.17708,334.83999634 762 | Rubio (El),41084,37.355793,-4.988942,204.36000061 763 | Salteras,41085,37.418261,-6.111646,151.71000671 764 | San Juan de Aznalfarache,41086,37.359749,-6.027865,8.39999962 765 | San Nicolás del Puerto,41088,37.993521,-5.653005,587.51000977 766 | Sanlúcar la Mayor,41087,37.385657,-6.201656,133.88999939 767 | Santiponce,41089,37.438926,-6.038483,13.88000011 768 | Saucejo (El),41090,37.070037,-5.096528,533.91998291 769 | Sevilla (capital),41091,37.38859,-5.9946,5.28000021 770 | Tocina,41092,37.609887,-5.733054,24.34000015 771 | Tomares,41093,37.373998,-6.045256,64.62999725 772 | Umbrete,41094,37.369939,-6.158052,120.01999664 773 | Utrera,41095,37.183119,-5.781334,45.34000015 774 | Valencina de la Concepción,41096,37.416187,-6.076705,150.94999695 775 | Villamanrique de la Condesa,41097,37.247588,-6.307045,30.5 776 | Villanueva de San Juan,41100,37.050492,-5.176467,479.45999146 777 | Villanueva del Ariscal,41098,37.395757,-6.141882,150.86000061 778 | Villanueva del Río y Minas,41099,37.664289,-5.716611,51.86999893 779 | Villaverde del Río,41101,37.588101,-5.873701,17.10000038 780 | Viso del Alcor (El),41102,37.388278,-5.719318,145.13999939 781 | -------------------------------------------------------------------------------- /pythoncordoba2019/muni_pun.cpg: -------------------------------------------------------------------------------- 1 | UTF-8 -------------------------------------------------------------------------------- /pythoncordoba2019/muni_pun.dbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sigdeletras/geopython/2b865a71752e294488288bb8c850f17e168ebd53/pythoncordoba2019/muni_pun.dbf -------------------------------------------------------------------------------- /pythoncordoba2019/muni_pun.prj: -------------------------------------------------------------------------------- 1 | GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]] -------------------------------------------------------------------------------- /pythoncordoba2019/muni_pun.qpj: -------------------------------------------------------------------------------- 1 | GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]] 2 | -------------------------------------------------------------------------------- /pythoncordoba2019/muni_pun.shp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sigdeletras/geopython/2b865a71752e294488288bb8c850f17e168ebd53/pythoncordoba2019/muni_pun.shp -------------------------------------------------------------------------------- /pythoncordoba2019/muni_pun.shx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sigdeletras/geopython/2b865a71752e294488288bb8c850f17e168ebd53/pythoncordoba2019/muni_pun.shx -------------------------------------------------------------------------------- /pythoncordoba2019/osm.gpkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sigdeletras/geopython/2b865a71752e294488288bb8c850f17e168ebd53/pythoncordoba2019/osm.gpkg -------------------------------------------------------------------------------- /pythoncordoba2019/pob.csv: -------------------------------------------------------------------------------- 1 | gidmp,pob_tot 2 | 2554,8 3 | 2561,26 4 | 2567,5 5 | 2572,65 6 | 2577,11 7 | 2582,23 8 | 2586,6 9 | 2592,6 10 | 2593,19 11 | 2603,16 12 | 2610,38 13 | 7229,73 14 | 7230,119 15 | 7231,201 16 | 7232,-1 17 | 7233,7 18 | 7234,12 19 | 7235,19 20 | 7236,152 21 | 7237,288 22 | 7238,101 23 | 7239,90 24 | 7240,118 25 | 7241,30 26 | 7242,-1 27 | 7243,39 28 | 7244,14 29 | 7245,39 30 | 7246,649 31 | 7247,63 32 | 7248,27 33 | 7249,7 34 | 7250,10 35 | 7251,-1 36 | 7252,23 37 | 7253,38 38 | 7254,10 39 | 7255,-1 40 | 7256,24 41 | 7257,39 42 | 7258,454 43 | 7259,25 44 | 7260,29 45 | 7261,11 46 | 7262,5 47 | 7263,81 48 | 7265,31 49 | 7266,7 50 | 7267,15 51 | 7268,69 52 | 7269,11 53 | 7270,297 54 | 7271,39 55 | 7272,35 56 | 7273,26 57 | 7274,28 58 | 7275,23 59 | 7276,-1 60 | 7277,26 61 | 7278,33 62 | 7279,-1 63 | 7280,13 64 | 7281,20 65 | 7282,-1 66 | 7283,33 67 | 7284,26 68 | 7285,-1 69 | 7286,11 70 | 7287,38 71 | 7288,33 72 | 7289,13 73 | 7290,5 74 | 7291,7 75 | 7292,15 76 | 7293,5 77 | 7294,27 78 | 7295,140 79 | 7296,19 80 | 7297,51 81 | 7298,57 82 | 7299,15 83 | 7300,5 84 | 7301,22 85 | 7302,49 86 | 7303,9 87 | 7304,23 88 | 7305,60 89 | 7306,25 90 | 7308,31 91 | 7309,-1 92 | 7310,31 93 | 7311,54 94 | 7312,-1 95 | 7313,52 96 | 7314,48 97 | 7315,-1 98 | 7316,10 99 | 7318,-1 100 | 7319,9 101 | 7320,16 102 | 7321,-1 103 | 7322,8 104 | 7323,32 105 | 7325,8 106 | 7326,11 107 | 7327,-1 108 | 7328,12 109 | 7329,20 110 | 7330,7 111 | 7331,50 112 | 7332,113 113 | 7333,28 114 | 7334,31 115 | 7335,21 116 | 7336,10 117 | 7337,17 118 | 7338,16 119 | 7339,38 120 | 7340,-1 121 | 7341,5 122 | 7342,39 123 | 7343,-1 124 | 7344,32 125 | 7345,9 126 | 7346,102 127 | 7347,150 128 | 7348,66 129 | 7349,78 130 | 7350,85 131 | 7351,38 132 | 7352,42 133 | 7353,54 134 | 7354,25 135 | 7355,40 136 | 7356,30 137 | 7357,39 138 | 7358,49 139 | 7359,5 140 | 7360,39 141 | 7361,14 142 | 7362,30 143 | 7363,20 144 | 7364,115 145 | 7365,427 146 | 7366,97 147 | 7367,165 148 | 7368,-1 149 | 7369,36 150 | 7370,50 151 | 7371,41 152 | 7372,33 153 | 7373,24 154 | 7374,42 155 | 7375,24 156 | 7376,67 157 | 7377,27 158 | 7378,25 159 | 7379,41 160 | 7380,13 161 | 7381,7 162 | 7382,9 163 | 7383,22 164 | 7384,145 165 | 7385,311 166 | 7386,80 167 | 7387,27 168 | 7388,7 169 | 7389,152 170 | 7390,6 171 | 7391,53 172 | 7392,111 173 | 7393,103 174 | 7394,119 175 | 7395,17 176 | 7396,75 177 | 7397,14 178 | 7398,21 179 | 7399,8 180 | 7400,237 181 | 7401,27 182 | 7402,-1 183 | 7403,37 184 | 7404,41 185 | 7405,52 186 | 7406,69 187 | 7407,105 188 | 7408,86 189 | 7409,59 190 | 7410,82 191 | 7411,92 192 | 7412,104 193 | 7413,46 194 | 7414,76 195 | 7415,41 196 | 7416,-1 197 | 7417,76 198 | 7418,7 199 | 7419,44 200 | 7420,82 201 | 7421,36 202 | 7422,591 203 | 7423,-1 204 | 7424,10 205 | 7425,5 206 | 7426,91 207 | 7427,159 208 | 7428,176 209 | 7429,82 210 | 7430,66 211 | 7431,77 212 | 7432,137 213 | 7433,128 214 | 7434,134 215 | 7435,112 216 | 7436,80 217 | 7437,11 218 | 7438,41 219 | 7439,24 220 | 7440,54 221 | 7441,346 222 | 7442,159 223 | 7443,17 224 | 7444,14 225 | 7445,36 226 | 7446,5 227 | 7447,5 228 | 7448,-1 229 | 7449,27 230 | 7450,67 231 | 7451,144 232 | 7452,74 233 | 7453,89 234 | 7454,76 235 | 7455,69 236 | 7456,86 237 | 7457,169 238 | 7458,111 239 | 7459,239 240 | 7460,592 241 | 7461,1042 242 | 7462,168 243 | 7463,590 244 | 7464,7 245 | 7465,53 246 | 7466,19 247 | 7467,366 248 | 7468,83 249 | 7469,85 250 | 7470,166 251 | 7471,89 252 | 7472,31 253 | 7473,113 254 | 7474,99 255 | 7475,56 256 | 7476,-1 257 | 7477,6 258 | 7478,424 259 | 7479,114 260 | 7480,24 261 | 7481,14 262 | 7482,19 263 | 7483,59 264 | 7484,294 265 | 7485,284 266 | 7486,98 267 | 7487,125 268 | 7488,89 269 | 7489,23 270 | 7490,98 271 | 7491,76 272 | 7492,230 273 | 7493,562 274 | 7494,401 275 | 7495,143 276 | 7496,31 277 | 7497,-1 278 | 7498,16 279 | 7500,50 280 | 7501,246 281 | 7502,-1 282 | 7503,58 283 | 7504,56 284 | 7505,91 285 | 7506,60 286 | 7507,113 287 | 7508,107 288 | 7509,189 289 | 7510,1596 290 | 7511,1003 291 | 7512,470 292 | 7513,8 293 | 7514,13 294 | 7515,19 295 | 7516,156 296 | 7517,-1 297 | 7518,15 298 | 7519,60 299 | 7520,73 300 | 7521,59 301 | 7522,80 302 | 7523,102 303 | 7524,181 304 | 7525,83 305 | 7526,125 306 | 7527,197 307 | 7528,283 308 | 7529,745 309 | 7530,34 310 | 7531,69 311 | 7532,691 312 | 7533,231 313 | 7534,94 314 | 7536,152 315 | 7537,138 316 | 7538,126 317 | 7539,83 318 | 7540,80 319 | 7541,65 320 | 7542,105 321 | 7543,5 322 | 7544,213 323 | 7545,10 324 | 7546,-1 325 | 7547,50 326 | 7548,19 327 | 7549,125 328 | 7550,-1 329 | 7551,227 330 | 7552,610 331 | 7553,238 332 | 7554,7 333 | 7555,78 334 | 7556,124 335 | 7557,74 336 | 7558,412 337 | 7559,347 338 | 7560,174 339 | 7561,102 340 | 7562,520 341 | 7563,-1 342 | 7564,9 343 | 7565,-1 344 | 7566,-1 345 | 7567,16 346 | 7568,8 347 | 7569,5 348 | 7570,65 349 | 7571,423 350 | 7572,507 351 | 7573,719 352 | 7574,1188 353 | 7575,1107 354 | 7576,70 355 | 7577,370 356 | 7578,580 357 | 7579,928 358 | 7580,1769 359 | 7581,2066 360 | 7582,62 361 | 7583,44 362 | 7584,-1 363 | 7585,5 364 | 7586,306 365 | 7587,268 366 | 7588,-1 367 | 7589,165 368 | 7590,777 369 | 7591,911 370 | 7592,1702 371 | 7593,1772 372 | 7594,1125 373 | 7595,523 374 | 7596,625 375 | 7597,1652 376 | 7598,2665 377 | 7599,2492 378 | 7600,2098 379 | 7601,98 380 | 7602,146 381 | 7603,939 382 | 7604,186 383 | 7605,2066 384 | 7606,1824 385 | 7607,269 386 | 7608,2164 387 | 7609,688 388 | 7610,1223 389 | 7611,1241 390 | 7612,1746 391 | 7613,1814 392 | 7614,1202 393 | 7615,1287 394 | 7616,834 395 | 7617,1659 396 | 7618,1713 397 | 7619,1393 398 | 7620,1144 399 | 7621,406 400 | 7622,932 401 | 7623,1334 402 | 7624,874 403 | 7625,2494 404 | 7626,3156 405 | 7627,315 406 | 7628,676 407 | 7629,177 408 | 7630,1609 409 | 7631,1132 410 | 7632,2750 411 | 7633,883 412 | 7634,1343 413 | 7635,1152 414 | 7636,2048 415 | 7637,703 416 | 7638,352 417 | 7639,578 418 | 7640,1074 419 | 7641,867 420 | 7642,759 421 | 7643,1817 422 | 7644,2123 423 | 7645,1564 424 | 7646,1438 425 | 7647,811 426 | 7648,1615 427 | 7649,1078 428 | 7650,-1 429 | 7651,77 430 | 7652,274 431 | 7653,1314 432 | 7654,1014 433 | 7655,1325 434 | 7656,648 435 | 7657,1815 436 | 7658,1133 437 | 7659,979 438 | 7660,338 439 | 7661,831 440 | 7662,261 441 | 7663,333 442 | 7664,275 443 | 7665,891 444 | 7666,1038 445 | 7667,1040 446 | 7668,1410 447 | 7669,1805 448 | 7670,1663 449 | 7671,1474 450 | 7672,1590 451 | 7673,938 452 | 7674,1565 453 | 7675,2987 454 | 7676,2113 455 | 7677,254 456 | 7678,20 457 | 7679,36 458 | 7680,6 459 | 7683,5 460 | 7684,776 461 | 7685,81 462 | 7686,286 463 | 7687,447 464 | 7688,16 465 | 7689,237 466 | 7690,1281 467 | 7691,110 468 | 7692,692 469 | 7693,719 470 | 7694,1754 471 | 7695,1164 472 | 7696,654 473 | 7697,1464 474 | 7698,1385 475 | 7699,850 476 | 7700,1081 477 | 7701,1012 478 | 7702,1306 479 | 7703,1306 480 | 7704,2105 481 | 7705,2280 482 | 7706,2537 483 | 7707,1687 484 | 7708,1432 485 | 7709,1070 486 | 7710,-1 487 | 7711,6 488 | 7712,38 489 | 7713,6 490 | 7714,6 491 | 7717,549 492 | 7718,2079 493 | 7719,1429 494 | 7720,197 495 | 7721,303 496 | 7722,-1 497 | 7723,220 498 | 7724,818 499 | 7725,1642 500 | 7726,1641 501 | 7727,2321 502 | 7728,599 503 | 7729,803 504 | 7730,1062 505 | 7731,1022 506 | 7732,758 507 | 7733,1115 508 | 7734,1347 509 | 7735,1042 510 | 7736,1488 511 | 7737,3132 512 | 7738,989 513 | 7739,746 514 | 7740,857 515 | 7741,812 516 | 7742,436 517 | 7744,-1 518 | 7745,10 519 | 7746,59 520 | 7747,27 521 | 7748,-1 522 | 7749,46 523 | 7750,209 524 | 7751,53 525 | 7752,-1 526 | 7753,32 527 | 7754,50 528 | 7755,404 529 | 7756,1282 530 | 7757,1730 531 | 7758,2355 532 | 7759,2006 533 | 7760,287 534 | 7761,1004 535 | 7762,867 536 | 7763,1072 537 | 7764,822 538 | 7765,1137 539 | 7766,1029 540 | 7767,1486 541 | 7768,1175 542 | 7769,587 543 | 7770,685 544 | 7771,949 545 | 7772,761 546 | 7773,15 547 | 7774,91 548 | 7776,11 549 | 7777,49 550 | 7778,220 551 | 7779,474 552 | 7780,133 553 | 7781,615 554 | 7782,757 555 | 7783,1754 556 | 7784,1436 557 | 7785,2656 558 | 7786,1511 559 | 7787,266 560 | 7788,959 561 | 7789,604 562 | 7790,790 563 | 7791,913 564 | 7792,1206 565 | 7793,1266 566 | 7794,1452 567 | 7795,900 568 | 7796,1523 569 | 7797,1260 570 | 7798,1198 571 | 7799,139 572 | 7801,98 573 | 7802,8 574 | 7803,75 575 | 7804,119 576 | 7805,861 577 | 7806,374 578 | 7807,1598 579 | 7808,1185 580 | 7809,1111 581 | 7810,1596 582 | 7811,484 583 | 7812,1662 584 | 7813,200 585 | 7814,286 586 | 7815,453 587 | 7816,252 588 | 7817,364 589 | 7818,1028 590 | 7819,1426 591 | 7820,473 592 | 7821,235 593 | 7822,909 594 | 7823,238 595 | 7824,100 596 | 7825,73 597 | 7826,29 598 | 7827,49 599 | 7828,53 600 | 7829,209 601 | 7830,856 602 | 7831,1207 603 | 7832,426 604 | 7833,200 605 | 7834,511 606 | 7835,1048 607 | 7836,79 608 | 7837,29 609 | 7838,179 610 | 7839,414 611 | 7840,2947 612 | 7841,1054 613 | 7842,867 614 | 7843,458 615 | 7845,6 616 | 7847,29 617 | 7848,12 618 | 7849,34 619 | 7850,84 620 | 7851,88 621 | 7852,19 622 | 7853,242 623 | 7854,-1 624 | 7855,668 625 | 7856,458 626 | 7857,380 627 | 7858,25 628 | 7859,85 629 | 7860,779 630 | 7861,109 631 | 7862,172 632 | 7863,1263 633 | 7864,1117 634 | 7865,223 635 | 7867,139 636 | 7868,25 637 | 7869,57 638 | 7870,37 639 | 7871,135 640 | 7872,253 641 | 7873,75 642 | 7876,6 643 | 7877,42 644 | 7878,588 645 | 7879,688 646 | 7880,500 647 | 7881,1389 648 | 7882,620 649 | 7883,659 650 | 7884,42 651 | 7885,31 652 | 7886,43 653 | 7887,70 654 | 7888,34 655 | 7889,623 656 | 7890,442 657 | 7891,297 658 | 7892,110 659 | 7895,-1 660 | 7896,16 661 | 7897,109 662 | 7898,6 663 | 7899,-1 664 | 7900,69 665 | 7901,45 666 | 7902,58 667 | 7903,670 668 | 7904,1414 669 | 7905,1034 670 | 7906,601 671 | 7907,114 672 | 7908,97 673 | 7909,9 674 | 7910,386 675 | 7911,18 676 | 7913,79 677 | 7915,9 678 | 7916,14 679 | 7917,9 680 | 7918,34 681 | 7919,8 682 | 7920,82 683 | 7921,14 684 | 7922,5 685 | 7923,823 686 | 7924,1380 687 | 7925,1689 688 | 7926,736 689 | 7927,750 690 | 7928,109 691 | 7929,154 692 | 7930,202 693 | 7931,37 694 | 7932,39 695 | 7934,111 696 | 7935,-1 697 | 7936,14 698 | 7937,10 699 | 7938,199 700 | 7939,13 701 | 7940,118 702 | 7941,94 703 | 7942,102 704 | 7943,9 705 | 7944,30 706 | 7945,1529 707 | 7946,1169 708 | 7947,1459 709 | 7948,1123 710 | 7949,920 711 | 7950,214 712 | 7951,28 713 | 7954,458 714 | 7955,134 715 | 7956,41 716 | 7958,368 717 | 7959,110 718 | 7960,8 719 | 7961,119 720 | 7962,18 721 | 7963,8 722 | 7964,174 723 | 7965,7 724 | 7966,49 725 | 7967,31 726 | 7968,1037 727 | 7969,1862 728 | 7970,1186 729 | 7971,1371 730 | 7972,865 731 | 7973,771 732 | 7974,12 733 | 7975,243 734 | 7976,12 735 | 7977,-1 736 | 7979,112 737 | 7980,85 738 | 7981,71 739 | 7982,224 740 | 7983,143 741 | 7984,11 742 | 7985,151 743 | 7986,232 744 | 7987,2729 745 | 7988,1057 746 | 7989,253 747 | 7990,1114 748 | 7991,194 749 | 7992,134 750 | 7993,68 751 | 7994,167 752 | 7995,13 753 | 7996,214 754 | 7998,40 755 | 7999,28 756 | 8000,5 757 | 8001,427 758 | 8002,1607 759 | 8003,979 760 | 8004,807 761 | 8005,608 762 | 8006,239 763 | 8007,382 764 | 8008,23 765 | 8009,97 766 | 8010,-1 767 | 8011,69 768 | 8012,50 769 | 8013,-1 770 | 8015,32 771 | 8016,476 772 | 8017,314 773 | 8018,245 774 | 8019,11 775 | 8020,29 776 | 8021,-1 777 | 8022,94 778 | 8023,22 779 | 8024,7 780 | 8025,17 781 | 8026,5 782 | 8028,13 783 | 8029,9 784 | 8030,19 785 | 8031,154 786 | 8032,22 787 | 8033,72 788 | 8034,86 789 | 8035,10 790 | 8036,33 791 | 8037,157 792 | 8038,329 793 | 8039,28 794 | 50709,14 795 | 50713,126 796 | 50714,44 797 | 51547,-1 798 | 51548,-1 799 | 51549,7 800 | 51551,7 801 | 51552,-1 802 | 51553,21 803 | 51554,6 804 | 51555,12 805 | 51556,12 806 | 51557,9 807 | 51558,10 808 | 51559,136 809 | 51560,178 810 | 51561,20 811 | 51562,10 812 | 51563,-1 813 | 51564,10 814 | 51565,61 815 | 51566,8 816 | 51569,7 817 | 51570,15 818 | 51571,6 819 | 51574,-1 820 | 51575,-1 821 | 51576,24 822 | 51577,38 823 | 51578,-1 824 | 51579,-1 825 | 52769,9 826 | 52818,19 827 | 52819,19 828 | 52820,10 829 | 52821,-1 830 | 52822,6 831 | 52823,-1 832 | 52824,6 833 | 52825,-1 834 | 52826,7 835 | 52827,-1 836 | 52828,17 837 | 52829,53 838 | 52830,12 839 | 52831,60 840 | 52832,45 841 | 52833,430 842 | 52834,23 843 | 52835,519 844 | 52836,97 845 | 52837,52 846 | 52838,6 847 | 52839,54 848 | --------------------------------------------------------------------------------