@@ -906,17 +906,18 @@ required_capability: spatial_grid
906906
907907FROM airports
908908| EVAL geohex = ST_GEOHEX(location, 1, TO_GEOSHAPE("POLYGON((0.0 30.0, 12.0 30.0, 12.0 60.0, 0.0 60.0, 0.0 30.0))"))
909- | WHERE ST_GEOHEX_TO_STRING(geohex) == "811f3ffffffffff "
909+ | WHERE ST_GEOHEX_TO_STRING(geohex) == "8108bffffffffff "
910910| EVAL geohexString = ST_GEOHEX_TO_STRING(ST_GEOHEX(location, 1))
911911| KEEP abbrev, location, geohexString
912+ | SORT abbrev ASC
912913;
913914
914915abbrev:keyword | location:geo_point | geohexString:keyword
915- BRE | POINT (8.7858617703132 53.052287104156) | 811f3ffffffffff
916- GOT | POINT (12.2938269092573 57.6857493534879 ) | 811f3ffffffffff
917- CPH | POINT (12.6493508684508 55.6285017221528 ) | 811f3ffffffffff
918- HAM | POINT (10.005647830925 53.6320011640866) | 811f3ffffffffff
919- TXL | POINT (13.2903090925074 52.5544287044101) | 811f3ffffffffff
916+ ARN | POINT (17.9307299016916 59.6511203397372) | 8108bffffffffff
917+ BMA | POINT (17.9456175406145 59.3555902065112 ) | 8108bffffffffff
918+ NRK | POINT (16.2339407695814 58.5833805017541 ) | 8108bffffffffff
919+ NYO | POINT (16.9216055584254 58.7851041303448) | 8108bffffffffff
920+ TLL | POINT (24.798964869983 59.4165014697451) | 8108bffffffffff
920921;
921922
922923gridGeohexByBounds
@@ -927,12 +928,13 @@ FROM airports
927928| EVAL geohex = ST_GEOHEX(location, 1, TO_GEOSHAPE("POLYGON((0.0 30.0, 12.0 30.0, 12.0 60.0, 0.0 60.0, 0.0 30.0))"))
928929| EVAL geohexString = ST_GEOHEX_TO_STRING(geohex)
929930| KEEP abbrev, location, geohex, geohexString
931+ | SORT abbrev ASC
930932;
931933
932934abbrev:keyword | location:geo_point | geohex:long | geohexString:keyword
933935RTW | POINT (46.035023249891 51.5606456508842) | null | null
934- XMN | POINT (118.12696884672 24.537192570557) | null | null
935936TIP | POINT (13.1442589810713 32.6691695504993) | 582085853791125503 | 813fbffffffffff
937+ XMN | POINT (118.12696884672 24.537192570557) | null | null
936938;
937939
938940gridGeohexStatsByPointsBounds
0 commit comments