I have a data file in CSV format that has the some data like this: field id | data tile | data description | longitude | latitude
I have PostgreSQL and PostGIS already installed and I would like to use PostGIS to create a query that will bring up all the records (from the table above) that are within the specified distance from a lat/long location.
The problem is that I don't know how to get started. Do I just import my CSV file in PostgreSQL database and start using PostgreSQL and PostGIS functions once I have the CSV file converted into a PostgreSQL table?
Are there any extra steps to make the table work with the PostGIS functions?
What would be the correct steps to go about this? I truly appreciate your help!