Last active
June 6, 2017 19:45
-
-
Save geobabbler/48d714290b3e86e69ca9cd9e39491bb8 to your computer and use it in GitHub Desktop.
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
CREATE MATERIALIZED VIEW public.mvw_cellular_count_geom_hex AS | |
SELECT uuid_generate_v4() AS oid, | |
vw_cellular_count_geom_hex.id, | |
vw_cellular_count_geom_hex.shape, | |
COALESCE(vw_cellular_count_geom_hex.features, 0::bigint)::integer AS features | |
FROM vw_cellular_count_geom_hex | |
WITH DATA; | |
CREATE INDEX sidx_mvw_cellular_count_geom_hex_shape | |
ON public.mvw_cellular_count_geom_hex | |
USING gist | |
(shape); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment