• Create a bounding box expression.

      FilterFactory.bbox(
    createBounds( reference, coordinates ),
    FilterFactory.property("geometry")
    );

    Parameters

    • bounds: Bounds

      the bounds of the bounding box.

    • OptionalgeometryName: string | PropertyName

      an optional geometry name.

    Returns OGCCondition

    A Bbox operator

  • Create a bounding box expression.

      FilterFactory.bbox(0, 0, 20, 40, "EPSG:4326");
    

    Parameters

    • minX: number

      x coordinate of the box's lower corner

    • minY: number

      y coordinate of the box's lower corner

    • maxX: number

      x coordinate of the box's upper corner

    • maxY: number

      y coordinate of the box's upper corner

    • OptionalsrsName: string

      name of the reference the box is defined in.

    • OptionalgeometryName: string | PropertyName

      an optional geometry name.

    Returns OGCCondition

    A Bbox operator