I have a text file full of points. They are separated on each line by a comma-limited (x,y) pair. eg.
-43.1234,40.1234\n
-43.1244,40.1244\n
etc.
I now need to create a polygon around each of these points. The polygon has to have a 15 kilometer buffer from the point. I don't have access to ArcGIS or any other GIS that provides this functionality for me so at this point, I am wondering if anyone has the math that will help me get started?
You want to use GDAL/OGR/OSR, which does projections, buffers, and could even write the Shapefile for you.
In order to convert degrees lat/long into metres for your metric buffer, you need a projected coordinate system. In the below example I use UTM zones, which are dynamically loaded and cached. This will calculate 15 km on the geoid.
Also I calculate both the GIS buffer, which is a roundish polygon, and the envelope from the calculated buffer, which is the rectangle you seek.