Skip to main content

ESRI has a collapse dual carriageway to centerline tool. You can get a cheap version for use with OSM. Otherwise you could select features and save as a new layer. DeletedDelete selected from layer you used for export. Buffer feature within range of one side of the carriageway that includes the second lane. Merge shapefile with original, connect up any broken topology. If

If you can code and or/or script you could average a centerline between lanes on a node by seg by node matching and output a centerline programaticaly and then programaticaly deleteddelete selected features used for the production process, check and fix broken topology, and youryou're done.

I found a arcpy code sample I am including, how to find the link is below in comments.

attributed to ESRI ARCGis Help

# Name: CollapseDualLinesToCenterline_Example.py
# Description: Creates street centerlines from a street casing coverage.
# Requirements: ArcInfo Workstation

# Import system modules
import arcpy
from arcpy import env

# Set environment settings
env.workspace = "C:/data"

# Set local variables
inCover = "streets"
outCover = "C:/output/centerlines"
maximumWidth = 50

# Execute CollapseDualLinesToCenterline
arcpy.CollapseDualLinesToCenterline_arc(inCover, outCover, maximumWidth, "")

ESRI has a collapse dual carriageway to centerline tool. You can get a cheap version for use with OSM. Otherwise you could select features and save as a new layer. Deleted selected from layer you used for export. Buffer feature within range of one side of the carriageway that includes the second lane. Merge shapefile with original, connect up any broken topology. If you can code and or script you could average a centerline between lanes on a node by seg by node matching and output a centerline programaticaly and then programaticaly deleted selected features used for the production process, check and fix broken topology, and your done.

I found a arcpy code sample I am including, how to find the link is below in comments.

attributed to ESRI ARCGis Help

# Name: CollapseDualLinesToCenterline_Example.py
# Description: Creates street centerlines from a street casing coverage.
# Requirements: ArcInfo Workstation

# Import system modules
import arcpy
from arcpy import env

# Set environment settings
env.workspace = "C:/data"

# Set local variables
inCover = "streets"
outCover = "C:/output/centerlines"
maximumWidth = 50

# Execute CollapseDualLinesToCenterline
arcpy.CollapseDualLinesToCenterline_arc(inCover, outCover, maximumWidth, "")

ESRI has a collapse dual carriageway to centerline tool. You can get a cheap version for use with OSM. Otherwise you could select features and save as a new layer. Delete selected from layer you used for export. Buffer feature within range of one side of the carriageway that includes the second lane. Merge shapefile with original, connect up any broken topology.

If you can code and/or script you could average a centerline between lanes on a node by seg by node matching and output a centerline programaticaly and then programaticaly delete selected features used for the production process, check and fix broken topology, and you're done.

I found a arcpy code sample I am including, how to find the link is below in comments.

attributed to ESRI ARCGis Help

# Name: CollapseDualLinesToCenterline_Example.py
# Description: Creates street centerlines from a street casing coverage.
# Requirements: ArcInfo Workstation

# Import system modules
import arcpy
from arcpy import env

# Set environment settings
env.workspace = "C:/data"

# Set local variables
inCover = "streets"
outCover = "C:/output/centerlines"
maximumWidth = 50

# Execute CollapseDualLinesToCenterline
arcpy.CollapseDualLinesToCenterline_arc(inCover, outCover, maximumWidth, "")
formatting
Source Link
Mike T
  • 42.4k
  • 10
  • 129
  • 190

ESRI has a collapse dual carriageway to centerline tool. You can get a cheap version for use with OSM. Otherwise you could select features and save as a new layer. Deleted selected from layer you used for export. Buffer feature within range of one side of the carriageway that includes the second lane. Merge shapefile with original, connect up any broken topology. If you can code and or script you could average a centerline between lanes on a node by seg by node matching and output a centerline programaticaly and then programaticaly deleted selected features used for the production process, check and fix broken topology, and your done. I

I found a arcpy code sample I am including, how to find the link is below in comments.

attributed to ESRI ARCGis Help

Name: CollapseDualLinesToCenterline_Example.py

Description: Creates street centerlines from a street casing coverage.

Requirements: ArcInfo Workstation

Import system modules

import arcpy from arcpy import env

Set environment settings

env.workspace = "C:/data"

Set local variables

inCover = "streets" outCover = "C:/output/centerlines" maximumWidth = 50

Execute CollapseDualLinesToCenterline

arcpy.CollapseDualLinesToCenterline_arc(inCover, outCover, maximumWidth, "")

# Name: CollapseDualLinesToCenterline_Example.py
# Description: Creates street centerlines from a street casing coverage.
# Requirements: ArcInfo Workstation

# Import system modules
import arcpy
from arcpy import env

# Set environment settings
env.workspace = "C:/data"

# Set local variables
inCover = "streets"
outCover = "C:/output/centerlines"
maximumWidth = 50

# Execute CollapseDualLinesToCenterline
arcpy.CollapseDualLinesToCenterline_arc(inCover, outCover, maximumWidth, "")

ESRI has a collapse dual carriageway to centerline tool. You can get a cheap version for use with OSM. Otherwise you could select features and save as a new layer. Deleted selected from layer you used for export. Buffer feature within range of one side of the carriageway that includes the second lane. Merge shapefile with original, connect up any broken topology. If you can code and or script you could average a centerline between lanes on a node by seg by node matching and output a centerline programaticaly and then programaticaly deleted selected features used for the production process, check and fix broken topology, and your done. I found a arcpy code sample I am including, how to find the link is below in comments.

attributed to ESRI ARCGis Help

Name: CollapseDualLinesToCenterline_Example.py

Description: Creates street centerlines from a street casing coverage.

Requirements: ArcInfo Workstation

Import system modules

import arcpy from arcpy import env

Set environment settings

env.workspace = "C:/data"

Set local variables

inCover = "streets" outCover = "C:/output/centerlines" maximumWidth = 50

Execute CollapseDualLinesToCenterline

arcpy.CollapseDualLinesToCenterline_arc(inCover, outCover, maximumWidth, "")

ESRI has a collapse dual carriageway to centerline tool. You can get a cheap version for use with OSM. Otherwise you could select features and save as a new layer. Deleted selected from layer you used for export. Buffer feature within range of one side of the carriageway that includes the second lane. Merge shapefile with original, connect up any broken topology. If you can code and or script you could average a centerline between lanes on a node by seg by node matching and output a centerline programaticaly and then programaticaly deleted selected features used for the production process, check and fix broken topology, and your done.

I found a arcpy code sample I am including, how to find the link is below in comments.

attributed to ESRI ARCGis Help

# Name: CollapseDualLinesToCenterline_Example.py
# Description: Creates street centerlines from a street casing coverage.
# Requirements: ArcInfo Workstation

# Import system modules
import arcpy
from arcpy import env

# Set environment settings
env.workspace = "C:/data"

# Set local variables
inCover = "streets"
outCover = "C:/output/centerlines"
maximumWidth = 50

# Execute CollapseDualLinesToCenterline
arcpy.CollapseDualLinesToCenterline_arc(inCover, outCover, maximumWidth, "")
added 628 characters in body
Source Link
lewis
  • 1.5k
  • 10
  • 18

ESRI has a collapse dual carriageway to centerline tool. You can get a cheap version for use with OSM. Otherwise you could select features and save as a new layer. Deleted selected from layer you used for export. Buffer feature within range of one side of the carriageway that includes the second lane. Merge shapefile with original, connect up any broken topology. If you can code and or script you could average a centerline between lanes on a node by seg by node matching and output a centerline programaticaly and then programaticaly deleted selected features used for the production process, check and fix broken topology, and your done. I found a arcpy code sample I am including, how to find the link is below in comments.

attributed to ESRI ARCGis Help

Name: CollapseDualLinesToCenterline_Example.py

Description: Creates street centerlines from a street casing coverage.

Requirements: ArcInfo Workstation

Import system modules

import arcpy from arcpy import env

Set environment settings

env.workspace = "C:/data"

Set local variables

inCover = "streets" outCover = "C:/output/centerlines" maximumWidth = 50

Execute CollapseDualLinesToCenterline

arcpy.CollapseDualLinesToCenterline_arc(inCover, outCover, maximumWidth, "")

ESRI has a collapse dual carriageway to centerline tool. You can get a cheap version for use with OSM. Otherwise you could select features and save as a new layer. Deleted selected from layer you used for export. Buffer feature within range of one side of the carriageway that includes the second lane. Merge shapefile with original, connect up any broken topology. If you can code and or script you could average a centerline between lanes on a node by seg by node matching and output a centerline programaticaly and then programaticaly deleted selected features used for the production process, check and fix broken topology, and your done.

ESRI has a collapse dual carriageway to centerline tool. You can get a cheap version for use with OSM. Otherwise you could select features and save as a new layer. Deleted selected from layer you used for export. Buffer feature within range of one side of the carriageway that includes the second lane. Merge shapefile with original, connect up any broken topology. If you can code and or script you could average a centerline between lanes on a node by seg by node matching and output a centerline programaticaly and then programaticaly deleted selected features used for the production process, check and fix broken topology, and your done. I found a arcpy code sample I am including, how to find the link is below in comments.

attributed to ESRI ARCGis Help

Name: CollapseDualLinesToCenterline_Example.py

Description: Creates street centerlines from a street casing coverage.

Requirements: ArcInfo Workstation

Import system modules

import arcpy from arcpy import env

Set environment settings

env.workspace = "C:/data"

Set local variables

inCover = "streets" outCover = "C:/output/centerlines" maximumWidth = 50

Execute CollapseDualLinesToCenterline

arcpy.CollapseDualLinesToCenterline_arc(inCover, outCover, maximumWidth, "")

Source Link
lewis
  • 1.5k
  • 10
  • 18
Loading