[Tilesathome] subterran waterways and living_streets
Knut Arne Bjørndal
bob+osm at cakebox.net
Wed Feb 20 10:50:04 GMT 2008
On Sun, Feb 03, 2008 at 08:29:48PM +0100, Jannis Achstetter wrote:
> Knut Arne Bjørndal schrieb:
> > On Thu, Jan 24, 2008 at 07:48:46PM +0100, Jannis Achstetter wrote:
> > [...]
> >> Yes, I noticed that, but didn't know what to change. I tried several
> >> lincecap-styles and found "round" to fit best. The attached patch uses
> >> this now (apply to clean SVN-map-features files, not to ones already
> >> modified by the old patch).
> >
> > I tested it and the rendering still looks weird, the last part of every
> > street doesn't get the same dashing as the rest. I don't know enough
> > about css to understand why this happens, hopefully 80n has a clue...
> >
> >> Furthermore, this patch renders waterways (river, stream, canal and
> >> drain) dashed when they have tunnel = yes. This hasn't been tested very
> >> much by me but I've seen every version at every zoom-level at least once.
> >
> > In my quick test these looked to work just fine, if you split this out
> > in a separate patch I'd probably apply it after looking it over a
> > little more carefully.
> >
>
> I did some further render-testing and I came up with 3 versions now:
When debugging other stuff we found out stroke-dasharray and
smart-linecaps don't work together. Try adding smart-linecap='no' to
those rules that reference rules with dashings, and remember to add it
to both core and casing or beziercurving will break it.
--
Knut Arne Bjørndal
aka Bob Kåre
bob+osm at cakebox.net
bobkare at irc
More information about the Tilesathome
mailing list