Tag Info

Hot answers tagged


It looks like the answer was easier than I thought. All that needed to be done was take out mapUnitsPerPixel and and then find the correct distance (.00015) pntBuf = pntGeom.buffer(.00015,0) This works great without being affected by scale.


Agree with Chris W. This field calculator expression will calculate from and to measures in a point file, providing there is a single river - polyline: def CalcFromToMeasures(shp,n): mxd = arcpy.mapping.MapDocument("CURRENT") lr=arcpy.mapping.ListLayers(mxd, "river")[0] with arcpy.da.SearchCursor(lr, "Shape@") as cursor: for row in cursor: ...

Only top voted, non community-wiki answers of a minimum length are eligible