Skip to content

Commit

Permalink
Merge pull request #34 from tilezen/zerebubuth/1906-missing-region-ca…
Browse files Browse the repository at this point in the history
…pital-pov

Include featurecla(ss) as well as the POV variants in place wikidata
  • Loading branch information
zerebubuth authored Jun 13, 2019
2 parents fac4bb5 + 6214925 commit 1fb9e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raw_tiles/source/wikidata.sql
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ LEFT JOIN (
SELECT * FROM (
SELECT wikidataid, (each(hstore(ne_pp))).key, (each(hstore(ne_pp))).value
FROM ne_10m_populated_places ne_pp
) x WHERE KEY LIKE 'fclass_%' AND VALUE IS NOT NULL
) x WHERE (key = 'featurecla' OR key LIKE 'fclass_%') AND VALUE IS NOT NULL
) y GROUP BY wikidataid
) p ON p.wikidataid = x.wikidata;

0 comments on commit 1fb9e1e

Please sign in to comment.