Simple question, how do you create a symbol with or without representation to connect two lines with different line width so it looks good?

I need to have a smooth transition between the lines, otherwise I need to create a polygon (hard job).



ok so I tried the solution and it works, but I want it to be moore gradient like next link

https://docs.google.com/open?id=0B8sJ0k30rFr2NVdTTGpGbTBMT2c just for an example

we dont use outline and the round cap makes it looks like a half ball, maybe i will need to use a polygon to mask somehow

the problem is when one long straight line change symbology to much bigger width, and I want the transition to be like the third link, and when one line ends, i need it to be flat so i think i have to use polygon to mask and fill the transitions

  • What software are you using? – Aaron Jul 30 '12 at 12:20
  • 1
    Sometimes round line ends look slightly better than sharp squares, but that isn't entirely satisfactory sometimes. +1 for a good question. I wonder if it is possible to have tapered line ends for a smoother transition in some software? – Andy W Jul 30 '12 at 13:13
  • Can you clarify the problematic situation with a screenshot? It seems to me that symbol levels would solve this situation altogether. – Michael Markieta Jul 30 '12 at 13:32

Here I have used the Symbol Levels properties to draw the cartographic lines with casing at the bottom and fill at the top. The draw order is base 0, where 0 is the last item to be drawn. See screenshot:

You'll also want to check that line caps and joins are set to "round" in the Cartographic Line symbol properties. Do this for both layers, the casing and the fill.

This will produce correctly joined and drawn line symbols of variable widths:

See full size here.

  • 1
    I've been using silly workarounds for ages to achieve this. You're my hero. – nmpeterson Jul 30 '12 at 20:40
  • Glad I could help! – Michael Markieta Jul 31 '12 at 13:22
  • perfect! I will test and return if i cant achieve this :) – jonaktiv Aug 1 '12 at 13:36
  • Excellent simple solution +1. – Aaron Aug 1 '12 at 21:45

If the end product will be a static map (printed etc) you could do the final touch in Adobe Illustrator where you can set the stroke width of a line on different parts of a path.

Watch this example.

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.