im trying to automate a workflow where I have to display XY-Data from a table. The Data is then copied to a server and displayed in a web map.
When I manually add the XY-Data in a mxd-file and append it to a FeatureClass, it gets displayed correctly in my web map.
If I use a python script though, it gets displayed with a 150m offset from the correct point, althougt I use excactly the same projection and append it to the same FeatureClass. Any ideas why?
arcpy.MakeXYEventLayer_management(tblData, "x", "y", "tblDataLayer", "C:\Projections\Germany Zone 2.prj")