Skip to content

Commit

Permalink
Add upgrade scripts and regen docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zachasme committed Mar 16, 2023
1 parent 3c84e3f commit fb8e08a
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,22 @@ Splits polygons when crossing 180th meridian.
*Since v4.1.0*


# PostGIS Operators

### Operator: `geometry` @ `integer`
*Since vunavailable*


Index geometry at specified resoltuion.


### Operator: `geography` @ `integer`
*Since vunavailable*


Index geography at specified resoltuion.


# PostGIS casts

### `h3index` :: `geometry`
Expand Down
17 changes: 17 additions & 0 deletions h3_postgis/sql/updates/h3_postgis--4.1.2--unreleased.sql
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,20 @@

-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "ALTER EXTENSION h3 UPDATE TO 'unreleased'" to load this file. \quit

--@ availability: unavailable
CREATE OPERATOR @ (
PROCEDURE = h3_lat_lng_to_cell,
LEFTARG = geometry, RIGHTARG = integer
);
COMMENT ON OPERATOR @ (geometry, integer) IS
'Index geometry at specified resoltuion.';

--@ availability: unavailable
CREATE OPERATOR @ (
PROCEDURE = h3_lat_lng_to_cell,
LEFTARG = geography, RIGHTARG = integer
);
COMMENT ON OPERATOR @ (geography, integer) IS
'Index geography at specified resoltuion.';

0 comments on commit fb8e08a

Please sign in to comment.