This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Table Population: The Facebook population data, inputted by CSV. Points | |
# Table tzadmin: Tanzania administration boundaries. Polygons | |
# Table fb_pop: The sum of population for a given admin feature ID | |
# Table tzadmin_fbpop: The joined table that sums the sum of population and geographic features. | |
#Generate the table with the right values | |
CREATE TABLE population | |
( | |
gid serial NOT NULL, | |
the_geom geometry, |