Permalink
Browse files

Added GIS for Andhra, Delhi, Haryana, Karnataka, Kerala, MP, Maharash…

…tra, Orissa and Rajasthan
  • Loading branch information...
raphael-susewind committed Jan 12, 2017
1 parent 41e2080 commit 6334c55d84a8583a067bef7055da0a8adfea7341
Showing with 767,913 additions and 0 deletions.
  1. +52 −0 andhragis/LICENSE.md
  2. +33 −0 andhragis/README.md
  3. +65,788 −0 andhragis/andhragis.csv
  4. +65,791 −0 andhragis/andhragis.sql
  5. BIN andhragis/booths-locality-modis.sqlite
  6. BIN andhragis/booths-locality.sqlite
  7. +14 −0 andhragis/booths-locality.vrt
  8. +105 −0 andhragis/download.pl
  9. +107 −0 andhragis/proxy.pl
  10. +9 −0 andhragis/transform.sql
  11. +52 −0 delhigis/LICENSE.md
  12. +33 −0 delhigis/README.md
  13. BIN delhigis/booths-locality-modis.sqlite
  14. BIN delhigis/booths-locality.sqlite
  15. +14 −0 delhigis/booths-locality.vrt
  16. +11,764 −0 delhigis/delhigis.csv
  17. +11,767 −0 delhigis/delhigis.sql
  18. +105 −0 delhigis/download.pl
  19. +107 −0 delhigis/proxy.pl
  20. +9 −0 delhigis/transform.sql
  21. +52 −0 hargis/LICENSE.md
  22. +33 −0 hargis/README.md
  23. BIN hargis/booths-locality-modis.sqlite
  24. BIN hargis/booths-locality.sqlite
  25. +14 −0 hargis/booths-locality.vrt
  26. +105 −0 hargis/download.pl
  27. +16,128 −0 hargis/hargis.csv
  28. +16,131 −0 hargis/hargis.sql
  29. +107 −0 hargis/proxy.pl
  30. +9 −0 hargis/transform.sql
  31. +52 −0 kargis/LICENSE.md
  32. +33 −0 kargis/README.md
  33. BIN kargis/booths-locality-modis.sqlite
  34. BIN kargis/booths-locality.sqlite
  35. +14 −0 kargis/booths-locality.vrt
  36. +105 −0 kargis/download.pl
  37. +42,316 −0 kargis/kargis.csv
  38. +42,319 −0 kargis/kargis.sql
  39. +107 −0 kargis/proxy.pl
  40. +9 −0 kargis/transform.sql
  41. +52 −0 kergis/LICENSE.md
  42. +33 −0 kergis/README.md
  43. BIN kergis/booths-locality-modis.sqlite
  44. BIN kergis/booths-locality.sqlite
  45. +14 −0 kergis/booths-locality.vrt
  46. +105 −0 kergis/download.pl
  47. +21,351 −0 kergis/kergis.csv
  48. +21,354 −0 kergis/kergis.sql
  49. +107 −0 kergis/proxy.pl
  50. +9 −0 kergis/transform.sql
  51. +52 −0 mahagis/LICENSE.md
  52. +33 −0 mahagis/README.md
  53. BIN mahagis/booths-locality-modis.sqlite
  54. BIN mahagis/booths-locality.sqlite
  55. +14 −0 mahagis/booths-locality.vrt
  56. +105 −0 mahagis/download.pl
  57. +89,387 −0 mahagis/mahagis.csv
  58. +89,390 −0 mahagis/mahagis.sql
  59. +107 −0 mahagis/proxy.pl
  60. +9 −0 mahagis/transform.sql
  61. +52 −0 mpgis/LICENSE.md
  62. +33 −0 mpgis/README.md
  63. BIN mpgis/booths-locality-modis.sqlite
  64. BIN mpgis/booths-locality.sqlite
  65. +14 −0 mpgis/booths-locality.vrt
  66. +105 −0 mpgis/download.pl
  67. +53,317 −0 mpgis/mpgis.csv
  68. +53,320 −0 mpgis/mpgis.sql
  69. +107 −0 mpgis/proxy.pl
  70. +9 −0 mpgis/transform.sql
  71. +52 −0 orgis/LICENSE.md
  72. +33 −0 orgis/README.md
  73. BIN orgis/booths-locality-modis.sqlite
  74. BIN orgis/booths-locality.sqlite
  75. +14 −0 orgis/booths-locality.vrt
  76. +105 −0 orgis/download.pl
  77. +35,607 −0 orgis/orgis.csv
  78. +35,610 −0 orgis/orgis.sql
  79. +107 −0 orgis/proxy.pl
  80. +9 −0 orgis/transform.sql
  81. +52 −0 rajgis/LICENSE.md
  82. +33 −0 rajgis/README.md
  83. BIN rajgis/booths-locality-modis.sqlite
  84. BIN rajgis/booths-locality.sqlite
  85. +14 −0 rajgis/booths-locality.vrt
  86. +105 −0 rajgis/download.pl
  87. +107 −0 rajgis/proxy.pl
  88. +46,845 −0 rajgis/rajgis.csv
  89. +46,848 −0 rajgis/rajgis.sql
  90. +9 −0 rajgis/transform.sql
@@ -0,0 +1,52 @@
## ODC Database Contents License
The Licensor and You agree as follows:
### 1.0 Definitions of Capitalised Words
The definitions of the Open Database License (ODbL) 1.0 are incorporated
by reference into the Database Contents License.
### 2.0 Rights granted and Conditions of Use
2.1 Rights granted. The Licensor grants to You a worldwide,
royalty-free, non-exclusive, perpetual, irrevocable copyright license to
do any act that is restricted by copyright over anything within the
Contents, whether in the original medium or any other. These rights
explicitly include commercial use, and do not exclude any field of
endeavour. These rights include, without limitation, the right to
sublicense the work.
2.2 Conditions of Use. You must comply with the ODbL.
2.3 Relationship to Databases and ODbL. This license does not cover any
Database Rights, Database copyright, or contract over the Contents as
part of the Database. Please see the ODbL covering the Database for more
details about Your rights and obligations.
2.4 Non-assertion of copyright over facts. The Licensor takes the
position that factual information is not covered by copyright. The DbCL
grants you permission for any information having copyright contained in
the Contents.
### 3.0 Warranties, disclaimer, and limitation of liability
3.1 The Contents are licensed by the Licensor "as is" and without any
warranty of any kind, either express or implied, whether of title, of
accuracy, of the presence of absence of errors, of fitness for purpose,
or otherwise. Some jurisdictions do not allow the exclusion of implied
warranties, so this exclusion may not apply to You.
3.2 Subject to any liability that may not be excluded or limited by law,
the Licensor is not liable for, and expressly excludes, all liability
for loss or damage however and whenever caused to anyone by any use
under this License, whether by You or by anyone else, and whether caused
by any fault on the part of the Licensor or not. This exclusion of
liability includes, but is not limited to, any special, incidental,
consequential, punitive, or exemplary damages. This exclusion applies
even if the Licensor has been advised of the possibility of such
damages.
3.3 If liability may not be excluded by law, it is limited to actual and
direct financial loss to the extent it is caused by proved negligence on
the part of the Licensor.
@@ -0,0 +1,33 @@
# Data on religion and politics in India
## andhragis
This table contains GIS coordinates and other spatial characteristics of polling booths in Andhra Pradesh
## Variables
name | description
--- | ---
ac_id_09 | ID code of the assembly segment assigned by the Election Commission (identical with all other post-delimitation codes, hence the _09)
booth_id_14 | ID code of the polling booth assigned by the Election Commission for 2014 booths (together with ac_id_09, this should suffice for matching with other tables)
booth_name_14 | Name of the polling booth assigned by the Election Commission for 2014 booths
district_name_14 | Name of the district into which this polling booth is supposed to fall in 2014 (could be used for cleaning the data)
latitude | Geographical latitude
longitude | Geographical longitude
modis | Urban area or not? Derived from MODIS polygon (see below)
modis_rank | How urban? MODIS Scalerank (see below)
## Raw data
The 2014 data was originally scraped using the Firefox MozRepl plugin in conjunction with download.pl and the custom proxy server at proxy.pl on May 5, 2014 from "http://www.eci-polldaymonitoring.nic.in/psleci. The data used here is NOT cleaned up, and quality varies from district to district, so you need to be careful. The ID codes are the same used for the 2014 Lok Sabha elections. This dataset is identical with the data included in my (more comprehensive) [GIS Shapefiles](http://dx.doi.org/10.4119/unibi/2674065).
All three sets of point data were then dumped into CSVs, transformed into ESRI shapefiles using `ogr2ogr booths-locality.shp booths-locality.vrt` and matched manually against the MODIS polygon from [Naturalearth](http://www.naturalearthdata.com/downloads/10m-cultural-vectors/10m-urban-area/) using QGIS. The result was then exported back into booths-locality-modis.sqlite.
The final table was put together using `cat transform.sql | sqlite3`.
## License
While the database in its entirety is subject to an [ODC Open Database License](http://opendatacommons.org/licenses/odbl/), as explained in the main [README](https://github.com/raphael-susewind/india-religion-politics/blob/master/README.md) and [LICENSE](https://github.com/raphael-susewind/india-religion-politics/blob/master/LICENSE.md) files, the content of this specific table is factual data, and as such only subject to a simple [ODC Database Contents License](http://opendatacommons.org/licenses/dbcl/) (at the time of scraping, the respective websites did not display any copyright information). Code used for crawling and compilation is subject to a [CC-BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) license. If you use the modis and modis_rank variables, the original authors ask that you additionally attribute then:
> Schneider, A., M. A. Friedl, D. K. McIver, and C. E. Woodcock (2003) Mapping urban areas by fusing multiple sources of coarse resolution remotely sensed data. Photogrammetric Engineering and Remote Sensing, volume 69, pages 1377-1386.
Oops, something went wrong.

0 comments on commit 6334c55

Please sign in to comment.