Select to view content in your preferred language

Polygon To Centerline... doesn't produce a centered line? (issue reporting)

784
3
08-01-2023 04:24 AM
Arnaud_IGN
Emerging Contributor

Hi,

It seems the tool doesn't create a centered line as expected, but a smoothed version of it.

See picture:

centerline01.PNG

The polygon outlines are purple, the "centered" line is orange. As you can see, the orange line crosses the outline.

If this is the result of the centered line being smoothed by the tool, could it be possible to add an option that would bypass that softening and maintain a "true" centered line?

 
 
 
 
 
 
 
 
0 Kudos
3 Replies
DanHopkins
Esri Contributor

Hi Arnaud_IGN,

Please make a copy of the polygon feature class and then run the Densify tool on the copy. Then run the Polygon To Centerline tool. Does the result improve?

Regards,

Dan

Arnaud_IGN
Emerging Contributor

Hi Dan,

Thanks for the quick answer!

It does improve a bit:

centerline02.PNG

For my use, it does add 3 steps to an already lengthy iterating script and it is still not centered so I think I'll go for a workaround, it'll be safer that way. That orange line cannot in any case cross a purple.

Thanks anyway!

Arnaud

 
0 Kudos
DanHopkins
Esri Contributor

Hi Arnaud_IGN,

Thank you for your response and feedback.

Can you please provide the geometry?

Regards,

Dan

0 Kudos