File: create-indexes.sql

package info (click to toggle)
python-stetl 1.0.9%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 89,428 kB
  • ctags: 720
  • sloc: python: 3,527; xml: 699; sql: 428; makefile: 153; sh: 45
file content (8 lines) | stat: -rwxr-xr-x 634 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
-- Creates a spatial index for each OSMM table

CREATE INDEX "boundaryline_geom_idx" ON "osmm"."boundaryline" USING GIST ("wkb_geometry");
CREATE INDEX "cartographicsymbol_geom_idx" ON "osmm"."cartographicsymbol" USING GIST ("wkb_geometry");
CREATE INDEX "cartographictext_geom_idx" ON "osmm"."cartographictext" USING GIST ("wkb_geometry");
CREATE INDEX "topographicarea_geom_idx" ON "osmm"."topographicarea" USING GIST ("wkb_geometry");
CREATE INDEX "topographicline_geom_idx" ON "osmm"."topographicline" USING GIST ("wkb_geometry");
CREATE INDEX "topographicpoint_geom_idx" ON "osmm"."topographicpoint" USING GIST ("wkb_geometry");