Created
March 15, 2019 22:11
-
-
Save pnorman/e32a281e166efe6c7d5baacc1ee94eb9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
CREATE INDEX CONCURRENTLY planet_osm_polygon_way_area_z10 | |
ON planet_osm_polygon USING GIST (way) | |
WHERE way_area > 23300; | |
ALTER INDEX planet_osm_polygon_way_area_z6 RENAME TO planet_osm_polygon_way_area_z6_old; | |
CREATE INDEX CONCURRENTLY planet_osm_polygon_way_area_z6 | |
ON planet_osm_polygon USING GIST (way) | |
WHERE way_area > 5980000; | |
DROP INDEX planet_osm_polygon_way_area_z6_old; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment