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 (
136
136
fnRTreei32 function = "rtree_i32"
137
137
fnRTreeCheck function = "rtreecheck"
138
138
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
+
139
154
// Other functions we should allow
140
155
fnVersion function = "sqlite_version"
141
156
)
@@ -237,6 +252,19 @@ var SQLiteFunctions = []function{
237
252
fnRTree ,
238
253
fnRTreei32 ,
239
254
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 ,
240
268
fnVersion ,
241
269
}
242
270
You can’t perform that action at this time.
0 commit comments