Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

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

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

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

openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: bengibollen
[Submitted to the original trac issue database at 2.50pm, Monday, 2nd February 2009]

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.

@openstreetmap-trac
Copy link
Author

Author: bob[at]cakebox.net
[Added to the original trac issue at 11.39pm, Saturday, 21st March 2009]

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

@openstreetmap-trac
Copy link
Author

Author: Vid the Kid
[Added to the original trac issue at 9.33am, Thursday, 30th July 2009]

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.

  2. 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

  3. 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.

@openstreetmap-trac
Copy link
Author

Author: iandees
[Added to the original trac issue at 9.10pm, Monday, 9th September 2013]

Cleaning aging tickets.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant