Opened 11 years ago

Closed 7 years ago

#1552 closed enhancement (wontfix)

Area border lines on inside. (Probably possible in SVG!)

Reported by: bengibollen Owned by: osm@…
Priority: minor Milestone:
Component: osmarender Version:
Keywords: Cc:


Areas with border lines should draw the border on the "inside". When zoomed out, small areas appear larger or small details in an area get smudged. A lake loses its small islands if they are a part of a multipolygon for example.

Change History (3)

comment:1 Changed 11 years ago by Knut Arne Bjørndal

Priority: majorminor

I don't think this is possible in SVG. I'd love to be proved wrong though :)

comment:2 Changed 11 years ago by Vid the Kid

Summary: Area border lines on inside.Area border lines on inside. (Probably possible in SVG!)

I think this is possible, though a little bit of trickery is involved.

  1. define a path with no rendering style, in the shape of the area.
  1. have an object whose shape is a reference to the path in the previous step, with the desired rendering style, except line-width should be twice the intended result
  1. give that object a clip-path which again references the path in the previous step.

It's been a while since I've read the SVG spec so my terminology may be a bit off, but I think this should make sense.

comment:3 Changed 7 years ago by iandees

Resolution: wontfix
Status: newclosed

Cleaning aging tickets.

Note: See TracTickets for help on using tickets.