Hi,
I have a question, I have two layers (polyline) from which I created a buffer of polygon layers and by intersecting them I created another layer with an intersection and now I would like to use the new layer to find the parts in one polyline layer and edit the verticals in them.
I hope I explained it clearly 🙂
 I would like to edit the parts in red rectangles in that base layer. *Badly chosen place
Â
Â
Â
if (!(MapView.Active.Map.FindLayers("Z_Voda_L ").First() is FeatureLayer vodaLayer))
return;
if (!(MapView.Active.Map.FindLayers("Z_KomSilnice_L ").First() is FeatureLayer komLayer))
return;
await QueuedTask.Run(async () =>
{
string fileBufferVoda = @"D:\BufferVoda.shp";
object[] bufferParaVoda =
{vodaLayer, fileBufferVoda, "1 Meters", "FULL", "ROUND", "LIST", "", "PLANAR"};
await StartATask("analysis.Buffer", bufferParaVoda);
string fileBufferSilnice = @"D:\BufferSilnice.shp"; ;
object[] bufferParaSilnice =
{komLayer, fileBufferSilnice, "2 Meters", "FULL", "ROUND", "LIST", "", "PLANAR"};
await StartATask("analysis.Buffer", bufferParaSilnice);
string output = @"D:\PairwiseIntersect.shp";
string silnice = "BufferSilnice";
string voda = "BufferVoda";
FeatureLayer bufferSilnice = MapView.Active.Map.FindLayers(silnice).First() as FeatureLayer;
FeatureLayer bufferVoda = MapView.Active.Map.FindLayers(voda).First() as FeatureLayer;
object[] inputFields = { bufferVoda + ";" +bufferSilnice };
object[] parametrPair =
{inputFields, output , "ALL", "", "INPUT"};
await StartATask("analysis.PairwiseIntersect", parametrPair);
});Â
Â
Â
EDIT:

Â
Â
Thanks for your advice and tips.
Â
David