Skip to content

Commit 03c8865

Browse files
committed
update readme
1 parent 9b0a0cb commit 03c8865

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,11 @@ For styling see [styling 3D Tiles](styling.md)
220220
Input geometries must be of type LineString/MultilineString/Polygon/MultiPolygon/PolyhedralSurface (with z values). When the geometry is not triangulated, pg2b3dm will perform
221221
triangulation. Geometries with interior rings are supported.
222222

223-
For large datasets create a spatial index on the geometry column:
223+
For large datasets create the following indexes:
224224

225225
```
226-
psql> CREATE INDEX ON the_table USING gist (st_envelope(geom));
226+
psql> CREATE INDEX ON the_table USING gist (st_centroid(st_envelope(geom)));
227+
psql> CREATE INDEX ON the_table using btree(md5(st_asbinary({inputTable.GeometryColumn})::text));
227228
```
228229

229230
When there the spatial index is not present the following warning is shown.

0 commit comments

Comments
 (0)