SQL Query for population values by grid point
Bug #954852 reported by
Paul Henshaw
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake (deprecated) |
Fix Released
|
Undecided
|
Paul Henshaw |
Bug Description
Experimenting with SQL query to create a GeoTIFF from GED population data for a given region.
SELECT
point.lat, point.lon, pop.pop_value, att.is_urban
INTO
gem.pop_vals_ita
FROM
eqged.grid_point point
JOIN
eqged.population pop
ON point.id=
JOIN
eqged.
ON country.
JOIN
eqged.
ON att.grid_
WHERE
country.
AND
pop.population
For four countries:
MAC 137 (Macao)
LUX 135
ITA = 112
JPN = 116
description: | updated |
Changed in openquake: | |
assignee: | nobody → Paul Henshaw (paul-sl-henshaw) |
status: | In Progress → Fix Released |
To post a comment you must log in.
149591.609375
This is the maximum value for eqged.populatio n.pop_value