1// Aggregates 2 3// Color 4 5// Conditionals 6 7// Conversions 8 9// Custom 10 11// Date and Time 12 13// Fields and Values 14 15// Fuzzy Matching 16 17// General 18 19// Geometry 20function fnc_azimuth(values, context) { 21 return false; 22}; 23 24function fnc_project(values, context) { 25 return false; 26}; 27 28// Math 29function fnc_abs(values, context) { 30 return Math.abs(values[0]); 31}; 32 33function fnc_degrees(values, context) { 34 return values[0] * (180/Math.PI); 35}; 36 37function fnc_radians(values, context) { 38 return values[0] * (Math.PI/180); 39}; 40 41function fnc_sqrt(values, context) { 42 return Math.sqrt(values[0]); 43}; 44 45function fnc_cos(values, context) { 46 return Math.cos(values[0]); 47}; 48 49function fnc_sin(values, context) { 50 return Math.sin(values[0]); 51}; 52 53function fnc_tan(values, context) { 54 return Math.tan(values[0]); 55}; 56 57function fnc_asin(values, context) { 58 return Math.asin(values[0]); 59}; 60 61function fnc_acos(values, context) { 62 return Math.acos(values[0]); 63}; 64 65function fnc_atan(values, context) { 66 return Math.atan(values[0]); 67}; 68 69function fnc_atan2(values, context) { 70 return Math.atan2(values[0]); 71}; 72 73function fnc_exp(values, context) { 74 return Math.exp(values[0]); 75}; 76 77function fnc_ln(values, context) { 78 return Math.log(values[0]); 79}; 80 81function fnc_log10(values, context) { 82 return Math.LN10(values[0]); 83}; 84 85function fnc_log(values, context) { 86 return Math.log(values[0]) / Math.log(values[1]); 87}; 88 89function fnc_round(values, context) { 90 return Math.round(values[0]); 91}; 92 93function fnc_rand(values, context) { 94 return Math.floor(Math.random()*(values[1]-values[0]+1)+values[0]); 95}; 96 97function fnc_randf(values, context) { 98 return Math.random()*(values[1]-values[0]+1)+values[0]; 99}; 100 101function fnc_max(values, context) { 102 return Math.max.apply(this, values); 103}; 104 105function fnc_min(values, context) { 106 return Math.min.apply(this, values); 107}; 108 109function fnc_clamp(values, context) { 110 return Math.min(Math.max(values[0],values[1]),values[2]); 111}; 112 113// Operators 114 115// Record 116 117// String 118 119// TimeManager 120 121// Variables 122 123 124 125function fnc_scale_linear(values, context) { 126 return false; 127}; 128 129function fnc_scale_exp(values, context) { 130 return false; 131}; 132 133function fnc_floor(values, context) { 134 return Math.floor(values[0]); 135}; 136 137function fnc_ceil(values, context) { 138 return Math.ceil(values[0]); 139}; 140 141function fnc_pi(values, context) { 142 return Math.PI; 143}; 144 145function fnc_to_int(values, context) { 146 var intVal = parseInt(values[0],10); 147 if ( isNaN(intVal) ) { return false }; 148 return intVal; 149}; 150 151function fnc_to_real(values, context) { 152 var realVal = parseFloat(values[0]); 153 if ( isNaN(realVal) ) { return false }; 154 return realVal; 155}; 156 157function fnc_to_string(values, context) { 158 return String(values[0]); 159}; 160 161function fnc_to_datetime(values, context) { 162 return false; 163}; 164 165function fnc_to_date(values, context) { 166 return false; 167}; 168 169function fnc_to_time(values, context) { 170 return false; 171}; 172 173function fnc_to_interval(values, context) { 174 return false; 175}; 176 177function fnc_coalesce(values, context) { 178 return false; 179}; 180 181function fnc_if(values, context) { 182 return values[0] ? values[1] : values[2]; 183} 184 185function fnc_aggregate(values, context) { 186 return false; 187}; 188 189function fnc_relation_aggregate(values, context) { 190 return false; 191}; 192 193function fnc_count(values, context) { 194 return false; 195}; 196 197function fnc_count_distinct(values, context) { 198 return false; 199}; 200 201function fnc_count_missing(values, context) { 202 return false; 203}; 204 205function fnc_minimum(values, context) { 206 return false; 207}; 208 209function fnc_maximum(values, context) { 210 return false; 211}; 212 213function fnc_sum(values, context) { 214 return false; 215}; 216 217function fnc_mean(values, context) { 218 return false; 219}; 220 221function fnc_median(values, context) { 222 return false; 223}; 224 225function fnc_stdev(values, context) { 226 return false; 227}; 228 229function fnc_range(values, context) { 230 return false; 231}; 232 233function fnc_minority(values, context) { 234 return false; 235}; 236 237function fnc_majority(values, context) { 238 return false; 239}; 240 241function fnc_q1(values, context) { 242 return false; 243}; 244 245function fnc_q3(values, context) { 246 return false; 247}; 248 249function fnc_iqr(values, context) { 250 return false; 251}; 252 253function fnc_min_length(values, context) { 254 return false; 255}; 256 257function fnc_max_length(values, context) { 258 return false; 259}; 260 261function fnc_concatenate(values, context) { 262 return false; 263}; 264 265function fnc_regexp_match(values, context) { 266 return false; 267}; 268 269function fnc_now(values, context) { 270 return new Date().toISOString(); 271}; 272 273function fnc_age(values, context) { 274 return false; 275}; 276 277function fnc_year(values, context) { 278 return false; 279}; 280 281function fnc_month(values, context) { 282 return false; 283}; 284 285function fnc_week(values, context) { 286 return false; 287}; 288 289function fnc_day(values, context) { 290 return false; 291}; 292 293function fnc_hour(values, context) { 294 return false; 295}; 296 297function fnc_minute(values, context) { 298 return false; 299}; 300 301function fnc_second(values, context) { 302 return false; 303}; 304 305function fnc_day_of_week(values, context) { 306 return false; 307}; 308 309function fnc_lower(values, context) { 310 if ( typeof values[0] != "string" ) { return false; } 311 return values[0].toLowerCase(); 312}; 313 314function fnc_upper(values, context) { 315 if ( typeof values[0] != "string" ) { return false; } 316 return values[0].toUpperCase(); 317}; 318 319function fnc_title(values, context) { 320 if ( typeof values[0] != "string" ) { return false; } 321 return values[0].toLowerCase().split(' ').map(function(word) { 322 return (word.charAt(0).toUpperCase() + word.slice(1)); 323 }).join(' '); 324};
325 326function fnc_trim(values, context) { 327 if ( typeof values[0] != "string" ) { return false; } 328 return String(values[0]).trim(); 329}; 330 331function fnc_levenshtein(values, context) { 332 return false; 333}; 334 335function fnc_longest_common_substring(values, context) { 336 return false; 337}; 338 339function fnc_hamming_distance(values, context) { 340 return false; 341}; 342 343function fnc_soundex(values, context) { 344 return false; 345}; 346 347function fnc_char(values, context) { 348 if ( isNaN(values[0]) || !values[0]) { return null; } return String.fromCodePoint(values[0]); 349}; 350 351function fnc_wordwrap(values, context) { 352 return false; 353}; 354 355function fnc_length(values, context) { 356 return false; 357}; 358 359function fnc_replace(values, context) { 360 return false; 361}; 362 363function fnc_regexp_replace(values, context) { 364 if ( !values[0] ) { return null; } return String(values[0]).replace(RegExp(values[1]),values[2]); 365}; 366 367function fnc_regexp_substr(values, context) { 368 if ( !values[0] ) { return null; } 369 return String(values[0]).match(RegExp(values[1]))[0]; 370}; 371 372function fnc_substr(values, context) { 373 var length = values[2] 374 if ( !values[0] || isNaN(values[1])) { return false; } 375 return String(values[0]).substr(values[1], length); 376}; 377 378function fnc_concat(values, context) { 379 return values.join(''); 380}; 381 382function fnc_strpos(values, context) { 383 if (!values[0] || !values[1]) {return null} 384 return String(values[0]).indexOf(String(values[1]))+1; 385}; 386 387function fnc_left(values, context) { 388 return false; 389}; 390 391function fnc_right(values, context) { 392 return false; 393}; 394 395function fnc_rpad(values, context) { 396 return false; 397}; 398 399function fnc_lpad(values, context) { 400 return false; 401}; 402 403function fnc_format(values, context) { 404 return false; 405}; 406 407function fnc_format_number(values, context) { 408 return false; 409}; 410 411function fnc_format_date(values, context) { 412 return false; 413}; 414 415function fnc_color_rgb(values, context) { 416 return false; 417}; 418 419function fnc_color_rgba(values, context) { 420 return false; 421}; 422 423function fnc_ramp_color(values, context) { 424 return false; 425}; 426 427function fnc_color_hsl(values, context) { 428 return false; 429}; 430 431function fnc_color_hsla(values, context) { 432 return false; 433}; 434 435function fnc_color_hsv(values, context) { 436 return false; 437}; 438 439function fnc_color_hsva(values, context) { 440 return false; 441}; 442 443function fnc_color_cmyk(values, context) { 444 return false; 445}; 446 447function fnc_color_cmyka(values, context) { 448 return false; 449}; 450 451function fnc_color_part(values, context) { 452 return false; 453}; 454 455function fnc_darker(values, context) { 456 return false; 457}; 458 459function fnc_lighter(values, context) { 460 return false; 461}; 462 463function fnc_set_color_part(values, context) { 464 return false; 465}; 466 467function fnc_area(values, context) { 468 return false; 469}; 470 471function fnc_perimeter(values, context) { 472 return false; 473}; 474 475function fnc_x(values, context) { 476 return false; 477}; 478 479function fnc_y(values, context) { 480 return false; 481}; 482 483function fnc_z(values, context) { 484 return false; 485}; 486 487function fnc_m(values, context) { 488 return false; 489}; 490 491function fnc_point_n(values, context) { 492 return false; 493}; 494 495function fnc_start_point(values, context) { 496 return false; 497}; 498 499function fnc_end_point(values, context) { 500 return false; 501}; 502 503function fnc_nodes_to_points(values, context) { 504 return false; 505}; 506 507function fnc_segments_to_lines(values, context) { 508 return false; 509}; 510 511function fnc_make_point(values, context) { 512 return false; 513}; 514 515function fnc_make_point_m(values, context) { 516 return false; 517}; 518 519function fnc_make_line(values, context) { 520 return false; 521}; 522 523function fnc_make_polygon(values, context) { 524 return false; 525}; 526 527function fnc_x_min(values, context) { 528 return false; 529}; 530 531function fnc_x_max(values, context) { 532 return false; 533}; 534 535function fnc_y_min(values, context) { 536 return false; 537}; 538 539function fnc_y_max(values, context) { 540 return false; 541}; 542 543function fnc_geom_from_wkt(values, context) { 544 return false; 545}; 546 547function fnc_geom_from_gml(values, context) { 548 return false; 549}; 550 551function fnc_relate(values, context) { 552 return false; 553}; 554 555function fnc_intersects_bbox(values, context) { 556 return false; 557}; 558 559function fnc_disjoint(values, context) { 560 return false; 561}; 562 563function fnc_intersects(values, context) { 564 return false; 565}; 566 567function fnc_touches(values, context) { 568 return false; 569}; 570 571function fnc_crosses(values, context) { 572 return false; 573}; 574 575function fnc_contains(values, context) { 576 return false; 577}; 578 579function fnc_overlaps(values, context) { 580 return false; 581}; 582 583function fnc_within(values, context) { 584 return false; 585}; 586 587function fnc_translate(values, context) { 588 return false; 589}; 590 591function fnc_buffer(values, context) { 592 return false; 593}; 594 595function fnc_centroid(values, context) { 596 return false; 597}; 598 599function fnc_point_on_surface(values, context) { 600 return false; 601}; 602 603function fnc_reverse(values, context) { 604 return false; 605}; 606 607function fnc_exterior_ring(values, context) { 608 return false; 609}; 610 611function fnc_interior_ring_n(values, context) { 612 return false; 613}; 614 615function fnc_geometry_n(values, context) { 616 return false; 617}; 618 619function fnc_boundary(values, context) { 620 return false; 621}; 622 623function fnc_line_merge(values, context) { 624 return false; 625}; 626 627function fnc_bounds(values, context) { 628 return false; 629}; 630 631function fnc_num_points(values, context) { 632 return false; 633}; 634 635function fnc_num_interior_rings(values, context) { 636 return false; 637}; 638 639function fnc_num_rings(values, context) { 640 return false; 641}; 642 643function fnc_num_geometries(values, context) { 644 return false; 645}; 646 647function fnc_bounds_width(values, context) { 648 return false; 649}; 650 651function fnc_bounds_height(values, context) { 652 return false; 653}; 654 655function fnc_is_closed(values, context) { 656 return false; 657}; 658 659function fnc_convex_hull(values, context) { 660 return false; 661}; 662 663function fnc_difference(values, context) { 664 return false; 665}; 666 667function fnc_distance(values, context) { 668 return false; 669}; 670 671function fnc_intersection(values, context) { 672 return false; 673}; 674 675function fnc_sym_difference(values, context) { 676 return false; 677}; 678 679function fnc_combine(values, context) { 680 return false; 681}; 682 683function fnc_union(values, context) { 684 return false; 685}; 686 687function fnc_geom_to_wkt(values, context) { 688 return false; 689}; 690 691function fnc_geometry(values, context) { 692 return false; 693}; 694 695function fnc_transform(values, context) { 696 return false; 697}; 698 699function fnc_extrude(values, context) { 700 return false; 701}; 702 703function fnc_order_parts(values, context) { 704 return false; 705}; 706 707function fnc_closest_point(values, context) { 708 return false; 709}; 710 711function fnc_shortest_line(values, context) { 712 return false; 713}; 714 715function fnc_line_interpolate_point(values, context) { 716 return false; 717}; 718 719function fnc_line_interpolate_angle(values, context) { 720 return false; 721}; 722 723function fnc_line_locate_point(values, context) { 724 return false; 725}; 726 727function fnc_angle_at_vertex(values, context) { 728 return false; 729}; 730 731function fnc_distance_to_vertex(values, context) { 732 return false; 733}; 734 735function fnc_uuid(values, context) { 736 return false; 737}; 738 739function fnc_get_feature(values, context) { 740 return false; 741}; 742 743function fnc_layer_property(values, context) { 744 return false; 745}; 746 747function fnc_var(values, context) { 748 return false; 749}; 750 751function fnc_eval(values, context) { 752 return false; 753}; 754 755function fnc_attribute(values, context) { 756 return false; 757}; 758 759function fnc__specialcol_(values, context) { 760 return false; 761}; 762 763function fnc_project_color(values, context) { 764 return false; 765};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.