AnsweredAssumed Answered

Why firstPoint and lastPoint does not match?

Question asked by valluzzi on Sep 19, 2018
Latest reply on Sep 20, 2018 by valluzzi
SR = arcpy.Describe(linepathname).spatialReference
polyline = arcpy.AsShape("""{"paths":[[[686187.19259999972,4929374.2093000002],[686221.91579999961,4929363.8212000001],[686224.60580000002,4929363.6297999993],[686227.87069999985,4929364.5913999993],[686230.85759999976,4929365.9749999996]]],"spatialReference":{"wkid":25832,"latestWkid":25832}}""", True)
#segment = arcpy.Polyline(arcpy.Array([polyline.firstPoint,polyline.lastPoint]),SR)
segment = arcpy.AsShape("""{"paths":[[[686187.19259999972,4929374.2093000002],[686230.85759999976,4929365.9749999996]]],"spatialReference":{"wkid":25832,"latestWkid":25832}}""", True)
 
I have tried to create a simple line that join the first point and the last point of the polyline but the render on the map is wrong (see the Image).
I have an offset and I cant figure the problem. 
(The spatial reference it's the same)
Anyone can give me some suggestion?

Attachments

Outcomes