</span></span></code></pre></div>
    </div>

    <div id="arguments">
    <h2>Arguments</h2>
    <dl><dt>x</dt>
<dd><p>Object of class <code>sf</code></p></dd>


<dt>con</dt>
<dd><p>Connection to PostgreSQL database with PostGIS extension enabled. Can be created using function <code>RPostgreSQL::dbConnect</code></p></dd>


<dt>query</dt>
<dd><p>SQL query, which may refer to layer <code>x</code> as <code>x</code> and to the geometry column of the <code>x</code> layer as <code>geom</code> (see examples)</p><