[OSM-talk] Getting highway refs onto the mapnik slippy map layer

Dave Stubbs osm.list at randomjunk.co.uk
Fri Oct 5 10:58:06 BST 2007


On 05/10/2007, Andy Allan <gravitystorm at gmail.com> wrote:
> On 10/5/07, Tom Hughes <tom at compton.nu> wrote:
> > In message <c4193f8c0710041624s6cca4700h871cb616fa0bf294 at mail.gmail.com>
> >           "Andy Allan" <gravitystorm at gmail.com> wrote:
> >
> > > On 10/4/07, Tom Hughes <tom at compton.nu> wrote:
> > >
> > > > I was going to fix this the other day, but I couldn't find the source
> > > > for the shield images to produce new ones in different colours.
> > >
> > > I just took the existing motorway shield and filled with different
> > > colours for the cycle shields. Works well enough for me.
> > >
> > > http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/motorway_shield.png
> >
> > Is it a solid fill that can be easily replaced like that? I thought it
> > was a graduated fill...
>
> Well yes, but bodgybodgybodgebodge works for me, and that's why all
> the shields on the cycle map have the motorway blue border, and only
> the solid white fill replaced. You can barely spot the 1px blue-white
> blending on the inside of the border.
>
> (If you do find an svg source or similar, let me know!)


Unless I'm missing something very important here: it's a rectangle?

Here's an SVG I just made in inkscape... consider it PD.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rectangle.png
Type: image/png
Size: 443 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20071005/a7a67a14/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rectangle.svg
Type: image/svg+xml
Size: 2844 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20071005/a7a67a14/attachment.svg>


More information about the talk mailing list