<div>Hello,</div><div><br></div><div>I need to generate a calculation of lightning and I'm not getting. I have the following situation. I have a point with the coordinates -16.675297, -49.260196 and was stored in the database in spatial format with SRID 4326. Need to generate a buffer of 100 meters from this point and check which other points are within this buffer to return to the user.</div>
<div>Realize the following conversion to make this calculation: <a href="http://spatialreference.org/ref/epsg/2163/">http://spatialreference.org/ref/epsg/2163/</a></div><div><br></div><div>SELECT i.id_impediments</div><div>
FROM THE impediments i</div><div>WHERE st_dwithin (transform (i.geometry_data, 2163),</div><div>transform (GeomFromText ('POINT (-16.675297 -49.260196)', 4326), 2163),</div><div>100)</div><div><br></div><div>My questions are:</div>
<div>This is the best way to calculate a buffer and from the moment I work with the conversion to SRID 2163 SELECT can do this only for the range of coordinates described in this link:</div><div>I believe that this conversion also realize that is not the correct way. Could help me transferring any material or link so I can study?</div>
<div><br></div><div>I know there's no way I generate a buffer with WGS84 (4326) so I convert to 2163. Working with this?</div><div><br></div><div>Thank you.</div><div>And I appreciate the attention.</div><div><div><div>
<br></div>-- <br>________________________________________________<br>Diego Roberto<br><br>________________________________________________
</div></div>