Jump to content

 
Photo

centre line of road polygon

- - - - -

  • Please log in to reply
6 replies to this topic

#1
Gopal

Gopal

    Newbie

  • New Member
  • Pip
  • 3 posts
  • India

i am new in GIS, as i have road polygons and i want to make the centre line of each polygons. i dont know what i would do?could you help me

#2
Hans van der Maarel

Hans van der Maarel

    CartoTalk Editor-in-Chief

  • Admin
  • PipPipPipPipPipPipPip
  • 3,884 posts
  • Gender:Male
  • Location:The Netherlands
  • Interests:Cartography, GIS, history, popular science, music.
  • Netherlands

i am new in GIS, as i have road polygons and i want to make the centre line of each polygons. i dont know what i would do?could you help me


The CenterLineReplacer in FME does that, though it might get confused at complex intersections.
Hans van der Maarel - Cartotalk Editor
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics

#3
Matthew Hampton

Matthew Hampton

    Hall of Fame

  • Moderator
  • PipPipPipPipPipPipPip
  • 1,314 posts
  • Gender:Male
  • Location:Portland, Oregon
  • Interests:Playing in the mountains and rivers.
  • United States

i am new in GIS, as i have road polygons and i want to make the centre line of each polygons. i dont know what i would do?could you help me


If you are using ArcGIS try "Feature to Line" in the Data Management-->Features Toolbox.

co-cartographic creator of boringmaps.com


#4
E Nile

E Nile

    Contributor

  • Validated Member
  • PipPip
  • 22 posts
  • United States

As much as I dislike disagreeing with my colleague Mr. Hampton, I don't think the "Feature to Line" will work to create center lines.
I would suggest converting lines to points and then generate Thiessen polygons (ArcInfo license required). The resulting triangle form a line that is the center of the polygons.
Here is an example from a river, but it is the same technique.
Attached File  cl.jpg   209.16KB   66 downloads

#5
Gretchen Peterson

Gretchen Peterson

    Master Contributor

  • Validated Member
  • PipPipPipPip
  • 238 posts
  • United States

If you are using ArcGIS you could create an internal buffer, then convert those buffers to lines, then clip the lines using the original road polygons. In theory this sounds like it would work anyway. :)

#6
E Nile

E Nile

    Contributor

  • Validated Member
  • PipPip
  • 22 posts
  • United States

If you are using ArcGIS try "Feature to Line" in the Data Management-->Features Toolbox.


This used to work at version 9.X, but it doesn't with 'improved' functionality at version 10.

#7
Matthew Hampton

Matthew Hampton

    Hall of Fame

  • Moderator
  • PipPipPipPipPipPipPip
  • 1,314 posts
  • Gender:Male
  • Location:Portland, Oregon
  • Interests:Playing in the mountains and rivers.
  • United States

Palolo is correct. I hastily misread the post and my method will just produce a line from a polygon. Finding the centerline is a bit more complicated requiring the creation of thiessen (or voronoi) polygons.

If you are looking for a pushbutton solution I would get Ianko's ET-GeoWizards.

co-cartographic creator of boringmaps.com





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

-->