Select to view content in your preferred language

Draw arc line Offset problem in Arcgis pro sdk

1059
2
12-01-2017 03:02 AM
tanerkoka
Frequent Contributor

Hi,

I have a problem with offset method. I create a polyline(I use arc segment like photo 1) with construction tool and I use offset methods like picture. 

If I set offset type as round, there are a lot of vertex in offset line. (photo 2)
If I set offset type as miter, there are a lot of segments in offset line.(photo 2)

Normaly drawn arc line  has 3 vartex but offset arc line has lot of vartex. How can we solve this important problem in sdk side ?

photo1

photo 1

photo2

photo2

Thanks.

0 Kudos
2 Replies
AnnetteLocke
Esri Contributor

Hi,

The output geometry is a linear approximation when the input geometry has curves, so that is why you see the extra vertices. However, the case you present with OffsetType.Miter shouldn't have those extra segments. This will be fixed in the next release. 

Thanks for pointing out the issue. Let me know if you have any questions.

Annette

tanerkoka
Frequent Contributor

Hi Annete,

Thanks for answering. How can we solve this problem until the release new version,or are there any alternative way to offset  up to the number of vartex like imput arc line .

Best Regards 

Taner 

0 Kudos