<div dir="ltr"><div>Hi Shao,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 15 mag 2020 alle ore 11:56 Shaozhong SHI <<a href="mailto:shishaozhong@gmail.com">shishaozhong@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi, Nicolas,<div><br></div><div>Thanks.</div><div><br></div><div>That is very interesting.  I will test it.</div><div><br></div><div>I could not find information on how distance is defined.  0.01 stands on what unit?</div><div><br></div><div><a href="https://postgis.net/docs/ST_DWithin.html" target="_blank">https://postgis.net/docs/ST_DWithin.html</a> </div></div></blockquote><div><br></div><div>Have a look to this statement in the doc you linked:<br><br>"""<br>For <span class="gmail-type">geometry</span>: The distance is specified in units defined by the
                spatial reference system of the geometries.  For this function to make
                sense, the source geometries must both be of the same coordinate projection,
                having the same SRID.</div><div><br></div><div>For <span class="gmail-type">geography</span> units are in meters and measurement is
                defaulted to <code class="gmail-varname">use_spheroid</code>=true, for faster check, <code class="gmail-varname">use_spheroid</code>=false to measure along sphere.</div><div>"""<br></div><div> </div><div>Giuseppe.</div><br></div></div>