Fix index to match osm carto 5.3.1

This commit is contained in:
sgref committed 2021-07-16 23:49:05 +02:00
1 parent 85eaca5c79
commit 649e55d07f
1 file changed
+1 -1
+1 -1
View File
@@ -32,7 +32,7 @@ CREATE INDEX planet_osm_polygon_nobuilding
ON planet_osm_polygon USING GIST (way)
WHERE building IS NULL;
CREATE INDEX planet_osm_polygon_name
ON planet_osm_polygon USING GIST (way)
ON planet_osm_polygon USING GIST (ST_PointOnSurface(way))
WHERE name IS NOT NULL;
CREATE INDEX planet_osm_polygon_way_area_z10
ON planet_osm_polygon USING GIST (way)