This is the first time I create a GIS query. In one table of my database, there is a column with point type. Each record is one ATM machine. I want to write a query to get ATM machines that near by my location within 1km range.How to use ST_DWithin in SQL query to find record?
Share
Where [Lon] & [Lat] – GPS coordinates of the point. But so far as you used POINT type at first use:
Of course before that you should rename the field ‘location’ (in order to not lose the data) and fill the new one with this data.