taylor65

Project shapefile returns blank output

Discussion created by taylor65 on Jan 9, 2014
Latest reply on Jan 13, 2014 by mdenil
Pretty simple here, hopefully the solution is obvious to the community.

1. make event layer
2. export event layer to shapefile
3. re-project shapefile

InterpolationCSV = "path-to-csv"
XCoord = "Long"
YCoord = "Lat"
ZValue = "Result"
WorkingDirectory = "path-to-wd"

spRefWGS84 = "path-to-prj"
spRefSPN = "path-to-prj"

arcpy.MakeXYEventLayer_management(InterpolationCSV, XCoord, YCoord, "outXY_Layer", spRefWGS84)
arcpy.FeatureClassToFeatureClass_conversion("outXY_Layer", WorkingDirectory, "processpoints.shp")
arcpy.Project_management(WorkingDirectory + "processpoints.shp", WorkingDirectory + "processpoints2.shp", spRefSPN)


This yields a blank output for processpoints2.shp, no matter where I run it, without error. 

Any suggestions would be appreciated.

Thanks,

Outcomes