I have some long linear polygons that I'd rather store as lines but I'm not sure how best to do this. Ideally I'd have a line going through the centre of the polygon lengthways. I have two ideas of how to do this but I'm not sure how to implement them or to what extent they're possible. Perhaps there's already a tool out there that does this?

option one: 1. convert polygon to points at vertices 2. identify the two points furthest apart in each feature. I can do this in point distance but I'm not sure how to automate it 3. mask the area outside the polygon 4. run a cost path between the two points

option two: 1. convert polygon to points at vertices 2. Create theissen polygons around the points 3.(somehow) save the line along the middle between the theissen polygons?

Does anyone know how I can make either of these methods work or if there is an easier method. My Python is weak so I was going to try it in model builder but if I needs Python I can give it a go


Download the ET Geowizards toolbox (Free) and use the createCenterlines tool. I think that should do the trick.

enter image description here

  • worked a treat! Dec 2 '13 at 15:13
  • 5
    Highly Recommend GeoWizards - has saved many, many hours in ArcGIS/Geoprocessing work.
    – Mapperz
    Dec 2 '13 at 15:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.