Tag Info

New answers tagged

0

In case this is helpful to others, i was able to create the following python code using arcpy which will place points at a specified interval based on an input line feature layer. import arcpy line_lyr = 'my_line' pt_lyr = "my_point" interval = 200 insertCursor = arcpy.da.InsertCursor(pt_lyr, ["SHAPE@XY"]) # this is the pre-existing pt feature class ...


2

There is a tool to do this for a single route or a set of routes that are small enough for you to manually edit. In an Editor session select one route and use the Edit Vertices button and then right click the route and choose "Route Measure Editing" and then choose "Apply Factor..." and enter .001 to divide all measures by 1000. Esri Help for Route Editing ...


1

if you do look into OGR - a great resource is the cookbook. One example of writing z (m) values into a shapefile might be something like: def mkline(): drv=ogr.GetDriverByName('ESRI Shapefile') ds=drv.CreateDataSource('test.shp') lyr=ds.CreateLayer('test',ogr.wkbLineString25D) flddef=ogr.FieldDefn('Name',ogr.OFTString) ...



Top 50 recent answers are included