Skip to content

Commit 84e78f9

Browse files
authored
Merge pull request #208 from elemoine/readme-index
Indicate how to create an index based on PC_EnvelopeGeometry
2 parents 391e384 + 6f66a31 commit 84e78f9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,10 @@ The `pointcloud_postgis` extension adds functions that allow you to use PostgreS
559559
> SELECT ST_AsText(PC_EnvelopeGeometry(pa)) FROM patches LIMIT 1;
560560
>
561561
> POLYGON((-126.99 45.01,-126.99 45.09,-126.91 45.09,-126.91 45.01,-126.99 45.01))
562+
>
563+
> For example, this is how one may want to create an index:
564+
>
565+
> CREATE INDEX ON patches USING GIST(PC_EnvelopeGeometry(patch));
562566
563567
**PC_BoundingDiagonalGeometry(pcpatch)** returns **geometry**
564568

0 commit comments

Comments
 (0)