> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# filterByGeometry

<div className="kinetica-doxygen">
  <div id="a45f9d2a07009ec70350f2c7e7be8b6da" />

  <h2 className="memtitle"><span className="permalink"><a href="#a45f9d2a07009ec70350f2c7e7be8b6da">◆ </a></span>filterByGeometry() <span className="overload">\[1/2]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cs/classkinetica_1_1FilterByGeometryResponse">FilterByGeometryResponse</a> kinetica.Kinetica.filterByGeometry </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1FilterByGeometryRequest">FilterByGeometryRequest</a></td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</span></span></td>
                <td>)</td>

                <td />
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Applies a geometry filter against a geospatial geometry column in a given table or view. </p>
      <p>The filtering geometry is provided by <a className="el" href="/content/api/cs/classkinetica_1_1FilterByGeometryRequest#a3a3630699a9f8916fd03269051157178">input\_wkt</a>.</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">request\_</td>
              <td>Request object containing the parameters for the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Response object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L37411">37411</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a95773348ec4d224db0d50870a69047d3" />

  <h2 className="memtitle"><span className="permalink"><a href="#a95773348ec4d224db0d50870a69047d3">◆ </a></span>filterByGeometry() <span className="overload">\[2/2]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cs/classkinetica_1_1FilterByGeometryResponse">FilterByGeometryResponse</a> kinetica.Kinetica.filterByGeometry </td>
                <td>(</td>
                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">table\_name</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">view\_name</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">column\_name</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">input\_wkt</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">operation</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">IDictionary\< string, string ></td>
                <td className="paramname"><span className="paramname"><span className="em">options</span></span><span className="paramdefsep"> = </span><span className="paramdefval">null</span> )</td>
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Applies a geometry filter against a geospatial geometry column in a given table or view. </p>
      <p>The filtering geometry is provided by <span className="em">input\_wkt</span> .</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">table\_name</td>
              <td>Name of the table on which the filter by geometry will be performed, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. Must be an existing table or view containing a geospatial geometry column.</td>
            </tr>

            <tr>
              <td className="paramname">view\_name</td>
              <td>If provided, then this will be the name of the view containing the results, in \[schema\_name.]view\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a> and meeting <a href="/content/concepts/tables/#table-naming-criteria" target="_top">table naming criteria</a>. Must not be an already existing table or view. The default value is ''.</td>
            </tr>

            <tr>
              <td className="paramname">column\_name</td>
              <td>Name of the column to be used in the filter. Must be a geospatial geometry column.</td>
            </tr>

            <tr>
              <td className="paramname">input\_wkt</td>
              <td>A geometry in WKT format that will be used to filter the objects in <span className="em">table\_name</span> . The default value is ''.</td>
            </tr>

            <tr>
              <td className="paramname">operation</td>

              <td>
                The geometric filtering operation to perform. Supported values:

                <ul>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Operation#a006d9824c5979a18aa5f1745c586a771">CONTAINS</a>: Matches records that contain the given WKT in <span className="em">input\_wkt</span> , i.e. the given WKT is within the bounds of a record's geometry. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Operation#a1b9872b14b594a149b85f7b693f0e999">CROSSES</a>: Matches records that cross the given WKT. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Operation#ac8d04faea6f607416ea80cab208af23f">DISJOINT</a>: Matches records that are disjoint from the given WKT. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Operation#a81f00bdf6d905743c1c866ed8d5aaed5">EQUALS</a>: Matches records that are the same as the given WKT. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Operation#a3a921d7e901f355b6471b43cdeeca1a1">INTERSECTS</a>: Matches records that intersect the given WKT. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Operation#a57c42f81cb993d9f9cdc833035c9ce93">OVERLAPS</a>: Matches records that overlap the given WKT. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Operation#a27cd06e0e1e455317a31a9a7d1033792">TOUCHES</a>: Matches records that touch the given WKT. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Operation#a9ecbcbfc05c752f5f06a4af5a25b1af7">WITHIN</a>: Matches records that are within the given WKT. </li>
                </ul>
              </td>
            </tr>

            <tr>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Options#ace99644269191964ae5b19860f891b2b">CREATE\_TEMP\_TABLE</a>: If <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Options#a59bf606141711c1aa53c02133480bba7">TRUE</a>, a unique temporary table name will be generated in the sys\_temp schema and used in place of <span className="em">view\_name</span> . This is always allowed even if the caller does not have permission to create tables. The generated name is returned in <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryResponse_1_1Info#a179d312f869c301b56a30f509226743a">QUALIFIED\_VIEW\_NAME</a>. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Options#a59bf606141711c1aa53c02133480bba7">TRUE</a> </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Options#a4171d24623c10dbb9dc9543af85d4c3a">FALSE</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Options#a4171d24623c10dbb9dc9543af85d4c3a">FALSE</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Options#a605902b0c60820e13dac2ef4579690df">COLLECTION\_NAME</a>: \[DEPRECATED–please specify the containing schema for the view as part of <span className="em">view\_name</span> and use <a className="el" href="#ac754b44062e7b90b8afa50ddfa8ccbf2">createSchema</a> to create the schema if non-existent] Name of a schema for the newly created view. If the schema provided is non-existent, it will be automatically created. </li>
                </ul>

                The default value is an empty Dictionary.
              </td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Response object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L37567">37567</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a7634ffba75f6e6d43b031db218fbf39e" />

  <h2 className="memtitle"><span className="permalink"><a href="#a7634ffba75f6e6d43b031db218fbf39e">◆ </a></span>FilterByGeometryAsync() <span className="overload">\[1/2]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname">async System.Threading.Tasks.Task\< <a className="el" href="/content/api/cs/classkinetica_1_1FilterByGeometryResponse">FilterByGeometryResponse</a> > kinetica.Kinetica.FilterByGeometryAsync </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1FilterByGeometryRequest">FilterByGeometryRequest</a></td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">System.Threading.CancellationToken</td>
                <td className="paramname"><span className="paramname"><span className="em">cancellationToken</span></span><span className="paramdefsep"> = </span><span className="paramdefval">default</span> )</td>
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Applies a geometry filter against a geospatial geometry column in a given table or view. </p>
      <p>(async) </p>
      <p>The filtering geometry is provided by <a className="el" href="/content/api/cs/classkinetica_1_1FilterByGeometryRequest#a3a3630699a9f8916fd03269051157178">input\_wkt</a>.</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">request\_</td>
              <td>Request object containing the parameters for the operation.</td>
            </tr>

            <tr>
              <td className="paramname">cancellationToken</td>
              <td>Cancellation token to cancel the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Task that returns the response object containing the result of the operation.</div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L37430">37430</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a02686948bd435ef3452e365f5852db2a" />

  <h2 className="memtitle"><span className="permalink"><a href="#a02686948bd435ef3452e365f5852db2a">◆ </a></span>FilterByGeometryAsync() <span className="overload">\[2/2]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname">async System.Threading.Tasks.Task\< <a className="el" href="/content/api/cs/classkinetica_1_1FilterByGeometryResponse">FilterByGeometryResponse</a> > kinetica.Kinetica.FilterByGeometryAsync </td>
                <td>(</td>
                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">table\_name</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">view\_name</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">column\_name</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">input\_wkt</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">operation</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">IDictionary\< string, string ></td>
                <td className="paramname"><span className="paramname"><span className="em">options</span></span><span className="paramdefsep"> = </span><span className="paramdefval">null</span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">System.Threading.CancellationToken</td>
                <td className="paramname"><span className="paramname"><span className="em">cancellationToken</span></span><span className="paramdefsep"> = </span><span className="paramdefval">default</span> )</td>
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Applies a geometry filter against a geospatial geometry column in a given table or view. </p>
      <p>(async) </p>
      <p>The filtering geometry is provided by <span className="em">input\_wkt</span> .</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">table\_name</td>
              <td>Name of the table on which the filter by geometry will be performed, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. Must be an existing table or view containing a geospatial geometry column.</td>
            </tr>

            <tr>
              <td className="paramname">view\_name</td>
              <td>If provided, then this will be the name of the view containing the results, in \[schema\_name.]view\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a> and meeting <a href="/content/concepts/tables/#table-naming-criteria" target="_top">table naming criteria</a>. Must not be an already existing table or view. The default value is ''.</td>
            </tr>

            <tr>
              <td className="paramname">column\_name</td>
              <td>Name of the column to be used in the filter. Must be a geospatial geometry column.</td>
            </tr>

            <tr>
              <td className="paramname">input\_wkt</td>
              <td>A geometry in WKT format that will be used to filter the objects in <span className="em">table\_name</span> . The default value is ''.</td>
            </tr>

            <tr>
              <td className="paramname">operation</td>

              <td>
                The geometric filtering operation to perform. Supported values:

                <ul>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Operation#a006d9824c5979a18aa5f1745c586a771">CONTAINS</a>: Matches records that contain the given WKT in <span className="em">input\_wkt</span> , i.e. the given WKT is within the bounds of a record's geometry. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Operation#a1b9872b14b594a149b85f7b693f0e999">CROSSES</a>: Matches records that cross the given WKT. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Operation#ac8d04faea6f607416ea80cab208af23f">DISJOINT</a>: Matches records that are disjoint from the given WKT. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Operation#a81f00bdf6d905743c1c866ed8d5aaed5">EQUALS</a>: Matches records that are the same as the given WKT. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Operation#a3a921d7e901f355b6471b43cdeeca1a1">INTERSECTS</a>: Matches records that intersect the given WKT. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Operation#a57c42f81cb993d9f9cdc833035c9ce93">OVERLAPS</a>: Matches records that overlap the given WKT. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Operation#a27cd06e0e1e455317a31a9a7d1033792">TOUCHES</a>: Matches records that touch the given WKT. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Operation#a9ecbcbfc05c752f5f06a4af5a25b1af7">WITHIN</a>: Matches records that are within the given WKT. </li>
                </ul>
              </td>
            </tr>

            <tr>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Options#ace99644269191964ae5b19860f891b2b">CREATE\_TEMP\_TABLE</a>: If <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Options#a59bf606141711c1aa53c02133480bba7">TRUE</a>, a unique temporary table name will be generated in the sys\_temp schema and used in place of <span className="em">view\_name</span> . This is always allowed even if the caller does not have permission to create tables. The generated name is returned in <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryResponse_1_1Info#a179d312f869c301b56a30f509226743a">QUALIFIED\_VIEW\_NAME</a>. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Options#a59bf606141711c1aa53c02133480bba7">TRUE</a> </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Options#a4171d24623c10dbb9dc9543af85d4c3a">FALSE</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Options#a4171d24623c10dbb9dc9543af85d4c3a">FALSE</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByGeometryRequest_1_1Options#a605902b0c60820e13dac2ef4579690df">COLLECTION\_NAME</a>: \[DEPRECATED–please specify the containing schema for the view as part of <span className="em">view\_name</span> and use <a className="el" href="#ac754b44062e7b90b8afa50ddfa8ccbf2">createSchema</a> to create the schema if non-existent] Name of a schema for the newly created view. If the schema provided is non-existent, it will be automatically created. </li>
                </ul>

                The default value is an empty Dictionary.
              </td>
            </tr>

            <tr>
              <td className="paramname">cancellationToken</td>
              <td>Cancellation token to cancel the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Task that returns the response object containing the result of the operation.</div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L37710">37710</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>
</div>
