I am trying to create a new layer with just a single point using arcpy. All that is provided is a gps lat and long. It seems like it should be a simple problem but I just can't get it to work. I've determined the error is that I'm not using the correct spatial reference (the point I get right now is next to the equator/meridian) but I'm not sure how to fix that.
import arcpy
arcpy.env.workspace = 'c:\\Scrap'
arcpy.env.overwriteOutput = True
latitude = 41
longitude = -71
p = arcpy.Point(longitude, latitude)
pg = arcpy.PointGeometry(p)
arcpy.CopyFeatures_management(pg, 'test.shp')
oat8t7
refer to a spatial reference object? It's not clear looking at your code.