This repository was archived by the owner on Mar 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,21 @@ const (
136136 fnRTreei32 function = "rtree_i32"
137137 fnRTreeCheck function = "rtreecheck"
138138
139+ // Geopoly functions: https://www.sqlite.org/geopoly.html
140+ fnGeopoly function = "geopoly"
141+ fnGeopolyArea function = "geopoly_area"
142+ fnGeopolyBBox function = "geopoly_bbox"
143+ fnGeopolyBlob function = "geopoly_blob"
144+ fnGeopolyCCW function = "geopoly_ccw"
145+ fnGeopolyContainsPoint function = "geopoly_contains_point"
146+ fnGeopolyGroupBBox function = "geopoly_group_bbox"
147+ fnGeopolyJson function = "geopoly_json"
148+ fnGeopolyOverlap function = "geopoly_overlap"
149+ fnGeopolyRegular function = "geopoly_regular"
150+ fnGeopolySvg function = "geopoly_svg"
151+ fnGeopolyWithin function = "geopoly_within"
152+ fnGeopolyXForm function = "geopoly_xform"
153+
139154 // Other functions we should allow
140155 fnVersion function = "sqlite_version"
141156)
@@ -237,6 +252,19 @@ var SQLiteFunctions = []function{
237252 fnRTree ,
238253 fnRTreei32 ,
239254 fnRTreeCheck ,
255+ fnGeopoly ,
256+ fnGeopolyArea ,
257+ fnGeopolyBBox ,
258+ fnGeopolyBlob ,
259+ fnGeopolyCCW ,
260+ fnGeopolyContainsPoint ,
261+ fnGeopolyGroupBBox ,
262+ fnGeopolyJson ,
263+ fnGeopolyOverlap ,
264+ fnGeopolyRegular ,
265+ fnGeopolySvg ,
266+ fnGeopolyWithin ,
267+ fnGeopolyXForm ,
240268 fnVersion ,
241269}
242270
You can’t perform that action at this time.
0 commit comments