I have a continuous line which represents the watercourse and I would like to color the parts that pass through pipes.

I would like to color differently the part that is between two selected vertices, knowing that the part is not segmented and it should not be segmented because the line constitutes a single attribute.

Screenshot of data


You cannot colour individual segments within a single polyline. You don't state your license level, you should always say that as that dictates the solution. If you have an Advanced license then you could use the Split Line At Vertices tool to create a new layer of polylines composed of segments, delete the ones you do not need and then colour the remaining up at pipe sections?

  • Thanks for your response. I can't split the watercourse because the attribute table gives the exact length of the watercourse. The vertices you saw in the previous image are from the vertex edit tool in an editing session. The watercourse contains no vertex. I use ArcGis 10.3 with a professional license. – Loubna barra Jun 28 '17 at 14:05
  • I think that you could still split the feature(s) and summarize the length based on a field that identifies an individual watercourse. – jbchurchill Jun 28 '17 at 14:56

I have an idea that meat be helpful for you. The first thing is to add anther name column into the Attribute Table enter image description here Then use the "split features" to split the area you need to be paintedenter image description here Go back to the Attribute Table and right done a name in the area you need to be paint separately enter image description here. The change the symbolizing in the style layer into categorized and choose the name of your new column. Now click Classify and choose the color you need for each named section.enter image description here

  • I did what you suggested and I have seen that the length has not changed but the problem is that the number of attributes will increase and this will cause problem when I would publish the map for the general public and when people select a spesific watercourse, it will be just a part of a spesific watercourse and not the totaly. – Loubna barra Jun 29 '17 at 8:21
  • The length is not supposed to change. It is still the same line but with marked area. Can you add some print screen so we can see what going on? I don't understand why it is a problem to have more row, the public is not exposed to the Attribute Table. – Nitzan Matan Jun 29 '17 at 12:41

First, I have one selected attribute. enter image description here

After, I did what you told me before with the split tool:

enter image description here

When I select the attribute it's just only a part not the totality of the watercourse.

enter image description here

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.